chore: Use dependency-groups in pyproject.toml#747
Open
rumpelsepp wants to merge 1 commit into
Open
Conversation
My tests repeatedly failed due to the definition of development dev-dependencies as optional-dependencies. In the meanwhile, pip merged the support for dependency-groups in February, 2025. pypa/pip@e930fee pip 25.1 is the first version containing this feature. Debian Trixie ships a recent enough pip via apt: https://packages.debian.org/de/trixie/python3-pip Ubuntu 25.10 ships a recent enough pip. https://packages.ubuntu.com/questing/python3-pip However, pip can just install itself for the current user using `pipx`: ``` $ pipx install pip ``` `pipx` is available in the Debian and Ubuntu package sources. https://packages.debian.org/sid/pipx https://packages.ubuntu.com/plucky/pipx Nevertheless, using `uv` for development is better in any case, since it provides dependency pinning out-of-the-box.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
My tests repeatedly failed due to the definition of development
dev-dependencies as optional-dependencies. In the meanwhile, pip merged
the support for dependency-groups in February, 2025.
pypa/pip@e930fee
pip 25.1 is the first version containing this feature.
Debian Trixie ships a recent enough pip via apt:
https://packages.debian.org/de/trixie/python3-pip
Ubuntu 25.10 ships a recent enough pip.
https://packages.ubuntu.com/questing/python3-pip
However, pip can just install itself for the current user using
pipx:pipxis available in the Debian and Ubuntu package sources.https://packages.debian.org/sid/pipx
https://packages.ubuntu.com/plucky/pipx
Nevertheless, using
uvfor development is better in any case, since itprovides dependency pinning out-of-the-box.