Repository navigation
Immutable
release. Only release title and notes can be modified.
Bug fixes
- An interpreter symlink is now resolved to the real interpreter when the standard library beside it is owned by another user. Environments built from
system_executableno longer load a standard library that another local user controls (#288) by @gaborbernat. (#283) DiskCacheno longer takes its locks in alocks-v2directory that is a symbolic link, belongs to another user, or is writable by others. Discovery logs a warning and queries the interpreter without the cache instead, so a lock directory left behind by another user can no longer block discovery or create lock files outside the cache (#291) by @gaborbernat. (#285)- Interpreters found under a relative
UV_PYTHON_INSTALL_DIRare now returned with absolute paths, so they still resolve after the working directory changes (#289) by @gaborbernat.
Security
- A relative path spec such as
../venv/bin/pythonis no longer joined toPATHentries or searched for among uv-managed installs, so its..segments can no longer run a file outsidePATH(#287) by @gaborbernat. - Discovery no longer fails with
PermissionError, or misdetects file-system case sensitivity, when the shared temporary directory contains entries created by another user (#286) by @gaborbernat. - Interpreter discovery under a non-UTF-8 locale could run and return a different file than the one requested. Reported paths are now decoded with the file system encoding of the querying process, and cache entries are reused only under the encoding they were written with (#290) by @gaborbernat.
- Resolving an environment to its base interpreter no longer searches a sibling of the base prefix for an interpreter, where another user could plant one. This happened when the environment's resolved directory only shares a string prefix with the environment, such as
venvlinked tovenv-3.11(#293) by @gaborbernat. - Shim resolution no longer hangs when a
.python-versionfile in a parent directory is replaced by a FIFO. Version files are now opened without blocking and skipped unless they are regular files (#292) by @gaborbernat.