bazel-contrib / bazel-contrib/rules_python

Support `extras` and `dependency_groups` in the PEP508 env marker evaluation

Open
#2,786 0 comments 0 reactions 0 assignees View on GitHub
type: pip
Dominant language
Starlark
Stars
688
Forks
721
Avg merge
15h 7m
Merged PRs (30d)
76

Description

Similar to what https://github.com/pypa/packaging/issues/885 has done.

We should have support for that to better integrate with other lock formats (if necessary).

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked packaging issue, then locate this repository’s PEP 508 environment-marker evaluation entry point. Determine how `extras` and `dependency_groups` should be recognized for lock-format integration, and add coverage for the supported marker cases. Done means those markers evaluate correctly without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.