python uv Releases · · 0.12.1

uv 0.12.1: Package-specific pre-release policies, Xonsh support, and performance

sdkinfrapreviewengineer
patch

This release of uv introduces package-specific pre-release policies, enabling finer control over handling pre-release versions for individual packages. It also adds support for Xonsh shell activation scripts and includes performance enhancements, such as faster SHA-256 hashing on certain ARM64 platforms. The update is available as a patch for all users, with new preview features and bug fixes.

  • Add package-specific pre-release policies with --prerelease-package
  • Support local HTML files as flat indexes
  • Add Xonsh virtual environment activation scripts (activate.xsh)
  • Preserve filesystem paths passed to uv add --index when updating pyproject.toml
  • Flush shell startup file updates before uv tool update-shell and uv python update-shell exit
Enhancements (4)
  • Add package-specific pre-release policies with --prerelease-package
  • Support local HTML files as flat indexes
  • Add Xonsh virtual environment activation scripts (activate.xsh)
  • Preserve filesystem paths passed to uv add --index when updating pyproject.toml
Fixes (4)
  • Flush shell startup file updates before uv tool update-shell and uv python update-shell exit
  • Make workspace-root dependency groups available to commands run from workspace members
  • Resolve --find-links paths in requirements files relative to the containing file
  • Respect configured indexes in uv tool list --outdated
Maintenance (2)
  • Document Astral GPU indexes in the PyTorch guide
  • Use consistent dependency-group argument descriptions throughout the CLI documentation
Read the original announcement →

https://github.com/astral-sh/uv/releases/tag/0.12.1

Related releases