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: use two in memory indexes, for resolve and builds #1969

Merged
merged 10 commits into from
Sep 3, 2024

Conversation

tdejager
Copy link
Contributor

@tdejager tdejager commented Sep 3, 2024

This PR makes the resolver use two memory indexes, one for the resolution process and one for the potential building of wheels. Even though uv uses different internal revolvers it was sometimes still getting data that was overridden by us during wheel builds, which was unexpected.

This was cropping up in issues like #1686. We've made a minimal version of the lock file where this problem was occuring. And added that as a test.

Fixes #1686

@tdejager tdejager marked this pull request as draft September 3, 2024 09:19
@tdejager
Copy link
Contributor Author

tdejager commented Sep 3, 2024

Seems to be some other problem cropping up, converting into draft.

@tdejager tdejager marked this pull request as ready for review September 3, 2024 09:46
@tdejager
Copy link
Contributor Author

tdejager commented Sep 3, 2024

Seemed to be a corrupted cargo git cache, never had that one before.. Back to undrafting.

Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nitpick

tests/install_tests.rs Outdated Show resolved Hide resolved
@baszalmstra
Copy link
Contributor

I fixed these failing tests in #1973 as well.

@tdejager tdejager merged commit b114912 into prefix-dev:main Sep 3, 2024
28 checks passed
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.

Sudden "failed to resolve pypi dependencies" on WSL2
3 participants