Skip to content

feat(pypi): collect the extras of the selected dependency groups - #47

Draft
aignas wants to merge 1 commit into
feat.aignas.extras-edges-05-warn-missing-depsfrom
feat.aignas.extras-edges-06-dependency-group-extras
Draft

aignas wants to merge 1 commit into
feat.aignas.extras-edges-05-warn-missing-depsfrom
feat.aignas.extras-edges-06-dependency-group-extras

Conversation

@aignas

@aignas aignas commented Nov 22, 2026

Copy link
Copy Markdown
Owner

The requirements in the pyproject.toml dependency groups can request
extras, e.g. requests[socks]. select_dependency_groups now returns
the extras of the selected requirements keyed by the environment
markers that all need to be true, including the markers of the self
references that select a group, and the extras of all of the groups
when everything is selected. Nothing uses them yet.

Part of #41. Based on the previous PR of the stack.

Work towards bazel-contrib#2786

The requirements in the pyproject.toml dependency groups can request
extras, e.g. requests[socks]. select_dependency_groups now returns them
keyed by the environment markers that need to be true for the extra to
be requested, including the markers of the self references that select
a group. Nothing uses them yet.

Work towards bazel-contrib#2786
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