Skip to content

v1.9.9

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 15:50
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_executable no longer load a standard library that another local user controls (#288) by @gaborbernat. (#283)
  • DiskCache no longer takes its locks in a locks-v2 directory 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_DIR are 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/python is no longer joined to PATH entries or searched for among uv-managed installs, so its .. segments can no longer run a file outside PATH (#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 venv linked to venv-3.11 (#293) by @gaborbernat.
  • Shim resolution no longer hangs when a .python-version file 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.

🐍 PyPI release

📜 Full Changelog