Skip to content

Avoid propagating top-level options to sub-resolutions#1607

Merged
charliermarsh merged 1 commit intomainfrom
charlie/rec
Feb 17, 2024
Merged

Avoid propagating top-level options to sub-resolutions#1607
charliermarsh merged 1 commit intomainfrom
charlie/rec

Conversation

@charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Feb 17, 2024

Summary

It's incorrect to pass the resolution and dependency mode down to the BuildDispatch, since it means that we'll use --no-deps when building source distributions. If you set resolution to lowest, it also means we end up using (e.g.) the lowest version of wheel, which also doesn't make sense.

It's fine to pass --exclude-newer.

Closes #1355.

Closes #1563.

@charliermarsh charliermarsh force-pushed the charlie/rec branch 4 times, most recently from 1c0beee to 18156f8 Compare February 17, 2024 18:48
@charliermarsh charliermarsh enabled auto-merge (squash) February 17, 2024 18:48
@charliermarsh charliermarsh added the bug Something isn't working label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uv pip install gets stuck combining --resolution=lowest-direct and --upgrade flags Fails uv pip install --no-deps -e . missing module pathspec

1 participant