Commit Graph

8459 Commits

Author SHA1 Message Date
Zanie Blue 463a78f707 Remove the unused Error::LinkExecutable.to field (#18065)
Fixes  https://github.com/astral-sh/uv/pull/18008/changes#r2813876103
2026-02-18 09:39:44 -06:00
Nicola Spieser Buiss 4e7991058b Fix UV_NO_DEFAULT_GROUPS rejecting truthy values like 1 (#18057)
## Summary

Fixes #18002.

`UV_NO_DEFAULT_GROUPS=1 uv sync` currently fails with:

```
error: invalid value '1' for '--no-default-groups'
  [possible values: true, false]
```

This is because `--no-default-groups` uses clap's default bool parser,
which only accepts `true`/`false`. Meanwhile, `--no-dev` (and
`UV_NO_DEV`) already uses `BoolishValueParser`, which accepts `1`,
`yes`, `on`, `true` (and their negatives).

## Fix

Add `value_parser = clap::builder::BoolishValueParser::new()` to all
four `--no-default-groups` argument definitions (`SyncArgs`, `RunArgs`,
`ExportArgs`, `TreeArgs`), matching the existing pattern used by
`--no-dev`.

## Test Plan

`UV_NO_DEFAULT_GROUPS=1 uv sync` should now succeed instead of erroring.

Co-authored-by: Ocean <ocean@Mac-mini-von-Ocean.local>
2026-02-18 08:47:04 -06:00
Skyler Hawthorne bab447dfc0 make missing files warning debug (#18075)
make missing files warning debug

Currently, there are a lot of spurious warning messages about missing
files for some packages. This
results in output like this, with dozens or more of the same message:

```
❯ : uv tool install audible-cli --upgrade
WARN Skipping file for beautifulsoup4: beautifulsoup4-4.6.1-py2.7.egg
WARN Skipping file for beautifulsoup4: beautifulsoup4-4.6.1-py3.5.egg
WARN Skipping file for pyasn1: pyasn1-0.0.11a-py2.3.egg
WARN Skipping file for pyasn1: pyasn1-0.0.11a-py2.4.egg
WARN Skipping file for pyasn1: pyasn1-0.0.11a-py2.5.egg
WARN Skipping file for pyasn1: pyasn1-0.0.11a-py2.6.egg
WARN Skipping file for pyasn1: pyasn1-0.0.11a-py2.7.egg
WARN Skipping file for pyasn1: pyasn1-0.0.12a-py2.3.egg
WARN Skipping file for pyasn1: pyasn1-0.0.12a-py2.4.egg
WARN Skipping file for pyasn1: pyasn1-0.0.12a-py2.5.egg
WARN Skipping file for pyasn1: pyasn1-0.0.12a-py2.6.egg
WARN Skipping file for pyasn1: pyasn1-0.0.12a-py2.7.egg
WARN Skipping file for pyasn1: pyasn1-0.0.13-py2.3.egg
WARN Skipping file for pyasn1: pyasn1-0.0.13-py2.4.egg
WARN Skipping file for pyasn1: pyasn1-0.0.13-py2.5.egg
WARN Skipping file for pyasn1: pyasn1-0.0.13-py2.6.egg
WARN Skipping file for pyasn1: pyasn1-0.0.13-py2.7.egg
```

This change makes them debug messages instead to avoid all these
unhelpful messages.
2026-02-18 15:00:51 +01:00
konsti baa977a114 Fix iOS detection (#17973)
The fix is `[_version, architecture, _platform] =
version_arch.split("-")`, but I also improved the general structure a
bunch.

Fixes
https://github.com/astral-sh/uv/issues/16724#issuecomment-3530941106
2026-02-18 10:32:37 +00:00
konsti dee6abdd93 Use a global build concurrency semaphore (#18054)
Previously, each build was using its own build concurrency limit,
effectively rendering the limit useless.

Fixes #15307
2026-02-18 09:53:38 +00:00
William Woodruff dd43042d39 Use debug snapshots for two redaction tests (#18077)
## Summary

Our redaction handling is already well covered here, but this switches
two tests to use snapshots to make them slightly clearer/more resilient
(e.g. in case we accidentally debug a token not as a string but as
bytes, in which case the previous naive string match would
false-negative here).

## Test Plan

But doctor, I am the unit tests.

Signed-off-by: William Woodruff <william@astral.sh>
2026-02-18 09:49:55 +01:00
Tomasz Kramkowski 079e3fd059 Bump version to 0.10.4 (#18072) 2026-02-17 21:15:57 +00:00
Tomasz Kramkowski ea9e4780e5 Revert "Don't open lock files for writing (#17956)" (#18071)
This reverts commit 75aadf2331 (introduced
by #17956).

This fixes #18061.

On NFS `flock` implicitly falls back to `lockf` which requires the file
be open for writing when taking an exclusive lock.
2026-02-17 15:02:22 -06:00
Zanie Blue 7ef8d66c94 Clean up legacy workspace root concept (#17864)
Prompted by https://github.com/astral-sh/uv/issues/17855 — I think this
branch is just dead code?
2026-02-17 10:24:15 -05:00
renovate[bot] ae6e62ad6f Update Rust crate jiff to v0.2.19 (#18036)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [jiff](https://redirect.github.com/BurntSushi/jiff) |
workspace.dependencies | patch | `0.2.18` → `0.2.19` | `0.2.20` |

---

### Release Notes

<details>
<summary>BurntSushi/jiff (jiff)</summary>

###
[`v0.2.19`](https://redirect.github.com/BurntSushi/jiff/blob/HEAD/CHANGELOG.md#0219-2026-02-05)

[Compare
Source](https://redirect.github.com/BurntSushi/jiff/compare/0.2.18...0.2.19)

\===================
This is a small release with a performance optimization (with respect to
doing
heavily contended arithmetic on `Zoned` values) and a bug fix for a
panic
that can occur when using `%2s` in `strftime`.

Enhancements:

- [#&#8203;491](https://redirect.github.com/BurntSushi/jiff/issues/491):
  Avoid cloning `TimeZone` for consuming operations on `Zoned`.

Bug fixes:

- [#&#8203;497](https://redirect.github.com/BurntSushi/jiff/issues/497):
  Fix a panic in `timestamp.strftime("%2s")`.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tomasz (Tom) Kramkowski <tom@astral.sh>
2026-02-17 08:22:35 -06:00
konsti 23234a3c03 Remove duplicate paths in managed Python errors (#18008)
Fixes https://github.com/astral-sh/uv/issues/17988
2026-02-16 17:27:50 +00:00
renovate[bot] 63f6dc6ed5 Update PyO3/maturin-action action to v1.50.0 (#18045)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [PyO3/maturin-action](https://redirect.github.com/PyO3/maturin-action)
| action | minor | `v1.49.4` → `v1.50.0` |

---

### Release Notes

<details>
<summary>PyO3/maturin-action (PyO3/maturin-action)</summary>

###
[`v1.50.0`](https://redirect.github.com/PyO3/maturin-action/releases/tag/v1.50.0)

[Compare
Source](https://redirect.github.com/PyO3/maturin-action/compare/v1.49.4...v1.50.0)

##### What's Changed

- ci: address lint findings, add zizmor workflow by
[@&#8203;woodruffw](https://redirect.github.com/woodruffw) in
[#&#8203;373](https://redirect.github.com/PyO3/maturin-action/pull/373)
- ci: pin dbhi/qus/action to a specific commit by
[@&#8203;woodruffw](https://redirect.github.com/woodruffw) in
[#&#8203;374](https://redirect.github.com/PyO3/maturin-action/pull/374)
- Add write permissions for contents by
[@&#8203;davidhewitt](https://redirect.github.com/davidhewitt) in
[#&#8203;376](https://redirect.github.com/PyO3/maturin-action/pull/376)
- place tool cache versions on path in order from oldest to newest by
[@&#8203;davidhewitt](https://redirect.github.com/davidhewitt) in
[#&#8203;381](https://redirect.github.com/PyO3/maturin-action/pull/381)
- Add alias for riscv on manylinux by
[@&#8203;boosterl](https://redirect.github.com/boosterl) in
[#&#8203;399](https://redirect.github.com/PyO3/maturin-action/pull/399)
- Document how to harden release pipelines by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;400](https://redirect.github.com/PyO3/maturin-action/pull/400)
- Update dependencies to latest versions with ESM and Node 24 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;409](https://redirect.github.com/PyO3/maturin-action/pull/409)

##### New Contributors

- [@&#8203;woodruffw](https://redirect.github.com/woodruffw) made their
first contribution in
[#&#8203;373](https://redirect.github.com/PyO3/maturin-action/pull/373)
- [@&#8203;davidhewitt](https://redirect.github.com/davidhewitt) made
their first contribution in
[#&#8203;376](https://redirect.github.com/PyO3/maturin-action/pull/376)
- [@&#8203;boosterl](https://redirect.github.com/boosterl) made their
first contribution in
[#&#8203;399](https://redirect.github.com/PyO3/maturin-action/pull/399)
- [@&#8203;konstin](https://redirect.github.com/konstin) made their
first contribution in
[#&#8203;400](https://redirect.github.com/PyO3/maturin-action/pull/400)

**Full Changelog**:
<https://github.com/PyO3/maturin-action/compare/v1.49.4...v1.50.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 17:58:30 +01:00
renovate[bot] f7a4cd4c79 Update CodSpeedHQ/action action to v4.10.6 (#18033)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v4.10.4` → `v4.10.6` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/action (CodSpeedHQ/action)</summary>

###
[`v4.10.6`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.10.6)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.5...v4.10.6)

##### Release Notes

##### <!-- 0 -->🚀 Features

- Use codspeed.io installer for cached and authenticated requests by
[@&#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&#8203;187](https://redirect.github.com/CodSpeedHQ/action/pull/187)
- Force necessary flags for `go run` in introspected go by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;238](https://redirect.github.com/CodSpeedHQ/runner/pull/238)
- Bump the stack size for python by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Make python generate perf maps in exec-harness analysis by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Harvest python perf maps after parsing perf data by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Allow memory instrument with exec-harness's integration hook by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Use the new instrument-hooks bindings rather than codspeed core by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)

##### <!-- 1 -->🐛 Bug Fixes

- Panic if integration doesn't support memory profiling by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;239](https://redirect.github.com/CodSpeedHQ/runner/pull/239)
- Allow memtrack caching by resetting .cargo permissions by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;237](https://redirect.github.com/CodSpeedHQ/runner/pull/237)
- Search build directories in sub-folders by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias)
- Handle working-directory option by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias)
- Improve simulation script support and detect subprocesses by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)

##### <!-- 2 -->🏗️ Refactor

- Move common perf-map utility outside of valgrind helpers by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)

##### <!-- 7 -->⚙️ Internals

- chore: bump runner version to 4.10.6 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;188](https://redirect.github.com/CodSpeedHQ/action/pull/188)
- Bump memtrack version
- Add debug logs for harvested bench pids by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Update wording in build.rs by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;235](https://redirect.github.com/CodSpeedHQ/runner/pull/235)
- Use tokio::fs when harvesting perf maps from pids by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Import instrument-hooks bindings from codspeed-rust by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Move small snapshot files out of Git LFS by
[@&#8203;art049](https://redirect.github.com/art049)

##### Install codspeed-runner 4.10.6

##### Install prebuilt binaries via shell script

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-installer.sh | sh
```

##### Download codspeed-runner 4.10.6

| File | Platform | Checksum |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------- |
-------------------------------------------------------------------------------------------------------------------------------------
|
|
[codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-aarch64-unknown-linux-musl.tar.gz)
| ARM64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256)
|
|
[codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-x86_64-unknown-linux-musl.tar.gz)
| x64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256)
|

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

**Full Changelog**:
<https://github.com/CodSpeedHQ/action/compare/v4.10.5...v4.10.6>

###
[`v4.10.5`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.10.5)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.4...v4.10.5)

#### Release Notes

##### <!-- 0 -->🚀 Features

- Support codspeed-node memory profiling by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;228](https://redirect.github.com/CodSpeedHQ/runner/pull/228)

##### <!-- 1 -->🐛 Bug Fixes

- Check benchmark URIs rather than memtrack events by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;230](https://redirect.github.com/CodSpeedHQ/runner/pull/230)
- Do not error out if no head report is present after local run by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;233](https://redirect.github.com/CodSpeedHQ/runner/pull/233)

##### <!-- 7 -->⚙️ Internals

- chore: bump runner version to 4.10.5 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;186](https://redirect.github.com/CodSpeedHQ/action/pull/186)

##### Install prebuilt binaries via shell script

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-installer.sh | sh
```

#### Download codspeed-runner 4.10.5

| File | Platform | Checksum |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------- |
-------------------------------------------------------------------------------------------------------------------------------------
|
|
[codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-aarch64-unknown-linux-musl.tar.gz)
| ARM64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256)
|
|
[codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-x86_64-unknown-linux-musl.tar.gz)
| x64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256)
|

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

**Full Changelog**:
<https://github.com/CodSpeedHQ/action/compare/v4.10.4...v4.10.5>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My4xNS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJidWlsZDpza2lwLXJlbGVhc2UiLCJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 17:57:20 +01:00
konsti ac97bcf232 Don't panic for uv init / --name foo (#17983)
No test since we don't know where the test runner will have access to
`/` or not. I've manually confirmed that `uv init / --name foo` doesn't
panic anymore.

The error message for it is mediocre but passable (same as e.g. `uv init
/usr` on stable, no change just documenting it):

```
error: Failed to initialize Git repository at `/`
stdout:
stderr: /.git: Permission denied
```
2026-02-16 17:40:46 +01:00
Zsolt Dollenstein 4aa60c79c1 Skip workspace members with only gitignored files in subdirectories (#18051)
Followup to #17901.

If a workspace member only contains
`member/some_directory/__pycache__/foo.pyc` (and `__pycache__` is
ignored but `some_directory` isn't, it should still be skipped.

This change means we'll skip members with only empty directories from
now on, but I think that's an OK tradeoff.
2026-02-16 07:35:51 -06:00
renovate[bot] 43e139dd19 Update Rust crate anyhow to v1.0.101 (#18035)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [anyhow](https://redirect.github.com/dtolnay/anyhow) |
workspace.dependencies | patch | `1.0.100` → `1.0.101` |

---

### Release Notes

<details>
<summary>dtolnay/anyhow (anyhow)</summary>

###
[`v1.0.101`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.101)

[Compare
Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.100...1.0.101)

- Add #\[inline] to anyhow::Ok helper
([#&#8203;437](https://redirect.github.com/dtolnay/anyhow/issues/437),
thanks [@&#8203;Ibitier](https://redirect.github.com/Ibitier))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 12:58:58 +00:00
renovate[bot] 0d123986f5 Update Rust crate regex-automata to v0.4.14 (#18038)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[regex-automata](https://redirect.github.com/rust-lang/regex/tree/master/regex-automata)
([source](https://redirect.github.com/rust-lang/regex)) |
workspace.dependencies | patch | `0.4.13` → `0.4.14` |

---

### Release Notes

<details>
<summary>rust-lang/regex (regex-automata)</summary>

###
[`v0.4.14`](https://redirect.github.com/rust-lang/regex/compare/regex-automata-0.4.13...regex-automata-0.4.14)

[Compare
Source](https://redirect.github.com/rust-lang/regex/compare/regex-automata-0.4.13...regex-automata-0.4.14)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 12:25:03 +00:00
renovate[bot] 59f398f34a Update Rust crate tracing-test to v0.2.6 (#18039)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tracing-test](https://redirect.github.com/dbrgn/tracing-test) |
workspace.dependencies | patch | `0.2.5` → `0.2.6` |

---

### Release Notes

<details>
<summary>dbrgn/tracing-test (tracing-test)</summary>

###
[`v0.2.6`](https://redirect.github.com/dbrgn/tracing-test/blob/HEAD/CHANGELOG.md#026---2026-02-08)

[Compare
Source](https://redirect.github.com/dbrgn/tracing-test/compare/v0.2.5...v0.2.6)

- \[change] Enforce version equality between tracing-test and
tracing-test-macro
([#&#8203;57](https://redirect.github.com/dbrgn/tracing-test/issues/57))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 12:20:27 +00:00
renovate[bot] b2435e293d Update Rust crate fs-err to v3.3.0 (#18046)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [fs-err](https://redirect.github.com/andrewhickman/fs-err) |
workspace.dependencies | minor | `3.2.2` → `3.3.0` |

---

### Release Notes

<details>
<summary>andrewhickman/fs-err (fs-err)</summary>

###
[`v3.3.0`](https://redirect.github.com/andrewhickman/fs-err/compare/3.2.2...3.3.0)

[Compare
Source](https://redirect.github.com/andrewhickman/fs-err/compare/3.2.2...3.3.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 12:19:30 +00:00
renovate[bot] 3a07c47b11 Update Rust crate regex to v1.12.3 (#18037)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [regex](https://redirect.github.com/rust-lang/regex) |
workspace.dependencies | patch | `1.12.2` → `1.12.3` |

---

### Release Notes

<details>
<summary>rust-lang/regex (regex)</summary>

###
[`v1.12.3`](https://redirect.github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1123-2025-02-03)

[Compare
Source](https://redirect.github.com/rust-lang/regex/compare/1.12.2...1.12.3)

\===================
This release excludes some unnecessary things from the archive published
to
crates.io. Specifically, fuzzing data and various shell scripts are now
excluded. If you run into problems, please file an issue.

Improvements:

- [#&#8203;1319](https://redirect.github.com/rust-lang/regex/pull/1319):
Switch from a Cargo `exclude` list to an `include` list, and exclude
some
  unnecessary stuff.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 12:17:23 +00:00
renovate[bot] ac24155df5 Update Rust crate memchr to v2.8.0 (#18047)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [memchr](https://redirect.github.com/BurntSushi/memchr) |
workspace.dependencies | minor | `2.7.6` → `2.8.0` |

---

### Release Notes

<details>
<summary>BurntSushi/memchr (memchr)</summary>

###
[`v2.8.0`](https://redirect.github.com/BurntSushi/memchr/compare/2.7.6...2.8.0)

[Compare
Source](https://redirect.github.com/BurntSushi/memchr/compare/2.7.6...2.8.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 12:16:26 +00:00
Tomasz Kramkowski 12e27f7225 Make the uv_build build backend produce wheel and sdist files with 0o666 & !umask permissions on unix platforms again (#18020)
## Summary

Fix #18004.

#17276 introduced a regression since `NamedTempFile::new_in` defaults to
`0o600` permissions. Fortunately `uv_fs` already has a wrapper for a
`new_in` with "normal" permissions this so this PR uses that.

## Test Plan

Reliable testing would require us to support setting a umask for a test
context process which we currently don't have support for and
implementing it is not trivial so for now I just tested this manually.

To test, you can just use:

```bash
#!/usr/bin/env bash

set -e

tempdir=$(mktemp -d)
trap 'rm -rf "$tempdir"' EXIT
uv init --lib "$tempdir"
cd "$tempdir"
uv build
umask
ls -al dist/
```
2026-02-16 12:13:59 +00:00
Tomasz Kramkowski c75a0c625c Bump version to 0.10.3 (#18012) 2026-02-16 10:42:51 +00:00
renovate[bot] b06acf6600 Update dependency astral-sh/uv to v0.10.2 (#18034) 2026-02-16 01:41:42 +00:00
Tomasz Kramkowski 8430dfbb55 Fix the uv format test failures caused by ruff release (#18019)
## Summary

This fixes the snapshots and then sets the date to today so that another
ruff release this month won't cause a problem again.

## Test Plan

Test was re-ran.
2026-02-15 09:20:33 -06:00
konsti 8c8a90306b Update zip crate to <7.2 (#16907) 2026-02-14 19:22:05 -05:00
Zanie Blue e94ea9f371 Use version constraints for default ruff version in uv format (#17977)
Change the default ruff version from a pin at `0.15.0` to a constraint
`>=0.15,<0.16`, allowing patch updates without a uv release. We'll bump
this constraint if there are no breaking formatter changes.
2026-02-13 17:00:21 -06:00
konsti 1aa89dfa39 Downgrade ubuntu runner to align with codspeed (#18011)
Follow-up to https://github.com/astral-sh/uv/pull/17995 to fix benchmark
running, codspeed-macro is based on an older glibc version not
compatible with Ubuntu 24.04.
2026-02-13 16:37:18 +00:00
konsti 2a86a4b6f7 More resilient retry timer (#18007)
Small order of operations fix.
2026-02-13 15:34:49 +01:00
renovate[bot] b1f647f3e9 Update Rust crate flate2 to v1.1.9 (#17686)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [flate2](https://redirect.github.com/rust-lang/flate2-rs) |
workspace.dependencies | patch | `1.1.5` → `1.1.9` |

---

### Release Notes

<details>
<summary>rust-lang/flate2-rs (flate2)</summary>

###
[`v1.1.9`](https://redirect.github.com/rust-lang/flate2-rs/releases/tag/1.1.9):
- upgrade zlib-rs to version `0.6.0`

[Compare
Source](https://redirect.github.com/rust-lang/flate2-rs/compare/1.1.8...1.1.9)

#### What's Changed

- use `zlib-rs` for crc32 (when available) by
[@&#8203;folkertdev](https://redirect.github.com/folkertdev) in
[#&#8203;526](https://redirect.github.com/rust-lang/flate2-rs/pull/526)
- Add tests to check data CRC by
[@&#8203;jongiddy](https://redirect.github.com/jongiddy) in
[#&#8203;527](https://redirect.github.com/rust-lang/flate2-rs/pull/527)
- update LICENSE-MIT by [@&#8203;wgyt](https://redirect.github.com/wgyt)
in
[#&#8203;528](https://redirect.github.com/rust-lang/flate2-rs/pull/528)
- upgrade zlib-rs to version `0.6.0` by
[@&#8203;folkertdev](https://redirect.github.com/folkertdev) in
[#&#8203;529](https://redirect.github.com/rust-lang/flate2-rs/pull/529)

#### New Contributors

- [@&#8203;wgyt](https://redirect.github.com/wgyt) made their first
contribution in
[#&#8203;528](https://redirect.github.com/rust-lang/flate2-rs/pull/528)

**Full Changelog**:
<https://github.com/rust-lang/flate2-rs/compare/1.1.8...1.1.9>

###
[`v1.1.8`](https://redirect.github.com/rust-lang/flate2-rs/releases/tag/1.1.8)

[Compare
Source](https://redirect.github.com/rust-lang/flate2-rs/compare/1.1.7...1.1.8)

#### What's Changed

- Document feature flags using document-features crate by
[@&#8203;Copilot](https://redirect.github.com/Copilot) in
[#&#8203;519](https://redirect.github.com/rust-lang/flate2-rs/pull/519)
- Complete the zlib-rs support without the need for C-bindings by
[@&#8203;Byron](https://redirect.github.com/Byron) in
[#&#8203;524](https://redirect.github.com/rust-lang/flate2-rs/pull/524)
- test zlib API for all compatible backends by
[@&#8203;Byron](https://redirect.github.com/Byron) in
[#&#8203;525](https://redirect.github.com/rust-lang/flate2-rs/pull/525)

#### New Contributors

- [@&#8203;Copilot](https://redirect.github.com/Copilot) made their
first contribution in
[#&#8203;519](https://redirect.github.com/rust-lang/flate2-rs/pull/519)

**Full Changelog**:
<https://github.com/rust-lang/flate2-rs/compare/1.1.7...1.1.8>

###
[`v1.1.7`](https://redirect.github.com/rust-lang/flate2-rs/releases/tag/1.1.7):
- depend on `zlib-rs` directly and remove `libz-rs-sys`

[Compare
Source](https://redirect.github.com/rust-lang/flate2-rs/compare/1.1.6...1.1.7)

#### What's Changed

- chore: make some documents clearer by
[@&#8203;reddaisyy](https://redirect.github.com/reddaisyy) in
[#&#8203;510](https://redirect.github.com/rust-lang/flate2-rs/pull/510)
- Explain rationale for choosing bufread,read,write modules by
[@&#8203;jongiddy](https://redirect.github.com/jongiddy) in
[#&#8203;512](https://redirect.github.com/rust-lang/flate2-rs/pull/512)
- use Decompress::reset() instead of recreating in DeflateDecoder by
[@&#8203;amirshukayev](https://redirect.github.com/amirshukayev) in
[#&#8203;514](https://redirect.github.com/rust-lang/flate2-rs/pull/514)
- use `zlib_rs` api by
[@&#8203;folkertdev](https://redirect.github.com/folkertdev) in
[#&#8203;513](https://redirect.github.com/rust-lang/flate2-rs/pull/513)

#### New Contributors

- [@&#8203;reddaisyy](https://redirect.github.com/reddaisyy) made their
first contribution in
[#&#8203;510](https://redirect.github.com/rust-lang/flate2-rs/pull/510)
- [@&#8203;amirshukayev](https://redirect.github.com/amirshukayev) made
their first contribution in
[#&#8203;514](https://redirect.github.com/rust-lang/flate2-rs/pull/514)

**Full Changelog**:
<https://github.com/rust-lang/flate2-rs/compare/1.1.5...1.1.6>

###
[`v1.1.6`](https://redirect.github.com/rust-lang/flate2-rs/releases/tag/1.1.6):
- YANKED

[Compare
Source](https://redirect.github.com/rust-lang/flate2-rs/compare/1.1.5...1.1.6)

It caused
[#&#8203;515](https://redirect.github.com/rust-lang/flate2-rs/issues/515).

#### What's Changed

- chore: make some documents clearer by
[@&#8203;reddaisyy](https://redirect.github.com/reddaisyy) in
[#&#8203;510](https://redirect.github.com/rust-lang/flate2-rs/pull/510)
- Explain rationale for choosing bufread,read,write modules by
[@&#8203;jongiddy](https://redirect.github.com/jongiddy) in
[#&#8203;512](https://redirect.github.com/rust-lang/flate2-rs/pull/512)
- use Decompress::reset() instead of recreating in DeflateDecoder by
[@&#8203;amirshukayev](https://redirect.github.com/amirshukayev) in
[#&#8203;514](https://redirect.github.com/rust-lang/flate2-rs/pull/514)
- use `zlib_rs` api by
[@&#8203;folkertdev](https://redirect.github.com/folkertdev) in
[#&#8203;513](https://redirect.github.com/rust-lang/flate2-rs/pull/513)

#### New Contributors

- [@&#8203;reddaisyy](https://redirect.github.com/reddaisyy) made their
first contribution in
[#&#8203;510](https://redirect.github.com/rust-lang/flate2-rs/pull/510)
- [@&#8203;amirshukayev](https://redirect.github.com/amirshukayev) made
their first contribution in
[#&#8203;514](https://redirect.github.com/rust-lang/flate2-rs/pull/514)

**Full Changelog**:
<https://github.com/rust-lang/flate2-rs/compare/1.1.5...1.1.6>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: konstin <konstin@mailbox.org>
2026-02-13 13:14:13 +00:00
William Woodruff 1e64e75c9b Bump depot ubuntu runners to 24.04 (#17995) 2026-02-13 08:11:58 -05:00
William Woodruff 04b6d8fadf Remove docker-run-action (#17994) 2026-02-13 08:11:39 -05:00
renovate[bot] 4e0edc147e Update actions/setup-python action to v6.2.0 (#17926)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/setup-python](https://redirect.github.com/actions/setup-python)
| action | minor | `v6.1.0` → `v6.2.0` |

---

### Release Notes

<details>
<summary>actions/setup-python (actions/setup-python)</summary>

###
[`v6.2.0`](https://redirect.github.com/actions/setup-python/compare/v6.1.0...v6.2.0)

[Compare
Source](https://redirect.github.com/actions/setup-python/compare/v6.1.0...v6.2.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-13 13:13:41 +01:00
Tomasz Kramkowski f34b9d7437 Use inheritance for nextest CI profiles (#17980)
## Summary

With #17250 closed, we can now use inheritance for the nextest CI
profiles.

## Test Plan

Testing in CI (needs manual review of the output to ensure the settings
got applied as we expect).
2026-02-13 09:58:39 +00:00
Zanie Blue 4432588c78 Use trixie instead of bookworm in the docs (#17991)
Co-authored-by: Claude <noreply@anthropic.com>
2026-02-12 17:16:51 -05:00
cui 4ce3853c52 Do not match cpython 3.10 for cpython-3.1 (#17972)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->
bug fix, in find version 3.1 should not match 3.10

## Test Plan

<!-- How was it tested? -->

---------

Co-authored-by: konstin <konstin@mailbox.org>
Co-authored-by: Zanie Blue <contact@zanie.dev>
2026-02-12 17:46:40 +00:00
Zanie Blue 33a8132b87 Fix handling of --allow-existing with minor version links on Windows (#17978)
Closes #17963
2026-02-12 11:30:36 -06:00
konsti 7cd6738def Reject u64::MAX in version segments to prevent overflow (#17985)
Version segments (release, epoch, pre/post/dev) are now limited to
`u64::MAX - 1` (18446744073709551614) to prevent overflow in `segment +
1` (e.g., `~=` upper bound, `==*`/`!=*` upper bound, `>` with dev/post
releases, `python_version` marker algebra).

The check is placed in `parse_number` (not `parse_u64`) so it only
applies to version segments parsed through the PEP 440 version parser,
not to local version segment numbers, for which we don't need to compute
an above bound.
2026-02-12 11:24:22 -06:00
Jonathan J. Helmus 6663f8899d Add CPython 3.15.0a6 (#17987)
Update available python versions to include CPython 3.15.0a6
Update scripts used to sync pbs releases to account for recent changes
in the repo and to support running on macOS.
2026-02-12 11:23:41 -06:00
Zanie Blue 4905112498 Use local proxies instead of pypi-proxy.fly.dev for tests (#17948)
The downside here is that we lose `https://` coverage, but I think it's
worth it.

We've seen frequent test disruptions from fly.io being down, and it's
always better for the test suite to be more self-contained. These test
cases predated us having wiremock patterns in the suite, but now it's
common.
2026-02-12 11:23:16 -06:00
konsti 4cd9942391 Log which preview features are enabled (#17968)
For https://github.com/astral-sh/uv/issues/17964 /
https://github.com/astral-sh/uv/pull/17965. Logging now gets initialized
earlier to cover more of the startup procedure.

Also decrease the log level for lock acquisition from debug to trace,
that happy path usually isn't relevant.

```
$ cargo run -q pip install tqdm -v
  DEBUG uv 0.10.2+7 (cc6e7a600 2026-02-11)
  DEBUG Searching for default Python interpreter in virtual environments
  DEBUG Found `cpython-3.14.0-linux-x86_64-gnu` at `/home/konsti/projects/uv/.venv/bin/python3` (virtual environment)
  DEBUG Using Python 3.14.0 environment at: .venv
  DEBUG Requirement satisfied: tqdm
  Audited 1 package in 2ms
```

```
$ cargo run -q pip install tqdm -v --preview
  DEBUG uv 0.10.2+7 (cc6e7a600 2026-02-11)
  DEBUG All preview features are enabled
  DEBUG Searching for default Python interpreter in virtual environments
  DEBUG Found `cpython-3.14.0-linux-x86_64-gnu` at `/home/konsti/projects/uv/.venv/bin/python3` (virtual environment)
  DEBUG Using Python 3.14.0 environment at: .venv
  DEBUG Requirement satisfied: tqdm
  Audited 1 package in 2ms
```

```
$ cargo run -q pip install tqdm -v --preview-features target-workspace-discovery
  DEBUG uv 0.10.2+7 (cc6e7a600 2026-02-11)
  DEBUG The following preview features are enabled: target-workspace-discovery
  DEBUG Searching for default Python interpreter in virtual environments
  DEBUG Found `cpython-3.14.0-linux-x86_64-gnu` at `/home/konsti/projects/uv/.venv/bin/python3` (virtual environment)
  DEBUG Using Python 3.14.0 environment at: .venv
  DEBUG Requirement satisfied: tqdm
  Audited 1 package in 1ms
```
2026-02-12 10:49:49 +00:00
renovate[bot] 41866c96ab Update Rust crate clap to v4.5.57 (#17919)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [clap](https://redirect.github.com/clap-rs/clap) |
workspace.dependencies | patch | `4.5.54` → `4.5.57` | `4.5.58` |

---

### Release Notes

<details>
<summary>clap-rs/clap (clap)</summary>

###
[`v4.5.57`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4557---2026-02-03)

[Compare
Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.56...v4.5.57)

##### Fixes

- Regression from 4.5.55 where having an argument with
`.value_terminator("--")` caused problems with an argument with
`.last(true)`

###
[`v4.5.56`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4556---2026-01-29)

[Compare
Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.55...v4.5.56)

##### Fixes

- On conflict error, don't show conflicting arguments in the usage

###
[`v4.5.55`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4555---2026-01-27)

[Compare
Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.54...v4.5.55)

##### Fixes

- Fix inconsistency in precedence between positionals with a
`value_terminator("--")` and escapes (`--`) where `./foo -- bar` means
the first arg is empty, rather than escaping future args

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-12 00:10:39 +00:00
renovate[bot] 7ec2097d7d Update docker/login-action action to v3.7.0 (#17931)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker/login-action](https://redirect.github.com/docker/login-action)
| action | minor | `v3.6.0` → `v3.7.0` |

---

### Release Notes

<details>
<summary>docker/login-action (docker/login-action)</summary>

###
[`v3.7.0`](https://redirect.github.com/docker/login-action/releases/tag/v3.7.0)

[Compare
Source](https://redirect.github.com/docker/login-action/compare/v3.6.0...v3.7.0)

- Add `scope` input to set scopes for the authentication token by
[@&#8203;crazy-max](https://redirect.github.com/crazy-max) in
[#&#8203;912](https://redirect.github.com/docker/login-action/pull/912)
- Add support for AWS European Sovereign Cloud ECR by
[@&#8203;dphi](https://redirect.github.com/dphi) in
[#&#8203;914](https://redirect.github.com/docker/login-action/pull/914)
- Ensure passwords are redacted with `registry-auth` input by
[@&#8203;crazy-max](https://redirect.github.com/crazy-max) in
[#&#8203;911](https://redirect.github.com/docker/login-action/pull/911)
- build(deps): bump lodash from 4.17.21 to 4.17.23 in
[#&#8203;915](https://redirect.github.com/docker/login-action/pull/915)

**Full Changelog**:
<https://github.com/docker/login-action/compare/v3.6.0...v3.7.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 18:00:01 -06:00
renovate[bot] ff577a2edf Update astral-sh/setup-uv action to v7.3.0 (#17927)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) |
action | minor | `v7.2.1` → `v7.3.0` |

---

### Release Notes

<details>
<summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary>

###
[`v7.3.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.3.0):
🌈 New features and bug fixes for activate-environment

[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2.1...v7.3.0)

#### Changes

This release contains a few bug fixes and a new feature for the
activate-environment functionality.

#### 🐛 Bug fixes

- fix: warn instead of error when no python to cache
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;762](https://redirect.github.com/astral-sh/setup-uv/issues/762))
- fix: use --clear to create venv
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;761](https://redirect.github.com/astral-sh/setup-uv/issues/761))

#### 🚀 Enhancements

- feat: add venv-path input for activate-environment
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;746](https://redirect.github.com/astral-sh/setup-uv/issues/746))

#### 🧰 Maintenance

- chore: update known checksums for 0.10.0
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#&#8203;759](https://redirect.github.com/astral-sh/setup-uv/issues/759))
- refactor: tilde-expansion tests as unittests and no self-hosted tests
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;760](https://redirect.github.com/astral-sh/setup-uv/issues/760))
- chore: update known checksums for 0.9.30
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#&#8203;756](https://redirect.github.com/astral-sh/setup-uv/issues/756))
- chore: update known checksums for 0.9.29
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#&#8203;748](https://redirect.github.com/astral-sh/setup-uv/issues/748))

#### 📚 Documentation

- Fix punctuation
[@&#8203;pm-dev563](https://redirect.github.com/pm-dev563)
([#&#8203;747](https://redirect.github.com/astral-sh/setup-uv/issues/747))

#### ⬆️ Dependency updates

- Bump typesafegithub/github-actions-typing from 2.2.1 to 2.2.2
@&#8203;[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#&#8203;753](https://redirect.github.com/astral-sh/setup-uv/issues/753))
- Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0
@&#8203;[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#&#8203;751](https://redirect.github.com/astral-sh/setup-uv/issues/751))
- Bump actions/checkout from 6.0.1 to 6.0.2
@&#8203;[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#&#8203;740](https://redirect.github.com/astral-sh/setup-uv/issues/740))
- Bump release-drafter/release-drafter from 6.1.0 to 6.2.0
@&#8203;[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#&#8203;743](https://redirect.github.com/astral-sh/setup-uv/issues/743))
- Bump eifinger/actionlint-action from 1.9.3 to 1.10.0
@&#8203;[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#&#8203;731](https://redirect.github.com/astral-sh/setup-uv/issues/731))
- Bump actions/setup-node from 6.1.0 to 6.2.0
@&#8203;[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#&#8203;738](https://redirect.github.com/astral-sh/setup-uv/issues/738))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 17:59:49 -06:00
renovate[bot] c8703a1eaa Update Rust crate rcgen to v0.14.7 (#17923)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rcgen](https://redirect.github.com/rustls/rcgen) |
workspace.dependencies | patch | `0.14.6` → `0.14.7` |

---

### Release Notes

<details>
<summary>rustls/rcgen (rcgen)</summary>

###
[`v0.14.7`](https://redirect.github.com/rustls/rcgen/releases/tag/v0.14.7):
0.14.7

[Compare
Source](https://redirect.github.com/rustls/rcgen/compare/v0.14.6...v0.14.7)

##### What's Changed

- Implement `From<KeyPair> for PrivateKeyDer<'static>` by
[@&#8203;LebedevRI](https://redirect.github.com/LebedevRI) in
[#&#8203;403](https://redirect.github.com/rustls/rcgen/pull/403)
- update copyright year in LICENSE by
[@&#8203;jasmyhigh](https://redirect.github.com/jasmyhigh) in
[#&#8203;407](https://redirect.github.com/rustls/rcgen/pull/407)
- Add P521-SHA256 and P521-SHA384 signing algorithms by
[@&#8203;djc](https://redirect.github.com/djc) in
[#&#8203;408](https://redirect.github.com/rustls/rcgen/pull/408)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 23:01:43 +00:00
konsti 89c8bc216a Make trampoline error messages consistent with uv proper (#17969)
Follow the same style we use in uv proper in the trampoline. See also
https://github.com/astral-sh/uv/issues/17966.

We can't really test them as they are not supposed to happen.
2026-02-11 17:02:02 +00:00
Zanie Blue d07c5cf510 Add support for ruff version constraints and exclude-newer in uv format (#17651)
I'm picking up some pretty old work here prompted by
https://github.com/astral-sh/setup-uv/pull/737 and a desire to be able
to fetch newer `python-build-standalone` versions.

Previously, we only supported a static version which means we can
construct a known GitHub asset URL trivially. However, to support the
"latest" version or version constraints, we need a registry with
metadata. The GitHub API is notoriously rate limited, so we don't want
to use that. It'd be great to use PyPI (and more broadly, the resolver),
but I don't want to introduce it in this code path yet. Instead, this
hits https://github.com/astral-sh/versions in order to determine the
available versions. We stream the NDJSON line by line to avoid
downloading the whole file in order to read one version.

Loosely requires https://github.com/astral-sh/uv/pull/17648 to reach
production and be ported to `ruff`, though it's not a blocker.
2026-02-11 10:54:01 -06:00
konsti 84d6e5d7c1 Fix panic in debug! log (#17974) 2026-02-11 13:45:29 +00:00
konsti 18bcd473b5 Fix parent path handling with bare scripts (#17965)
Rust gotcha: the parent of a bare filename (e.g. script.py) is Some(""),
not None, and calling std::path::absolute on it fails.
2026-02-11 10:45:38 +00:00
renovate[bot] cc6e7a6008 Update Rust crate proc-macro2 to v1.0.106 (#17921)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [proc-macro2](https://redirect.github.com/dtolnay/proc-macro2) |
workspace.dependencies | patch | `1.0.105` → `1.0.106` |

---

### Release Notes

<details>
<summary>dtolnay/proc-macro2 (proc-macro2)</summary>

###
[`v1.0.106`](https://redirect.github.com/dtolnay/proc-macro2/releases/tag/1.0.106)

[Compare
Source](https://redirect.github.com/dtolnay/proc-macro2/compare/1.0.105...1.0.106)

- Optimize `Span::byte_range`
([#&#8203;530](https://redirect.github.com/dtolnay/proc-macro2/issues/530))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 00:05:21 +00:00