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>
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[project]
|
|
name = "politrack"
|
|
version = "0.2.0"
|
|
description = "Evidence-backed tracking of Austrian politicians and parties"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.30",
|
|
"psycopg[binary,pool]>=3.2",
|
|
"pydantic>=2.8",
|
|
"pydantic-settings>=2.4",
|
|
"httpx>=0.27",
|
|
"protego>=0.3",
|
|
"feedparser>=6.0",
|
|
"beautifulsoup4>=4.12",
|
|
"openpyxl>=3.1",
|
|
"python-slugify>=8.0",
|
|
"rapidfuzz>=3.9",
|
|
"procrastinate>=2.14,<4",
|
|
"croniter>=2.0",
|
|
"typer>=0.12",
|
|
"pyyaml>=6.0",
|
|
"mcp>=1.9,<2",
|
|
]
|
|
|
|
# Third-party adapters register themselves here, e.g. in another package's pyproject:
|
|
# [project.entry-points."politrack.adapters"]
|
|
# my_source = "my_package.my_module"
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "ruff>=0.6"]
|
|
|
|
[project.scripts]
|
|
politrack = "politrack.cli:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["politrack"]
|
|
|
|
[tool.ruff]
|
|
line-length = 110
|
|
target-version = "py312"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|