From 3eedfc8ab63cc6243bcfbedcca68a742dcc33e24 Mon Sep 17 00:00:00 2001 From: konstin Date: Mon, 18 Dec 2023 09:38:08 +0100 Subject: [PATCH] Allow identical `VIRTUAL_ENV` and `CONDA_PREFIX` env vars Port of https://github.com/PyO3/maturin/pull/1879 for https://github.com/PyO3/maturin/issues/1878 --- crates/puffin-interpreter/src/virtual_env.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/puffin-interpreter/src/virtual_env.rs b/crates/puffin-interpreter/src/virtual_env.rs index 1a5d25ece78f..97f9d7e3d20c 100644 --- a/crates/puffin-interpreter/src/virtual_env.rs +++ b/crates/puffin-interpreter/src/virtual_env.rs @@ -121,6 +121,7 @@ pub(crate) fn detect_virtual_env(target: &PythonPlatform) -> Result return Ok(Some(PathBuf::from(venv))), (Some(_), Some(_)) => { return Err(Error::Conflict); }