pypi uv 0.4.30

8 hours ago

Release Notes

Enhancements

  • Add support for .env and custom env files in uv run (#8811)
  • Add support for --all-packages in uv run, uv sync, and uv export (#8742, #8741, #8739)
  • Allow use of --frozen with --all-packages in uv sync and uv export (#8760)
  • Show full error chain on tool upgrade failures (#8753)
  • Add --check-url to uv publish to check for existing distributions during upload (#8531)
  • Suggest using --check-url when --skip-existing is used (#8803)

Bug fixes

  • Allow incompatible requires-python for source distributions with static metadata (#8768)
  • Allow managed downloads with --python-preference system (#8808)
  • Avoid error for --group defined in non-root workspace member (#8734)
  • Avoid showing dependency group annotations on workspace members in tree (#8730)
  • Do not error when the Python bin directory is missing on uv python uninstall (#8725)
  • Include member groups when locking workspace (#8736)
  • Fix bug where python_version < '0' could appear in a final resolution (#8759)
  • Sanitize filenames during zip extraction (#8732)
  • Switch to RFC 9110 compatible format for exclude newer requests (#8752)

Preview features

  • Add support for installing versioned Python executables on Windows (#8663)
  • Improve interactions with existing Python executables during install (#8733)

Rust API

  • Extend BaseClient to accept extra middleware (#8807)
  • Add From for FlatDistributions struct (#8800)

Documentation

  • Fix environment variable name in providing credentials section (#8740)
  • Fix add httpx example with real git branch (#8756)
  • Fix indentation in projects.md (#8772)
  • Fix link to publish guide in README (#8720)
  • Generate environment variables documentation from code (#8493)
  • Improve and fix some documents (#8749)
  • Improve environment variables document (#8777)

Install uv 0.4.30

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download uv 0.4.30

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.