uv/crates/uv
Charlie Marsh cccb6820db
Avoid reusing incompatible distributions across lock and sync (#5845)
## Summary

We need to avoid using incompatible versions for build dependencies that
are also part of the resolved
environment. This is a very subtle issue, but: when locking, we don't
enforce platform
compatibility. So, if we reuse the resolver state to install, and the
install itself has to
preform a resolution (e.g., for the build dependencies of a source
distribution), that
resolution may choose incompatible versions.

The key property here is that there's a shared package between the build
dependencies and the
project dependencies.

Closes https://github.com/astral-sh/uv/issues/5836.
2024-08-07 00:54:51 +00:00
..
src Avoid reusing incompatible distributions across lock and sync (#5845) 2024-08-07 00:54:51 +00:00
tests Avoid reusing incompatible distributions across lock and sync (#5845) 2024-08-07 00:54:51 +00:00
Cargo.toml Bump version to 0.2.33 (#5712) 2024-08-01 21:39:17 +00:00