mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-13 16:25:00 +00:00
![]() ## Summary This is attempting to solve the same problem surfaced in #11208 and #11209. However, those PRs only worked for our own managed Pythons. In Gentoo, for example, they disable the managed Pythons, which led to failures in the test suite, because the "base Python" returned after creating a virtual environment would differ from the "base Python" that you get after _querying_ an existing virtual environment. The fix here is to apply our same base Python normalization and discovery logic, to non-standalone / non-managed Pythons. We continue to use `sys._base_executable` for such Pythons when creating the virtualenv, but when _caching_, we perform this second discovery step. Closes https://github.com/astral-sh/uv/issues/11237. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
uv-virtualenv
uv-virtualenv
is a rust library to create Python virtual environments. It also has a CLI.