We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee9c74 commit 018ab20Copy full SHA for 018ab20
src/tox_uv/_venv.py
@@ -126,7 +126,7 @@ def create_python_env(self) -> None:
126
if (base.major, base.minor) == sys.version_info[:2] and (sys.implementation.name.lower() == imp):
127
version_spec = sys.executable
128
else:
129
- uv_imp = "python" if (imp and imp == "cpython") else imp
+ uv_imp = "" if (imp and imp == "cpython") else imp
130
version_spec = f"{uv_imp or ''}{base.major}.{base.minor}" if base.minor else f"{uv_imp or ''}{base.major}"
131
cmd: list[str] = [self.uv, "venv", "-p", version_spec]
132
if self.options.verbosity > 2: # noqa: PLR2004
0 commit comments