Change8

0.9.8

📦 uvView on GitHub →
8 features🐛 7 fixes🔧 9 symbols

Summary

uv 0.9.8 introduces multi-package support for export/sync, a new cache size command, and dependency exclusions, alongside critical bug fixes for Docker DNS and GPU detection.

Migration Steps

  1. Update to uv version 0.9.8 using the provided shell or PowerShell installation scripts.
  2. Note that the Minimum Supported Rust Version (MSRV) is now 1.89 if building from source.

✨ New Features

  • Accept multiple packages in `uv export` and `uv sync` commands.
  • Add a `uv cache size` command to inspect cache usage.
  • Enable first-class dependency exclusions.
  • Allow Python requests to include `+gil` to require a GIL-enabled interpreter.
  • Expose `UV_NO_GROUP` and `UV_NO_SOURCES` as environment variables.
  • Add prerelease guidance for build-system resolution failures.
  • Include the Python variant suffix in 'Using Python ...' messages.
  • Log most recently modified file for cache-keys.

🐛 Bug Fixes

  • Allow `--check` and `--locked` to be used together in `uv lock`.
  • Allow for unnormalized names in the METADATA file.
  • Fix missing value_type for `default-groups` in schema.
  • Respect multi-GPU outputs in `nvidia-smi`.
  • Fix DNS lookup errors in Docker containers.
  • Fix inclusive constraints on available package versions in resolver errors.
  • Improve `uv init` error for invalid directory names.

🔧 Affected Symbols

uv exportuv syncuv cache sizeuv lockuv inituv buildUV_NO_GROUPUV_NO_SOURCESdefault-groups