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:
parent
9d47424fc1
commit
946de07d47
2 changed files with 8 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Runtime dependencies (mirrors [project.dependencies] in pyproject.toml).
|
||||
# Provided for users who want to verify/install dependencies without pip's
|
||||
# PEP 517 build isolation, e.g. `pip install -r requirements.txt`.
|
||||
requests>=2.31,<3
|
||||
# Runtime install. pyproject.toml is the single source of truth for
|
||||
# dependencies; this file just installs the package (and thus its declared
|
||||
# runtime dependencies) so `pip install -r requirements.txt` keeps working.
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue