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

Expose different uv index resolution strategies #1377

Closed
tdejager opened this issue May 13, 2024 · 3 comments · Fixed by #1986
Closed

Expose different uv index resolution strategies #1377

tdejager opened this issue May 13, 2024 · 3 comments · Fixed by #1986
Labels
🐍 pypi Issue related to PyPI dependencies ✨ enhancement Feature request 👋 good first issue Good for newcomers

Comments

@tdejager
Copy link
Contributor

Problem description

UV currently support different index resolution strategies, see this: astral-sh/uv@main/PIP_COMPATIBILITY.md#packages-that-exist-on-multiple-indexes

Pixi currently supports the default option, which is similar to strict index priority in conda.
For some users, this has proved too limiting: #1373

I propose having this option exposed through the [pypi-options] table, this would be an exclusive option per solve-group/environment.

@olivier-lacroix
Copy link
Contributor

It is available under uv's PipOptions

@abazabaaa
Copy link

abazabaaa commented Aug 22, 2024

Has this feature been enabled? This is a significant issue for me and a project I am working with. Would really love to have the option exposed! : )

@tdejager
Copy link
Contributor Author

Not yet, planning to do this next week.

tdejager added a commit that referenced this issue Sep 10, 2024
This PR enables to set the UV `index-strategy` from pixi.

closes: #1377

---------

Co-authored-by: Bas Zalmstra <[email protected]>
Co-authored-by: Bas Zalmstra <[email protected]>
Co-authored-by: Hofer-Julian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐍 pypi Issue related to PyPI dependencies ✨ enhancement Feature request 👋 good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants