Skip to content

Commit 0481965

Browse files
chore(deps): update dependency uv_build to >=0.10.3,<0.11.0 (#620)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [uv_build](https://pypi.org/project/uv/) ([source](https://redirect.github.com/astral-sh/uv), [changelog](https://redirect.github.com/astral-sh/uv/blob/main/CHANGELOG.md)) | `>=0.9.15,<0.10.0` → `>=0.10.3,<0.11.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/uv-build/0.10.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/uv-build/0.9.30/0.10.3?slim=true) | --- ### Release Notes <details> <summary>astral-sh/uv (uv_build)</summary> ### [`v0.10.3`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0103) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.10.2...0.10.3) Released on 2026-02-16. ##### Python - Add CPython 3.15.0a6 ##### Enhancements - Don't open file locks for writing ([#&#8203;17956](https://redirect.github.com/astral-sh/uv/pull/17956)) - Make Windows trampoline error messages consistent with uv proper ([#&#8203;17969](https://redirect.github.com/astral-sh/uv/pull/17969)) - Log which preview features are enabled ([#&#8203;17968](https://redirect.github.com/astral-sh/uv/pull/17968)) ##### Preview features - Add support for ruff version constraints and `exclude-newer` in `uv format` ([#&#8203;17651](https://redirect.github.com/astral-sh/uv/pull/17651)) - Fix script path handling when `target-workspace-discovery` is enabled ([#&#8203;17965](https://redirect.github.com/astral-sh/uv/pull/17965)) - Use version constraints to select the default ruff version used by `uv format` ([#&#8203;17977](https://redirect.github.com/astral-sh/uv/pull/17977)) ##### Bug fixes - Avoid matching managed Python versions by prefixes, e.g. don't match CPython 3.10 when `cpython-3.1` is specified ([#&#8203;17972](https://redirect.github.com/astral-sh/uv/pull/17972)) - Fix handling of `--allow-existing` with minor version links on Windows ([#&#8203;17978](https://redirect.github.com/astral-sh/uv/pull/17978)) - Fix panic when encountering unmanaged workspace members ([#&#8203;17974](https://redirect.github.com/astral-sh/uv/pull/17974)) - Improve accuracy of request timing ([#&#8203;18007](https://redirect.github.com/astral-sh/uv/pull/18007)) - Reject `u64::MAX` in version segments to prevent overflow ([#&#8203;17985](https://redirect.github.com/astral-sh/uv/pull/17985)) ##### Documentation - Reference Debian Trixie instead of Bookworm ([#&#8203;17991](https://redirect.github.com/astral-sh/uv/pull/17991)) ### [`v0.10.2`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0102) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.10.1...0.10.2) Released on 2026-02-10. ##### Enhancements - Deprecate unexpected ZIP compression methods ([#&#8203;17946](https://redirect.github.com/astral-sh/uv/pull/17946)) ##### Bug fixes - Fix `cargo-install` failing due to missing `uv-test` dependency ([#&#8203;17954](https://redirect.github.com/astral-sh/uv/pull/17954)) ### [`v0.10.1`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0101) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.10.0...0.10.1) Released on 2026-02-10. ##### Enhancements - Don't panic on metadata read errors ([#&#8203;17904](https://redirect.github.com/astral-sh/uv/pull/17904)) - Skip empty workspace members instead of failing ([#&#8203;17901](https://redirect.github.com/astral-sh/uv/pull/17901)) - Don't fail creating a read-only `sdist-vX/.git` if it already exists ([#&#8203;17825](https://redirect.github.com/astral-sh/uv/pull/17825)) ##### Documentation - Suggest `uv python update-shell` over `uv tool update-shell` in Python docs ([#&#8203;17941](https://redirect.github.com/astral-sh/uv/pull/17941)) ### [`v0.10.0`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0100) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.30...0.10.0) Since we released uv [0.9.0](https://redirect.github.com/astral-sh/uv/releases/tag/0.9.0) in October of 2025, we've accumulated various changes that improve correctness and user experience, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution. We expect most users to be able to upgrade without making changes. This release also includes the stabilization of preview features. Python upgrades are now stable, including the `uv python upgrade` command, `uv python install --upgrade`, and automatically upgrading Python patch versions in virtual environments when a new version is installed. The `add-bounds` and `extra-build-dependencies` settings are now stable. Finally, the `uv workspace dir` and `uv workspace list` utilities for writing scripts against workspace members are now stable. ##### Breaking changes - **Require `--clear` to remove existing virtual environments in `uv venv`** ([#&#8203;17757](https://redirect.github.com/astral-sh/uv/pull/17757)) Previously, `uv venv` would prompt for confirmation before removing an existing virtual environment in interactive contexts, and remove it without confirmation in non-interactive contexts. Now, `uv venv` requires the `--clear` flag to remove an existing virtual environment. A warning for this change was added in [uv 0.8](https://redirect.github.com/astral-sh/uv/blob/main/changelogs/0.8.x.md#breaking-changes). You can opt out of this behavior by passing the `--clear` flag or setting `UV_VENV_CLEAR=1`. - **Error if multiple indexes include `default = true`** ([#&#8203;17011](https://redirect.github.com/astral-sh/uv/pull/17011)) Previously, uv would silently accept multiple indexes with `default = true` and use the first one. Now, uv will error if multiple indexes are marked as the default. You cannot opt out of this behavior. Remove `default = true` from all but one index. - **Error when an `explicit` index is unnamed** ([#&#8203;17777](https://redirect.github.com/astral-sh/uv/pull/17777)) Explicit indexes can only be used via the `[tool.uv.sources]` table, which requires referencing the index by name. Previously, uv would silently accept unnamed explicit indexes, which could never be referenced. Now, uv will error if an explicit index does not have a name. You cannot opt out of this behavior. Add a `name` to the explicit index or remove the entry. - **Install alternative Python executables using their implementation name** ([#&#8203;17756](https://redirect.github.com/astral-sh/uv/pull/17756), [#&#8203;17760](https://redirect.github.com/astral-sh/uv/pull/17760)) Previously, `uv python install` would install PyPy, GraalPy, and Pyodide executables with names like `python3.10` into the bin directory. Now, these executables will be named using their implementation name, e.g., `pypy3.10`, `graalpy3.10`, and `pyodide3.12`, to avoid conflicting with CPython installations. You cannot opt out of this behavior. - **Respect global Python version pins in `uv tool run` and `uv tool install`** ([#&#8203;14112](https://redirect.github.com/astral-sh/uv/pull/14112)) Previously, `uv tool run` and `uv tool install` did not respect the global Python version pin (set via `uv python pin --global`). Now, these commands will use the global Python version when no explicit version is requested. For `uv tool install`, if the tool is already installed, the Python version will not change unless `--reinstall` or `--python` is provided. If the tool was previously installed with an explicit `--python` flag, the global pin will not override it. You can opt out of this behavior by providing an explicit `--python` flag. - **Remove Debian Bookworm, Alpine 3.21, and Python 3.8 Docker images** ([#&#8203;17755](https://redirect.github.com/astral-sh/uv/pull/17755)) The Debian Bookworm and Alpine 3.21 images were replaced by Debian Trixie and Alpine 3.22 as defaults in [uv 0.9](https://redirect.github.com/astral-sh/uv/pull/15352). These older images are now removed. Python 3.8 images are also removed, as Python 3.8 is no longer supported in the Trixie or Alpine base images. The following image tags are no longer published: - `uv:bookworm`, `uv:bookworm-slim` - `uv:alpine3.21` - `uv:python3.8-*` Use `uv:debian` or `uv:trixie` instead of `uv:bookworm`, `uv:alpine` or `uv:alpine3.22` instead of `uv:alpine3.21`, and a newer Python version instead of `uv:python3.8-*`. - **Drop PPC64 (big endian) builds** ([#&#8203;17626](https://redirect.github.com/astral-sh/uv/pull/17626)) uv no longer provides pre-built binaries for PPC64 (big endian). This platform appears to be largely unused and is only supported on a single manylinux version. PPC64LE (little endian) builds are unaffected. Building uv from source is still supported for this platform. - **Skip generating `activate.csh` for relocatable virtual environments** ([#&#8203;17759](https://redirect.github.com/astral-sh/uv/pull/17759)) Previously, `uv venv --relocatable` would generate an `activate.csh` script that contained hardcoded paths, making it incompatible with relocation. Now, the `activate.csh` script is not generated for relocatable virtual environments. You cannot opt out of this behavior. - **Require username when multiple credentials match a URL** ([#&#8203;16983](https://redirect.github.com/astral-sh/uv/pull/16983)) When using `uv auth login` to store credentials, you can register multiple username and password combinations for the same host. Previously, when uv needed to authenticate and multiple credentials matched the URL (e.g., when retrieving a token with `uv auth token`), uv would pick the first match. Now, uv will error instead. You cannot opt out of this behavior. Include the username in the request, e.g., `uv auth token --username foo example.com`. - **Avoid invalidating the lockfile versions after an `exclude-newer` change** ([#&#8203;17721](https://redirect.github.com/astral-sh/uv/pull/17721)) Previously, changing the `exclude-newer` setting would cause package versions to be upgraded, ignoring the lockfile entirely. Now, uv will only change package versions if they are no longer within the `exclude-newer` range. You can restore the previous behavior by using `--upgrade` or `--upgrade-package` to opt-in to package version changes. - **Upgrade `uv format` to Ruff 0.15.0** ([#&#8203;17838](https://redirect.github.com/astral-sh/uv/pull/17838)) `uv format` now uses [Ruff 0.15.0](https://redirect.github.com/astral-sh/ruff/releases/tag/0.15.0), which uses the [2026 style guide](https://astral.sh/blog/ruff-v0.15.0#the-ruff-2026-style-guide). See the blog post for details. The formatting of code is likely to change. You can opt out of this behavior by requesting an older Ruff version, e.g., `uv format --version 0.14.14`. - **Update uv crate test features to use `test-` as a prefix** ([#&#8203;17860](https://redirect.github.com/astral-sh/uv/pull/17860)) This change only affects redistributors of uv. The Cargo features used to gate test dependencies, e.g., `pypi`, have been renamed with a `test-` prefix for clarity, e.g., `test-pypi`. ##### Stabilizations - **`uv python upgrade` and `uv python install --upgrade`** ([#&#8203;17766](https://redirect.github.com/astral-sh/uv/pull/17766)) When installing Python versions, an [intermediary directory](https://docs.astral.sh/uv/concepts/python-versions/#minor-version-directories) without the patch version attached will be created, and virtual environments will be transparently upgraded to new patch versions. See the [Python version documentation](https://docs.astral.sh/uv/concepts/python-versions/#upgrading-python-versions) for more details. - **`uv add --bounds` and the `add-bounds` configuration option** ([#&#8203;17660](https://redirect.github.com/astral-sh/uv/pull/17660)) This does not come with any behavior changes. You will no longer see an experimental warning when using `uv add --bounds` or `add-bounds` in configuration. - **`uv workspace list` and `uv workspace dir`** ([#&#8203;17768](https://redirect.github.com/astral-sh/uv/pull/17768)) This does not come with any behavior changes. You will no longer see an experimental warning when using these commands. - **`extra-build-dependencies`** ([#&#8203;17767](https://redirect.github.com/astral-sh/uv/pull/17767)) This does not come with any behavior changes. You will no longer see an experimental warning when using `extra-build-dependencies` in configuration. ##### Enhancements - Improve ABI tag error message phrasing ([#&#8203;17878](https://redirect.github.com/astral-sh/uv/pull/17878)) - Introduce a 10s connect timeout ([#&#8203;17733](https://redirect.github.com/astral-sh/uv/pull/17733)) - Allow using `pyx.dev` as a target in `uv auth` commands despite `PYX_API_URL` differing ([#&#8203;17856](https://redirect.github.com/astral-sh/uv/pull/17856)) ##### Bug fixes - Support all CPython ABI tag suffixes properly ([#&#8203;17817](https://redirect.github.com/astral-sh/uv/pull/17817)) - Add support for detecting PowerShell on Linux and macOS ([#&#8203;17870](https://redirect.github.com/astral-sh/uv/pull/17870)) - Retry timeout errors for streams ([#&#8203;17875](https://redirect.github.com/astral-sh/uv/pull/17875)) </details> --- ### 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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cognitedata/pygen). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDMuMTUuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 14b3d58 commit 0481965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pythonpath = [".", "examples", "examples-pydantic-v1"]
135135
testpaths = ["tests", "cognite/pygen"]
136136

137137
[build-system]
138-
requires = ["uv_build>=0.9.15,<0.10.0"]
138+
requires = ["uv_build>=0.10.4,<0.11.0"]
139139
build-backend = "uv_build"
140140

141141
[tool.uv.build-backend]

0 commit comments

Comments
 (0)