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: allow wildcards in ambiguos specifiers #41

Merged

Conversation

baszalmstra
Copy link
Contributor

Sometimes metadata contains specifiers like >=3.5.*. This is ambiguous because it either means 3.5.* or >=3.5. The former is more restrictive than the latter but most likely one means the latter. This PR adds a boolean that allows a user to specify whether this should result in an error or whether the least restrictive bound should be chosen. With this PR the resolver chooses the least restrictive bound.

Fix #38

Sometimes metadata contains specifiers like `>=3.5.*`. This is ambiguous
because it either means `3.5.*` or `>=3.5`. The former is more
restrictive than the latter but most likely one means the latter. This
PR adds a boolean that allows a user to specify whether this should
result in an error or whether the least restrictive bound should be
chosen. With this PR the resolver chooses the least restrictive bound.
@wolfv wolfv merged commit e70ac29 into prefix-dev:main Oct 4, 2023
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.

Rip panics trying to resolve spec "ntlk"
2 participants