Skip to content

Add --no-sources-package #14910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add --no-sources-package #14910

wants to merge 4 commits into from

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jul 25, 2025

I needed this for a test, e.g., to disable a source for an extra build dependency without disabling the source for a workspace member, and had also seen some requests for it. I think it makes sense to allow this.

The refactor is fairly mechanical, we go from SourceStrategy::Enabled|Disabled to NoSources::All|None|Package(names) as we do for other options like NoBinary.

@zanieb zanieb added the cli Related to the command line interface label Jul 25, 2025
@zanieb zanieb force-pushed the zb/no-sources-package branch 2 times, most recently from d2676f6 to cc12ce5 Compare July 25, 2025 21:53
@zanieb zanieb temporarily deployed to uv-test-registries July 25, 2025 21:56 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/no-sources-package branch from cc12ce5 to d217468 Compare July 25, 2025 22:04
@zanieb zanieb temporarily deployed to uv-test-registries July 25, 2025 22:06 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/no-sources-package branch from d217468 to ad82433 Compare July 25, 2025 22:49
@zanieb zanieb temporarily deployed to uv-test-registries July 25, 2025 22:51 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries July 28, 2025 16:57 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish July 28, 2025 16:58 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries July 31, 2025 12:36 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant