build: make pyproject the single source of dependency truth

requirements.txt / requirements-dev.txt used to duplicate the dependency
pins from pyproject.toml by hand, which can silently drift. Point them at
the package itself (`.` and `-e .[dev]`) so the pins live in exactly one
place; `pip install -r requirements*.txt` keeps working.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-07-07 10:36:00 +02:00
commit 946de07d47
2 changed files with 8 additions and 11 deletions

View file

@ -1,7 +1,4 @@
# Development/test dependencies (mirrors [project.optional-dependencies].dev
# in pyproject.toml).
-r requirements.txt
pytest>=7.4
ruff>=0.6
mypy>=1.11
types-requests
# Development install. Editable package plus the [dev] extra (pytest, ruff,
# mypy, ...). pyproject.toml remains the single source of truth; there is no
# manual dependency mirror to keep in sync.
-e .[dev]