Skip to content

chore: Use dependency-groups in pyproject.toml#747

Open
rumpelsepp wants to merge 1 commit into
masterfrom
pip
Open

chore: Use dependency-groups in pyproject.toml#747
rumpelsepp wants to merge 1 commit into
masterfrom
pip

Conversation

@rumpelsepp

Copy link
Copy Markdown
Member

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.

@rumpelsepp rumpelsepp requested a review from peckto as a code owner August 19, 2025 09:19
@rumpelsepp rumpelsepp added the enhancement New feature or request label Oct 17, 2025
@rumpelsepp rumpelsepp modified the milestones: gallia 2.1, gallia later Oct 17, 2025
@rumpelsepp rumpelsepp linked an issue Oct 17, 2025 that may be closed by this pull request
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revert 7394434 once pip is ready

1 participant