Skip to content

Commit

Permalink
Canonicalize venv for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Sep 23, 2023
1 parent 5f2f374 commit 6b9b96b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/install-wheel-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ pub fn install_wheel_in_venv(
major: u8,
minor: u8,
) -> Result<String, WheelInstallerError> {
let venv_base = venv.canonicalize()?;
let install_location = InstallLocation::Venv {
venv_base: venv.to_path_buf(),
venv_base,
python_version: (major, minor),
};
let locked_dir = install_location.acquire_lock()?;
Expand Down

0 comments on commit 6b9b96b

Please sign in to comment.