Commit 71c6997
authored
ci(action): update astral-sh/setup-uv action to v7.1.6 (#417)
This PR contains the following updates:
| Package | Type | Update | Change | Pending | OpenSSF |
|---|---|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) |
action | minor | `v7` -> `v7.1.6` | `v7.2.0` | [](https://securityscorecards.dev/viewer/?uri=github.com/astral-sh/setup-uv)
|
---
### Release Notes
<details>
<summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary>
###
[`v7.1.6`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.6):
🌈 add OS version to cache key to prevent binary incompatibility
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.5...v7.1.6)
#### Changes
This release will invalidate your cache existing keys!
The os version e.g. `ubuntu-22.04` is now part of the cache key. This
prevents failing builds when a cache got populated with wheels built
with different tools (e.g. glibc) than are present on the runner where
the cache got restored.
#### 🐛 Bug fixes
- feat: add OS version to cache key to prevent binary incompatibility
[@​eifinger](https://redirect.github.com/eifinger)
([#​716](https://redirect.github.com/astral-sh/setup-uv/issues/716))
#### 🧰 Maintenance
- chore: update known checksums for 0.9.17
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​714](https://redirect.github.com/astral-sh/setup-uv/issues/714))
#### ⬆️ Dependency updates
- Bump actions/checkout from 5.0.0 to 6.0.1
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​712](https://redirect.github.com/astral-sh/setup-uv/issues/712))
- Bump actions/setup-node from 6.0.0 to 6.1.0
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​715](https://redirect.github.com/astral-sh/setup-uv/issues/715))
###
[`v7.1.5`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.5):
🌈 allow setting `cache-local-path` without `enable-cache: true`
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.4...v7.1.5)
#### Changes
[#​612](https://redirect.github.com/astral-sh/setup-uv/pull/612)
fixed a faulty behavior where this action set `UV_CACHE_DIR` even though
`enable-cache` was `false`. It also fixed the cases were the cache dir
is already configured in a settings file like `pyproject.toml` or
`UV_CACHE_DIR` was already set. Here the action shouldn't overwrite or
set `UV_CACHE_DIR`.
These fixes introduced an unwanted behavior: You can still set
`cache-local-path` but this action didn't do anything. This release
fixes that.
You can now use `cache-local-path` to automatically set `UV_CACHE_DIR`
even when `enable-cache` is `false` (or gets set to false by default
e.g. on self-hosted runners)
```yaml
- name: This is now possible
uses: astral-sh/setup-uv@v7
with:
enable-cache: false
cache-local-path: "/path/to/cache"
```
#### 🐛 Bug fixes
- allow cache-local-path w/o enable-cache
[@​eifinger](https://redirect.github.com/eifinger)
([#​707](https://redirect.github.com/astral-sh/setup-uv/issues/707))
#### 🧰 Maintenance
- set biome files.maxSize to 2MiB
[@​eifinger](https://redirect.github.com/eifinger)
([#​708](https://redirect.github.com/astral-sh/setup-uv/issues/708))
- chore: update known checksums for 0.9.16
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​706](https://redirect.github.com/astral-sh/setup-uv/issues/706))
- chore: update known checksums for 0.9.15
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​704](https://redirect.github.com/astral-sh/setup-uv/issues/704))
- chore: use `npm ci --ignore-scripts` everywhere
[@​woodruffw](https://redirect.github.com/woodruffw)
([#​699](https://redirect.github.com/astral-sh/setup-uv/issues/699))
- chore: update known checksums for 0.9.14
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​700](https://redirect.github.com/astral-sh/setup-uv/issues/700))
- chore: update known checksums for 0.9.13
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​694](https://redirect.github.com/astral-sh/setup-uv/issues/694))
- chore: update known checksums for 0.9.12
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​693](https://redirect.github.com/astral-sh/setup-uv/issues/693))
- chore: update known checksums for 0.9.11
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​688](https://redirect.github.com/astral-sh/setup-uv/issues/688))
#### ⬆️ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.8 to 7.0.9
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​695](https://redirect.github.com/astral-sh/setup-uv/issues/695))
- bump dependencies
[@​eifinger](https://redirect.github.com/eifinger)
([#​709](https://redirect.github.com/astral-sh/setup-uv/issues/709))
- Bump github/codeql-action from 4.30.9 to 4.31.6
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​698](https://redirect.github.com/astral-sh/setup-uv/issues/698))
- Bump zizmorcore/zizmor-action from 0.2.0 to 0.3.0
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​696](https://redirect.github.com/astral-sh/setup-uv/issues/696))
- Bump eifinger/actionlint-action from 1.9.2 to 1.9.3
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​690](https://redirect.github.com/astral-sh/setup-uv/issues/690))
###
[`v7.1.4`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.4):
🌈 Fix libuv closing bug on Windows
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.3...v7.1.4)
#### Changes
This release fixes the bug `Assertion failed: !(handle->flags &
UV_HANDLE_CLOSING)` on Windows runners
#### 🐛 Bug fixes
- Wait 50ms before exit to fix libuv bug
[@​eifinger](https://redirect.github.com/eifinger)
([#​689](https://redirect.github.com/astral-sh/setup-uv/issues/689))
#### 🧰 Maintenance
- chore: update known checksums for 0.9.10
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​681](https://redirect.github.com/astral-sh/setup-uv/issues/681))
- chore: update known checksums for 0.9.9
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​679](https://redirect.github.com/astral-sh/setup-uv/issues/679))
###
[`v7.1.3`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.3):
🌈 Support act
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.2...v7.1.3)
#### Changes
This bug fix release adds support for <https://github.com/nektos/act>
It was previously broken because of a too new `undici` version and TS
transpilation target.
Compatibility with act is now automatically tested.
#### 🐛 Bug fixes
- use old undici and ES2022 target for act support
[@​eifinger](https://redirect.github.com/eifinger)
([#​678](https://redirect.github.com/astral-sh/setup-uv/issues/678))
#### 🧰 Maintenance
- chore: update known checksums for 0.9.8
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​677](https://redirect.github.com/astral-sh/setup-uv/issues/677))
- chore: update known checksums for 0.9.7
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​671](https://redirect.github.com/astral-sh/setup-uv/issues/671))
- chore: update known checksums for 0.9.6
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​670](https://redirect.github.com/astral-sh/setup-uv/issues/670))
#### 📚 Documentation
- Correct description of `cache-dependency-glob`
[@​allanlewis](https://redirect.github.com/allanlewis)
([#​676](https://redirect.github.com/astral-sh/setup-uv/issues/676))
###
[`v7.1.2`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.2):
🌈 Speed up extraction on Windows
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.1...v7.1.2)
#### Changes
[@​lazka](https://redirect.github.com/lazka) fixed a bug that
caused extracting uv to take up to 30s. Thank you!
#### 🐛 Bug fixes
- Use tar for extracting the uv zip file on Windows too
[@​lazka](https://redirect.github.com/lazka)
([#​660](https://redirect.github.com/astral-sh/setup-uv/issues/660))
#### 🧰 Maintenance
- chore: update known checksums for 0.9.5
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​663](https://redirect.github.com/astral-sh/setup-uv/issues/663))
#### ⬆️ Dependency updates
- Bump dependencies
[@​eifinger](https://redirect.github.com/eifinger)
([#​664](https://redirect.github.com/astral-sh/setup-uv/issues/664))
- Bump github/codeql-action from 4.30.8 to 4.30.9
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​652](https://redirect.github.com/astral-sh/setup-uv/issues/652))
###
[`v7.1.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.1):
🌈 Fix empty workdir detection and lowest resolution strategy
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.0...v7.1.1)
#### Changes
This release fixes a bug where the `working-directory` input was not
used to detect an empty work dir. It also fixes the `lowest` resolution
strategy resolving to latest when only a lower bound was specified.
Special thanks to
[@​tpgillam](https://redirect.github.com/tpgillam) for the first
contribution!
#### 🐛 Bug fixes
- Fix "lowest" resolution strategy with lower-bound only
[@​tpgillam](https://redirect.github.com/tpgillam)
([#​649](https://redirect.github.com/astral-sh/setup-uv/issues/649))
- Use working-directory to detect empty workdir
[@​eifinger](https://redirect.github.com/eifinger)
([#​645](https://redirect.github.com/astral-sh/setup-uv/issues/645))
#### 🧰 Maintenance
- chore: update known checksums for 0.9.4
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​651](https://redirect.github.com/astral-sh/setup-uv/issues/651))
- chore: update known checksums for 0.9.3
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​644](https://redirect.github.com/astral-sh/setup-uv/issues/644))
#### 📚 Documentation
- Change version in docs to v7
[@​eifinger](https://redirect.github.com/eifinger)
([#​647](https://redirect.github.com/astral-sh/setup-uv/issues/647))
#### ⬆️ Dependency updates
- Bump github/codeql-action from 4.30.7 to 4.30.8
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​639](https://redirect.github.com/astral-sh/setup-uv/issues/639))
- Bump actions/setup-node from 5.0.0 to 6.0.0
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​641](https://redirect.github.com/astral-sh/setup-uv/issues/641))
- Bump eifinger/actionlint-action from 1.9.1 to 1.9.2
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​634](https://redirect.github.com/astral-sh/setup-uv/issues/634))
- Update lockfile with latest npm
[@​eifinger](https://redirect.github.com/eifinger)
([#​636](https://redirect.github.com/astral-sh/setup-uv/issues/636))
###
[`v7.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.0):
🌈 Support all the use cases
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7...v7.1.0)
#### Changes
**Support all the use cases!!!**
... well, that we know of.
This release adds support for some use cases that most users don't
encounter but are useful for e.g. people running Gitea.
The input `resolution-strategy` lets you use the lowest possible version
of uv from a version range. Useful if you want to test your tool with
different versions of uv.
If you use `activate-environment` the path to the activated venv is now
also exposed under the output `venv`.
Downloaded python installations can now also be uploaded to the GitHub
Actions cache backend. Useful if you are running in `act` and have
configured your own backend and don't want to download python again, and
again over a slow internet connection.
Finally the path to installed python interpreters is now added to the
`PATH` on Windows.
#### 🚀 Enhancements
- Add resolution-strategy input to support oldest compatible version
selection
@​[copilot-swe-agent\[bot\]](https://redirect.github.com/apps/copilot-swe-agent)
([#​631](https://redirect.github.com/astral-sh/setup-uv/issues/631))
- Add value of UV\_PYTHON\_INSTALL\_DIR to path
[@​eifinger](https://redirect.github.com/eifinger)
([#​628](https://redirect.github.com/astral-sh/setup-uv/issues/628))
- Set output venv when activate-environment is used
[@​eifinger](https://redirect.github.com/eifinger)
([#​627](https://redirect.github.com/astral-sh/setup-uv/issues/627))
- Cache python installs
[@​merlinz01](https://redirect.github.com/merlinz01)
([#​621](https://redirect.github.com/astral-sh/setup-uv/issues/621))
#### 🧰 Maintenance
- Add copilot-instructions.md
[@​eifinger](https://redirect.github.com/eifinger)
([#​630](https://redirect.github.com/astral-sh/setup-uv/issues/630))
- chore: update known checksums for 0.9.2
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​626](https://redirect.github.com/astral-sh/setup-uv/issues/626))
- chore: update known checksums for 0.9.1
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​625](https://redirect.github.com/astral-sh/setup-uv/issues/625))
- Fall back to PR for updating known versions
[@​eifinger](https://redirect.github.com/eifinger)
([#​623](https://redirect.github.com/astral-sh/setup-uv/issues/623))
#### 📚 Documentation
- Split up documentation
[@​eifinger](https://redirect.github.com/eifinger)
([#​632](https://redirect.github.com/astral-sh/setup-uv/issues/632))
#### ⬆️ Dependency updates
- Bump deps [@​eifinger](https://redirect.github.com/eifinger)
([#​633](https://redirect.github.com/astral-sh/setup-uv/issues/633))
- Bump github/codeql-action from 3.30.6 to 4.30.7
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​614](https://redirect.github.com/astral-sh/setup-uv/issues/614))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>1 parent 8ca33d4 commit 71c6997
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments