Dependencies are separated by purpose:
- Core project dependencies are managed in
/pyproject.toml
. - Isolated closure dependencies (i.e. "test" or "docs")
are managed in
pyproject.toml
files in/requirements/
subdirectories.
This isolates resolution of project and development dependency versions.
The command below will update all dependencies, including pre-commit hook versions:
tox -m update
You can edit the desired pyproject.toml
file manually,
or run a command at the root of the repository like:
poetry add --lock --directory requirements/$CLOSURE "$PACKAGE==*"
After modifying the pyproject.toml
file, run:
tox -m update