Every daily and weekly source missed two days in November 2026: Procrastinate skips a periodic slot that is more than ten minutes overdue, and jobs of killed workers stayed "doing" forever. Every ten minutes the watchdog fails jobs of dead workers, closes abandoned run records and defers any scheduled task whose last slot passed without a run. Also: EP vote references of joint motions and Council documents, and the loader now refreshes a vote's reference and stage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.4 KiB
Docker
25 lines
1.4 KiB
Docker
# The Python dependencies from Debian packages, for networks where PyPI is unreachable. Lacks
|
|
# procrastinate and mcp (not packaged in Debian), so it runs the test suite and adapters, not the
|
|
# workers or the MCP server; ruff isn't packaged either.
|
|
#
|
|
# Two images share this package list; keep it in step with backend/pyproject.toml:
|
|
# - the test image, the default target: docs/contributing/testing.md ("Without PyPI access");
|
|
# - the agent sandbox image, target `sandbox` with BASE set to the agent-envs agent image, which
|
|
# agent-envs builds from this checkout: docs/contributing/agents.md.
|
|
ARG BASE=debian:trixie-slim
|
|
FROM ${BASE} AS deps
|
|
# eatmydata skips dpkg's disk syncs, which crawl on some Docker Desktop disks.
|
|
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends eatmydata >/dev/null \
|
|
&& eatmydata apt-get install -y -qq --no-install-recommends \
|
|
python3 python3-psycopg python3-psycopg-pool python3-pydantic-settings python3-fastapi python3-httpx \
|
|
python3-protego python3-feedparser python3-bs4 python3-slugify python3-rapidfuzz python3-typer \
|
|
python3-yaml python3-uvicorn python3-pytest python3-openpyxl python3-croniter ca-certificates >/dev/null \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Keeps the agent image's user, entrypoint and /workspace as they are.
|
|
FROM deps AS sandbox
|
|
|
|
FROM deps AS test
|
|
WORKDIR /app
|
|
ENV PYTHONPATH=/app PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1
|