Skip to content

build(deps): bump astral-sh/setup-uv from 6 to 7#1

Merged
ubmarco merged 1 commit into
mainfrom
dependabot/github_actions/astral-sh/setup-uv-7
May 21, 2026
Merged

build(deps): bump astral-sh/setup-uv from 6 to 7#1
ubmarco merged 1 commit into
mainfrom
dependabot/github_actions/astral-sh/setup-uv-7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Bumps astral-sh/setup-uv from 6 to 7.

Release notes

Sourced from astral-sh/setup-uv's releases.

v7.2.1 🌈 update known checksums up to 0.9.28

Changes

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v7.0.0 🌈 node24 and a lot of bugfixes

Changes

This release comes with a load of bug fixes and a speed up. Because of switching from node20 to node24 it is also a breaking change. If you are running on GitHub hosted runners this will just work, if you are using self-hosted runners make sure, that your runners are up to date. If you followed the normal installation instructions your self-hosted runner will keep itself updated.

This release also removes the deprecated input server-url which was used to download uv releases from a different server. The manifest-file input supersedes that functionality by adding a flexible way to define available versions and where they should be downloaded from.

Fixes

  • The action now respects when the environment variable UV_CACHE_DIR is already set and does not overwrite it. It now also finds cache-dir settings in config files if you set them.
  • Some users encountered problems that cache pruning took forever because they had some uv processes running in the background. Starting with uv version 0.8.24 this action uses uv cache prune --ci --force to ignore the running processes
  • If you just want to install uv but not have it available in path, this action now respects UV_NO_MODIFY_PATH
  • Some other actions also set the env var UV_CACHE_DIR. This action can now deal with that but as this could lead to unwanted behavior in some edgecases a warning is now displayed.

Improvements

If you are using minimum version specifiers for the version of uv to install for example

[tool.uv]
required-version = ">=0.8.17"

This action now detects that and directly uses the latest version. Previously it would download all available releases from the uv repo to determine the highest matching candidate for the version specifier, which took much more time.

If you are using other specifiers like 0.8.x this action still needs to download all available releases because the specifier defines an upper bound (not 0.9.0 or later) and "latest" would possibly not satisfy that.

🚨 Breaking changes

... (truncated)

Commits
  • 37802ad Fetch uv from Astral's mirror by default (#809)
  • 9f00d18 chore(deps): bump zizmorcore/zizmor-action from 0.5.0 to 0.5.2 (#808)
  • fd8f376 Switch to ESM for source and test, use CommonJS for dist (#806)
  • f9070de Bump deps (#805)
  • cadb67b chore: update known checksums for 0.10.10 (#804)
  • e06108d Use astral-sh/versions as primary version provider (#802)
  • 0f6ec07 docs: replace copilot instructions with AGENTS.md (#794)
  • 821e5c9 docs: add cross-client dependabot rollup skill (#793)
  • 6ee6290 chore(deps): bump versions (#792)
  • 9f332a1 Add riscv64 architecture support to platform detection (#791)
  • Additional commits viewable in compare view

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 21, 2026

Labels

The following labels could not be found: ci, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

ubmarco added a commit that referenced this pull request May 21, 2026
## Summary

-
`tests/test_config.py::TestLoadMountsFromToml::test_absolute_paths_pass_through_unchanged`
interpolated a Windows `tmp_path`
(`C:\Users\runneradmin\AppData\Local\…`) into a TOML **basic** string.
The TOML parser sees `\U` and tries to read 8 hex digits for a
`\Uxxxxxxxx` escape, finds `sers…`, and raises `Invalid hex value (at
line 2, column 12)` before `load_mounts_from_toml` returns.
- Fix: switch the two interpolated values to TOML **literal** strings
(single quotes), where backslashes are taken verbatim. The round-trip
assertion still holds — literal strings preserve their content
byte-for-byte, so the absolute path the test wrote equals what the
loader gives back.
- Unblocks the Windows pytest cell of `ci.yml`, currently red on `main`
and on #1 (dependabot `setup-uv` 6→7). #1 only surfaces this
pre-existing test bug; it did not cause it.

## Failure on `main` (run 26251744910)

```
src = '[[mounts]]\ndir = "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\…\\abs"\nmount_at = "_g/abs"\n'
pos = 22, hex_len = 8
E   tomllib.TOMLDecodeError: Invalid hex value (at line 2, column 12)
```

## Test plan

- [x] `uv run pytest tests/test_config.py -q` (Linux) — 58 passed
- [x] `uv run --frozen prek run --all-files` — all hooks pass
- [x] CI Windows pytest cell goes green on this PR
- [ ] Rebase / re-run of #1 against new `main` after merge → all green
@ubmarco
Copy link
Copy Markdown
Member

ubmarco commented May 21, 2026

@dependabot rebase

Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@v6...v7)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/astral-sh/setup-uv-7 branch from e5884e5 to b988cf6 Compare May 21, 2026 20:58
@ubmarco ubmarco self-requested a review May 21, 2026 21:05
@ubmarco ubmarco merged commit 7e523cf into main May 21, 2026
11 checks passed
@ubmarco ubmarco deleted the dependabot/github_actions/astral-sh/setup-uv-7 branch May 21, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant