mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 14:31:12 +00:00
Allow local versions in wheel filenames (#3596)
## Summary Closes https://github.com/astral-sh/uv/issues/3594. ## Test Plan `cargo run pip install --verbose https://github.com/Dao-AILab/flash-attention/releases/download/v2.5.8/flash_attn-2.5.8+cu122torch2.3cxx11abiFALSE-cp310-cp310-linux_x86_64.whl --no-deps`
This commit is contained in:
parent
8971944a01
commit
c598f86476
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ pub fn install_wheel(
|
|||
}
|
||||
|
||||
let version = Version::from_str(&version)?;
|
||||
if version != filename.version {
|
||||
if version != filename.version && version != filename.version.clone().without_local() {
|
||||
return Err(Error::MismatchedVersion(version, filename.version.clone()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue