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

Uv index strategy respect env var; issue #3410 #3411

Closed

Conversation

Gvgeorge
Copy link
Contributor

@Gvgeorge Gvgeorge commented Mar 4, 2025

Pull Request Checklist

  • [ x] A news fragment is added in news/ describing what is new.
  • [ x] Test cases added for changed code.

Describe what you have changed in this PR.

When use_uv = True will try to choose index-strategy for uv based on UV_INDEX_STRATEGY environments variable;
if this variable isn't set will default to existing strategy which is "unsafe-first-match"
if resolution.respect-source-order is set to True in pyproject.toml and "unsafe-best-match" otherwise

@frostming frostming closed this Mar 10, 2025
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.

2 participants