pip-tools does not yet support Dependency Groups, but it is
in their tracker. Therefore, a small amount of shimming is needed to
apply it here.
Move the dependency groups from requirements/*.in files to
[dependency-groups] in pyproject.toml
Add a tox environment (freezedeps-print) which installs
dependency-groups (the package) and uses it to print dependency
groups to new .<name>.in files, hidden and gitignored
Feed those files into pip-compile as before
Finally, run tox r -m freezedeps to confirm that the result works.
pip-tools
does not yet support Dependency Groups, but it is in their tracker. Therefore, a small amount of shimming is needed to apply it here.requirements/*.in
files to[dependency-groups]
in pyproject.tomlfreezedeps-print
) which installsdependency-groups
(the package) and uses it to print dependency groups to new.<name>.in
files, hidden and gitignoredpip-compile
as beforeFinally, run
tox r -m freezedeps
to confirm that the result works.📚 Documentation preview 📚: https://globus-sdk-python--1089.org.readthedocs.build/en/1089/