Skip to content

feat(uv): support test-only Python packages - #1469

Draft
zbarsky-openai wants to merge 1 commit into
aspect-build:mainfrom
zbarsky-openai:codex/testonly-python-packages
Draft

zbarsky-openai wants to merge 1 commit into
aspect-build:mainfrom
zbarsky-openai:codex/testonly-python-packages

Conversation

@zbarsky-openai

Copy link
Copy Markdown
Contributor

Allow uv.override_package(..., testonly = True) to attach test-only
dependencies or data to a resolved wheel without violating Bazel's
test-only dependency boundary.

Propagate the restriction through wheel installation, generated
dependency groups, project aliases, public hub aliases, and packages
that depend on the marked package. Keep raw wheel targets unrestricted
and distinguish test-only installs from production installs during
cross-project deduplication.

Document the new override and exercise a patched package carrying
test-only data through both standard and exposed-virtualenv tests.
Existing generated-repository snapshots remain unchanged for packages
without the override.

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9606ea83-61c4-470c-8ac7-e168d2d4043a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@jbedard
jbedard force-pushed the main branch 2 times, most recently from b25e5ec to 25d3b44 Compare August 25, 2026 18:24
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