github astral-sh/uv 0.5.8

18 hours ago

Release Notes

This release does not include the powerpc64le-unknown-linux-musl target due to a build issue. See #9793 for details. If this change affects you, please file an issue with your use-case.

Enhancements

  • Omit empty resolution markers in lockfile (#9738)
  • Add --install-dir to to uv python install and uninstall commands (#7920)
  • Add --show-urls and --only-downloads to uv python list (#8062)
  • Add uv python list --all-arches (#9782)
  • Add uv run --gui-script flag for running Python scripts with pythonw.exe (#9152)
  • Allow --gui-script on Unix (#9787)
  • Allow download of Python distribution variants optimized for newer x86_64 microarchitectures (#9781)
  • Allow execution of pyw files on Unix (#9759)
  • Allow users to specify URLs in project.dependencies and tool.uv.sources (#9718)
  • Encode mutually-incompatible pairs of markers (#9444)
  • Improve the error message when a Python install request is not valid (#9783)
  • Preserve directory-level standalone build symlinks (#9723)
  • Add support for uv publish --index <name> (#9694)
  • Reframe --locked and --frozen as --check operations for uv lock (#9662)
  • Rename Python install scratch directory from .cache -> .temp (#9756)
  • Enable uv tool uninstall uv on Windows (#8963)
  • Improve self-dependency hint to make shadowing clear (#9716)
  • Refactor unavailable metadata to shrink the resolver (#9769)
  • Show 'depends on itself' for proxy packages (#9717)
  • Show a dedicated error for missing subdirectories (#9761)
  • Show a dedicated hint for missing git+ prefixes (#9789)

Performance

  • Eagerly error when parsing pyproject.toml requirements (#9704)
  • Use copy-on-write when normalizing paths (#9710)

Bug fixes

  • Avoid enforcing non-conflicts in uv export (#9751)
  • Don't drop comments between items in TOML tables (#9784)
  • Don't fail with --no-build when static metadata is available (#9785)
  • Don't filter non-patch registry version (#9736)
  • Don't read metadata from stale .egg-info files (#9760)
  • Enforce correctness of self-dependencies (#9705)
  • Fix projects's typo in resolver error messages (#9708)
  • Ignore . prefixed directories during managed Python installation discovery (#9786)
  • Improve handling of invalid virtual environments during interpreter discovery (#8086)
  • Normalize relative paths when --project is specified (#9709)
  • Respect self-constraints on recursive extras (#9714)
  • Respect user settings for tracing coloring (#9733)
  • Retry on tar extraction errors (#9753)
  • Add conflict markers to the lock file (#9370)
  • De-duplicate resolution markers (#9780)
  • Avoid 403 error hint for PyTorch URLs (#9750)
  • Avoid treating non-existent --find-links as relative URLs (#9720)
  • Omit Windows Store python3.13.exe et al (#9679)
  • Replace executables with broken symlinks during uv python install (#9706)

Documentation

  • Fix build failure links (#9740)

Install uv 0.5.8

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.5.8/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.8/uv-installer.ps1 | iex"

Download uv 0.5.8

File Platform Checksum
uv-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
uv-x86_64-apple-darwin.tar.gz Intel macOS 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.