Ban --no-cache with --link-mode=symlink (#5519)

## Summary

Closes https://github.com/astral-sh/uv/issues/5360.
This commit is contained in:
Charlie Marsh 2024-07-28 15:01:17 -04:00 committed by GitHub
parent 4b4128446d
commit b0c841ee3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 76 additions and 7 deletions

View file

@ -288,6 +288,7 @@ impl<'a> BuildContext for BuildDispatch<'a> {
);
wheels = Installer::new(venv)
.with_link_mode(self.link_mode)
.with_cache(self.cache)
.install(wheels)
.await
.context("Failed to install build dependencies")?;