Skip to content

[github-actions] Bump astral-sh/setup-uv from 5 to 7#166

Merged
AndreiDrang merged 1 commit intomainfrom
dependabot/github_actions/astral-sh/setup-uv-7
Mar 16, 2026
Merged

[github-actions] Bump astral-sh/setup-uv from 5 to 7#166
AndreiDrang merged 1 commit intomainfrom
dependabot/github_actions/astral-sh/setup-uv-7

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2026

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

Release notes

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

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

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

... (truncated)

Commits
  • 61cb8a9 add outputs python-version and python-cache-hit (#728)
  • 11050ed fix: use uv_build backend for old-python-constraint-project (#729)
  • 1d22faf Bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 (#719)
  • f4ed82a Bump github/codeql-action from 4.31.6 to 4.31.9 (#723)
  • e0409b4 chore: update known checksums for 0.9.22 (#727)
  • 702b425 chore: update known checksums for 0.9.21 (#726)
  • 2630c86 chore: update known checksums for 0.9.20 (#725)
  • 45cfcb3 Add action typings with validation (#721)
  • ce0a899 chore: update known checksums for 0.9.18 (#718)
  • 9c8d030 chore: remove stray space from UV_PYTHON_INSTALL_DIR message (#720)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🤖 Z.ai Auto-generated Description:

🚀 Overview

Update the astral-sh/setup-uv GitHub Action to the latest major version to ensure the CI pipeline utilizes the most recent features and stability improvements.

⚙️ Infrastructure & Tooling

  • Bump astral-sh/setup-uv from v5 to v7

Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5 to 7.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@v5...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 added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jan 14, 2026
@AndreiDrang
Copy link
Owner

/zai describe

@github-actions
Copy link

🤖 Reviewing /zai describe...

@github-actions
Copy link

✅ I have successfully updated the PR description based on your commits!

@AndreiDrang
Copy link
Owner

/zai help

@github-actions
Copy link

🤖 Reviewing /zai help...

@github-actions
Copy link

Z.ai Help

Available commands:

  • /zai ask <question> - Ask a question about the code
  • /zai review <path> - Request a code review for a specific file
  • /zai explain <lines> - Explain specific lines (e.g., 10-15)
  • /zai describe - Generate PR description from commits
  • /zai impact - Analyze the potential impact of changes
  • /zai help - Show this help message

- uses: actions/checkout@v6
- name: Set up uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/zai explain

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Reviewing /zai explain...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error: Request timed out (tried compact prompt)

@AndreiDrang AndreiDrang merged commit 04e1377 into main Mar 16, 2026
15 of 16 checks passed
@dependabot dependabot bot deleted the dependabot/github_actions/astral-sh/setup-uv-7 branch March 16, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant