Change8

0.7.4

📦 uvView on GitHub →
16 features🐛 8 fixes🔧 5 symbols

Summary

uv 0.7.4 adds numerous usability enhancements, a flag rename, improved error handling, and several bug fixes while introducing a preview build backend feature.

Migration Steps

  1. Replace usage of the `--raw-sources` flag with the new `--raw` flag in all uv commands

✨ New Features

  • Add more context to external errors
  • Align indentation of long arguments
  • Preserve order of dependencies which are sorted naively
  • Align progress bars by largest name length
  • Reinstall local packages in `uv add`
  • Rename `--raw-sources` to `--raw`
  • Show 'Downgraded' when `self update` is used to install an older version
  • Suggest `uv self update` if required uv version is newer
  • Add 3.14 beta images to uv Docker images
  • Add comma after "i.e." in Conda environment error
  • Be more precise in unpinned packages warning
  • Fix detection of sorted dependencies when include-group is used
  • Fix display of HTTP responses in trace logs for retry of errors
  • Log skip reasons during Python installation key interpreter match checks
  • Redact credentials when displaying URLs
  • Preview feature: Build backend normalizes glob paths

🐛 Bug Fixes

  • Avoid erroring on `pylock.toml` dependency entries
  • Avoid panics for cannot-be-a-base URLs
  • Ensure cached realm credentials are applied if no password is found for index URL
  • Fix `.tgz` parsing to respect true extension
  • Fix double self-dependency
  • Reject `pylock.toml` in `uv add -r`
  • Retain dot-separated wheel tags during cache prune
  • Retain trailing comments after PEP 723 metadata block

🔧 Affected Symbols

--raw-sources--rawuv addself updateuv self update