Skip to content

Conversation

@LincolnPuzey
Copy link
Collaborator

@LincolnPuzey LincolnPuzey commented Sep 1, 2025

Groups can be installed with pip, e.g. pip install --group dev,
or in tox with the https://tox.wiki/en/stable/config.html#dependency_groups option.

The main benefits of this are:

  • groups can be selectively installed in CI, rather than everything being installed.
  • the [dev] extra is no longer part of the published package metadata, and won't appear in poetry/uv lockfiles of projects that use dramatiq. (technically a breaking change)

See https://packaging.python.org/en/latest/specifications/dependency-groups/

The main benefits of this are:
* groups can be selectively installed in CI, rather than everything being installed.
* the [dev] extra is no longer part of the published package metadata, and won't appear in poetry/uv lockfiles.

See https://packaging.python.org/en/latest/specifications/dependency-groups/
@LincolnPuzey LincolnPuzey added this to the v2.0.0 milestone Sep 1, 2025
@LincolnPuzey LincolnPuzey merged commit 0e3578b into Bogdanp:master Sep 18, 2025
@LincolnPuzey LincolnPuzey deleted the use_dependency_groups branch September 18, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant