github astral-sh/uv 0.3.1

latest releases: 0.4.13, 0.4.12, 0.4.11...
29 days ago

Release Notes

Enhancements

  • Add --with-editable support to uv run (#6262)
  • Respect .python-version files and pyproject.toml in uv python find (#6369)
  • Allow manylinux compatibility override via _manylinux module (#6039)

CLI

  • Avoid treating uv add -r as --raw-sources (#6287)

Bug fixes

  • Always invoke found interpreter when uv run python is used (#6363)
  • Avoid adding extra newline for script with non-empty prelude (#6366)
  • Fix metadata cache instability for lockfile (#6332)
  • Handle Ctrl-C properly in uvx invocations (#6346)
  • Ignore workspace discovery errors with --no-workspace (#6328)
  • Invalidate uv.lock when virtual dev-dependencies change (#6291)
  • Make cache robust to removed archives (#6284)
  • Preserve Git username for SSH dependencies (#6335)
  • Respect --no-build-isolation in uv add (#6368)
  • Respect .python-version files in uv run outside projects (#6361)
  • Use sys_executable for uv run invocations (#6354)
  • Use atomic write for pip compile output (#6274)
  • Use consistent logic for deserializing short revisions (#6341)

Documentation

  • Remove the preview default value of python-preference (#6301)
  • Update env vars doc about XDG_* variables on macOS (#6337)

Install uv 0.3.1

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download uv 0.3.1

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.