Skip to content
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

Fix direct preference in PipProvider.get_preference #13244

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

notatallshaw
Copy link
Member

Fixes #12975
Also see #13164 for real world impact with a reproducible example that is fixed by this PR.

Most of the effort in this PR is extending the unit tests to include testing a requirement with an ExplicitRequirement, probably there was a simpler way to do this, I intend to keep extending and improving the unit tests in following PRs.

@notatallshaw
Copy link
Member Author

Merged main and simplified new test construction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

direct preference in resolution doesn't work
1 participant