Skip to content

Commit

Permalink
Allow local versions in wheel filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 14, 2024
1 parent 8971944 commit 256b501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/install-wheel-rs/src/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}
Expand Down

0 comments on commit 256b501

Please sign in to comment.