mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 10:50:29 +00:00
Allow downloading wheels for metadata with --no-binary (#5707)
## Summary We allow the use of (e.g.) `.whl.metadata` files when `--no-binary` is enabled, so it makes sense that we'd also also allow wheels to be downloaded for metadata extraction. So now, we validate `--no-binary` at install time, rather than metadata-fetch time. Closes https://github.com/astral-sh/uv/issues/5699.
This commit is contained in:
parent
3b75d8b6d6
commit
9346946c7f
6 changed files with 48 additions and 19 deletions
|
|
@ -249,6 +249,7 @@ impl<'a> BuildContext for BuildDispatch<'a> {
|
|||
self.cache,
|
||||
tags,
|
||||
&HashStrategy::None,
|
||||
self.build_options,
|
||||
DistributionDatabase::new(
|
||||
self.client,
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue