mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-21 19:14:12 +00:00
![]() ## Summary This PR productionizes an idea I saw in https://github.com/astral-sh/uv/issues/15248, which was added in Pixi: https://github.com/prefix-dev/pixi/pull/4247. The core of the idea is that if we install all build isolation-enabled packages first, and the build isolation-disabled packages in a second phase, the sync is more likely to "just work", because if all the build dependencies of the build isolation-disabled packages are included as dependencies (as is the case for `flash-attn`, at least), they'll be present. This isn't really a silver bullet, because it requires that all the build dependencies are included as first-party dependencies, and if you have packages that want build isolation to be disabled but rely on other packages that also require build isolation disabled, that won't work either. I think `extra-build-dependencies` will be more robust and have much better caching behavior, but this will get more cases right than our current behavior, and I don't see any downsides. Closes https://github.com/astral-sh/uv/issues/15301. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |