github astral-sh/uv 0.5.31

latest releases: 0.6.2, 0.6.1, 0.6.0...
9 days ago

Release Notes

Enhancements

  • Add uv sync --script (#11361)
  • Allow PEP 508 requirements in tool requests (#11337)
  • Allow source distributions to produce wheels with +local suffixes (#11429)
  • Bring parity to uvx and uv tool install requests (#11345)
  • Use a stable directory for local, remote, and stdin script virtual environments (#11347, #11364)
  • Detect infinite recursion in uv run (#11386)

Python

The managed Python distributions have been updated, including:

See the python-build-standalone release notes for more details.

Bug fixes

  • Fix cross-drive script installation (#11167)
  • Add indexes in priority order (#11451)
  • Allow --python <dir> requests to match existing environments if sys.executable is the same file (#11290)
  • Avoid comparing to system site packages in --dry-run mode (#11427)
  • Prefer running executables in the environment with <name> over <name>/__main__.py (#11431)
  • Retry local clones without hardlinks if they fail (#11421)

Documentation

  • Update alternative-indexes.md to use UV_INDEX instead of UV_EXTRA_INDEX_URL (#11381)
  • Update scripts guide to include using package indexes (#11443)

Install uv 0.5.31

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.5.31/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.5.31/uv-installer.ps1 | iex"

Download uv 0.5.31

File Platform Checksum
uv-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
uv-x86_64-apple-darwin.tar.gz Intel macOS checksum
uv-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
uv-i686-pc-windows-msvc.zip x86 Windows checksum
uv-x86_64-pc-windows-msvc.zip x64 Windows checksum
uv-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
uv-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
uv-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
uv-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
uv-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
uv-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
uv-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
uv-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
uv-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
uv-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
uv-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
uv-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum

Don't miss a new uv release

NewReleases is sending notifications on new releases.