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

feat: upgrade uv to 0.5.29 #3075

Merged
merged 8 commits into from
Feb 10, 2025
Merged

Conversation

tdejager
Copy link
Contributor

@tdejager tdejager commented Feb 6, 2025

This PR upgrades the uv version to 0.5.29. There have been some internal API changes, so I had to adapt to that mainly. But I believe most behavior should stay the same.

The biggest changes:

  • Introduction of SharedState, this should solve the problem of us having to maintain a seperate InMemoryIndex as there is now a fork method. We can also look at sharing a GitResolver, between the solve and the install.
  • BuildDispatch now has his own error methods, which helped us to be able to get rid of anyhow.
  • The Preparer which is the downloader and builder, during instalation now requires a Resolution, which helps with error derivations, which we do not always have in the installation. uv can also compute this from the lock but its a bit intense of a procedure to replicate for our lock-file, so I've just been using the default there.

Testing

I hope in this case CI will cover most of the things :)

@tdejager tdejager marked this pull request as ready for review February 7, 2025 14:46
@tdejager tdejager requested a review from baszalmstra February 7, 2025 15:14
@ruben-arts ruben-arts added the test:extra_slow Run the extra slow tests label Feb 10, 2025
@ruben-arts ruben-arts merged commit d55c3f5 into prefix-dev:main Feb 10, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test:extra_slow Run the extra slow tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants