astral-sh/uv (ghcr.io/astral-sh/uv)
### [`v0.4.27`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0427)
[Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.4.26...0.4.27)
This release includes support for the `[dependency-groups]` table as recently standardized in [PEP 735](https://peps.python.org/pep-0735/). The table allows for declaration of optional dependency groups that are not published as part of the package metadata, unlike `[project.optional-dependencies]`. There are new `--group`, `--only-group`, and `--no-group` options throughout the uv interface.
Previously, uv used a single `tool.uv.dev-dependencies` list for declaration of development dependencies. Now, uv supports declaring development dependencies in a standardized format and allows splitting development dependencies into multiple groups.
For compatibility, and to simplify usage for people that do not need multiple groups, uv special-cases the group named `dev`. The `dev` group is equivalent to `tool.uv.dev-dependencies`. The contents of `tool.uv.dev-dependencies` will merged into the `dev` group in uv's resolver. The `--dev`, `--only-dev`, and `--no-dev` flags remain as aliases for the corresponding `--group` options. Support for `tool.uv.dev-dependencies` remains in this release, but will display warnings in a future release.
uv syncs the `dev` group by default — this matches the exististing behavior for `tool.uv.dev-dependencies`. The default groups can be changed with the `tool.uv.default-groups` setting.
Thank you to Stephen Rosen who authored PEP 735.
##### Enhancements
- Support for PEP 735 ([#8272](https://redirect.github.com/astral-sh/uv/pull/8272))
- Add support for `--dry-run` mode in `uv lock` ([#7783](https://redirect.github.com/astral-sh/uv/pull/7783))
- Don't allow non-string email in authors ([#8520](https://redirect.github.com/astral-sh/uv/pull/8520))
- Enforce lockfile schema versions ([#8509](https://redirect.github.com/astral-sh/uv/pull/8509))
##### Bug fixes
- Always attach URL to network errors ([#8444](https://redirect.github.com/astral-sh/uv/pull/8444))
- Fix dangling non-platform dependencies in `uv tree` ([#8532](https://redirect.github.com/astral-sh/uv/pull/8532))
- Prefer `lto` over `debug` free-threaded managed Python builds ([#8515](https://redirect.github.com/astral-sh/uv/pull/8515))
##### Documentation
- Add `tool.uv.sources` to the "Settings" reference ([#8543](https://redirect.github.com/astral-sh/uv/pull/8543))
- Add reference to `uv build` and `uv publish` in the landing pages ([#8542](https://redirect.github.com/astral-sh/uv/pull/8542))
- Avoid duplicate `[tool.uv]` header in TOML examples ([#8545](https://redirect.github.com/astral-sh/uv/pull/8545))
- Document `.netrc` environment variable and path ([#8511](https://redirect.github.com/astral-sh/uv/pull/8511))
- Fix `.netrc` typo in authentication docs ([#8521](https://redirect.github.com/astral-sh/uv/pull/8521))
- Fix heading level of "Script support" on docs landing page ([#8544](https://redirect.github.com/astral-sh/uv/pull/8544))
- Move the installation configuration docs to a separate page ([#8546](https://redirect.github.com/astral-sh/uv/pull/8546))
- Update docs for `--publish-url` to avoid duplication. ([#8561](https://redirect.github.com/astral-sh/uv/pull/8561))
- Fix typo ([#8554](https://redirect.github.com/astral-sh/uv/pull/8554))
- Fix typo in description of `--strict` flag ([#8513](https://redirect.github.com/astral-sh/uv/pull/8513))
### [`v0.4.26`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0426)
[Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.4.25...0.4.26)
##### Enhancements
- Allow static dependency metadata entries for direct URL requirements ([#7846](https://redirect.github.com/astral-sh/uv/pull/7846))
- Use reinstall report formatting for `uv python install --reinstall` ([#8487](https://redirect.github.com/astral-sh/uv/pull/8487))
- Add support for system-level `uv.toml` configuration ([#7851](https://redirect.github.com/astral-sh/uv/pull/7851))
##### Bug fixes
- Apply `requires-python` narrowing with upper bounds ([#8403](https://redirect.github.com/astral-sh/uv/pull/8403))
- Avoid rewriting `[[tool.uv.index]]` entries when credentials are provided ([#8502](https://redirect.github.com/astral-sh/uv/pull/8502))
- Fix `uv add` comment handling for empty arrays ([#8504](https://redirect.github.com/astral-sh/uv/pull/8504))
- Replace dashes with underscores in index credential variables ([#8452](https://redirect.github.com/astral-sh/uv/pull/8452))
- Respect `--allow-insecure-host` in `uv publish` ([#8440](https://redirect.github.com/astral-sh/uv/pull/8440))
- Allow arbitrary `--package` includes in `uv tree` ([#8507](https://redirect.github.com/astral-sh/uv/pull/8507))
- Remove existing Python install after successful download in `uv python install` ([#8485](https://redirect.github.com/astral-sh/uv/pull/8485))
##### Documentation
- Add docs example for URLs with `[tool.uv.dependency-metadata]` ([#8484](https://redirect.github.com/astral-sh/uv/pull/8484))
- Add help page for build failures ([#8286](https://redirect.github.com/astral-sh/uv/pull/8286))
- Fix `cache-keys` typo in `tags = true` ([#8422](https://redirect.github.com/astral-sh/uv/pull/8422))
- Add documentation examples for manual branch, rev, and tag Git dependencies ([#8497](https://redirect.github.com/astral-sh/uv/pull/8497))
##### Error messages
- Improve error message for cache info serialization ([#8500](https://redirect.github.com/astral-sh/uv/pull/8500))
- Suggest `--from` command when executable is available for `uvx` ([#8473](https://redirect.github.com/astral-sh/uv/pull/8473))
- Support `--with-editable` in `uv tool install` ([#8472](https://redirect.github.com/astral-sh/uv/pull/8472))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.4.25
->0.4.27
0.4.25
->0.4.27
Release Notes
astral-sh/uv (ghcr.io/astral-sh/uv)
### [`v0.4.27`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0427) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.4.26...0.4.27) This release includes support for the `[dependency-groups]` table as recently standardized in [PEP 735](https://peps.python.org/pep-0735/). The table allows for declaration of optional dependency groups that are not published as part of the package metadata, unlike `[project.optional-dependencies]`. There are new `--group`, `--only-group`, and `--no-group` options throughout the uv interface. Previously, uv used a single `tool.uv.dev-dependencies` list for declaration of development dependencies. Now, uv supports declaring development dependencies in a standardized format and allows splitting development dependencies into multiple groups. For compatibility, and to simplify usage for people that do not need multiple groups, uv special-cases the group named `dev`. The `dev` group is equivalent to `tool.uv.dev-dependencies`. The contents of `tool.uv.dev-dependencies` will merged into the `dev` group in uv's resolver. The `--dev`, `--only-dev`, and `--no-dev` flags remain as aliases for the corresponding `--group` options. Support for `tool.uv.dev-dependencies` remains in this release, but will display warnings in a future release. uv syncs the `dev` group by default — this matches the exististing behavior for `tool.uv.dev-dependencies`. The default groups can be changed with the `tool.uv.default-groups` setting. Thank you to Stephen Rosen who authored PEP 735. ##### Enhancements - Support for PEP 735 ([#8272](https://redirect.github.com/astral-sh/uv/pull/8272)) - Add support for `--dry-run` mode in `uv lock` ([#7783](https://redirect.github.com/astral-sh/uv/pull/7783)) - Don't allow non-string email in authors ([#8520](https://redirect.github.com/astral-sh/uv/pull/8520)) - Enforce lockfile schema versions ([#8509](https://redirect.github.com/astral-sh/uv/pull/8509)) ##### Bug fixes - Always attach URL to network errors ([#8444](https://redirect.github.com/astral-sh/uv/pull/8444)) - Fix dangling non-platform dependencies in `uv tree` ([#8532](https://redirect.github.com/astral-sh/uv/pull/8532)) - Prefer `lto` over `debug` free-threaded managed Python builds ([#8515](https://redirect.github.com/astral-sh/uv/pull/8515)) ##### Documentation - Add `tool.uv.sources` to the "Settings" reference ([#8543](https://redirect.github.com/astral-sh/uv/pull/8543)) - Add reference to `uv build` and `uv publish` in the landing pages ([#8542](https://redirect.github.com/astral-sh/uv/pull/8542)) - Avoid duplicate `[tool.uv]` header in TOML examples ([#8545](https://redirect.github.com/astral-sh/uv/pull/8545)) - Document `.netrc` environment variable and path ([#8511](https://redirect.github.com/astral-sh/uv/pull/8511)) - Fix `.netrc` typo in authentication docs ([#8521](https://redirect.github.com/astral-sh/uv/pull/8521)) - Fix heading level of "Script support" on docs landing page ([#8544](https://redirect.github.com/astral-sh/uv/pull/8544)) - Move the installation configuration docs to a separate page ([#8546](https://redirect.github.com/astral-sh/uv/pull/8546)) - Update docs for `--publish-url` to avoid duplication. ([#8561](https://redirect.github.com/astral-sh/uv/pull/8561)) - Fix typo ([#8554](https://redirect.github.com/astral-sh/uv/pull/8554)) - Fix typo in description of `--strict` flag ([#8513](https://redirect.github.com/astral-sh/uv/pull/8513)) ### [`v0.4.26`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0426) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.4.25...0.4.26) ##### Enhancements - Allow static dependency metadata entries for direct URL requirements ([#7846](https://redirect.github.com/astral-sh/uv/pull/7846)) - Use reinstall report formatting for `uv python install --reinstall` ([#8487](https://redirect.github.com/astral-sh/uv/pull/8487)) - Add support for system-level `uv.toml` configuration ([#7851](https://redirect.github.com/astral-sh/uv/pull/7851)) ##### Bug fixes - Apply `requires-python` narrowing with upper bounds ([#8403](https://redirect.github.com/astral-sh/uv/pull/8403)) - Avoid rewriting `[[tool.uv.index]]` entries when credentials are provided ([#8502](https://redirect.github.com/astral-sh/uv/pull/8502)) - Fix `uv add` comment handling for empty arrays ([#8504](https://redirect.github.com/astral-sh/uv/pull/8504)) - Replace dashes with underscores in index credential variables ([#8452](https://redirect.github.com/astral-sh/uv/pull/8452)) - Respect `--allow-insecure-host` in `uv publish` ([#8440](https://redirect.github.com/astral-sh/uv/pull/8440)) - Allow arbitrary `--package` includes in `uv tree` ([#8507](https://redirect.github.com/astral-sh/uv/pull/8507)) - Remove existing Python install after successful download in `uv python install` ([#8485](https://redirect.github.com/astral-sh/uv/pull/8485)) ##### Documentation - Add docs example for URLs with `[tool.uv.dependency-metadata]` ([#8484](https://redirect.github.com/astral-sh/uv/pull/8484)) - Add help page for build failures ([#8286](https://redirect.github.com/astral-sh/uv/pull/8286)) - Fix `cache-keys` typo in `tags = true` ([#8422](https://redirect.github.com/astral-sh/uv/pull/8422)) - Add documentation examples for manual branch, rev, and tag Git dependencies ([#8497](https://redirect.github.com/astral-sh/uv/pull/8497)) ##### Error messages - Improve error message for cache info serialization ([#8500](https://redirect.github.com/astral-sh/uv/pull/8500)) - Suggest `--from` command when executable is available for `uvx` ([#8473](https://redirect.github.com/astral-sh/uv/pull/8473)) - Support `--with-editable` in `uv tool install` ([#8472](https://redirect.github.com/astral-sh/uv/pull/8472))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.