Skip to content

Commit

Permalink
chore(deps): update astral-sh/setup-uv action to v4 (#10529)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) |
action | major | `v3.2.4` -> `v4.0.0` |

---

### Release Notes

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

###
[`v4.0.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v4.0.0):
🌈 Fail when cache local path does not exist when trying to cache

[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v3.2.4...v4.0.0)

##### 🚨 Breaking change 🚨

By default, the action will now fail if caching is enabled but there is
nothing to upload (the uv cache directory does not exist).
If you want to ignore this, set the `ignore-nothing-to-cache` input to
`true`.

```yaml
- name: Ignore nothing to cache
  uses: astral-sh/setup-uv@v3
  with:
    enable-cache: true
    ignore-nothing-to-cache: true
```

***

In previous releases only an error got logged when saving the cache
failed. In most cases users did not realize something was wrong with
their config.

<img width="1014" alt="image"
src="https://github.com/user-attachments/assets/6d03ac1f-9c04-4571-841e-de41291f4939">

##### Changes
##### 🚨 Breaking changes

- Fail when cache local path does not exist when trying to cache
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;163](https://redirect.github.com/astral-sh/setup-uv/issues/163))

##### 🐛 Bug fixes

- Fail when cache local path does not exist when trying to cache
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;163](https://redirect.github.com/astral-sh/setup-uv/issues/163))
- Remove working dir from cacheDependencyGlob error message
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;162](https://redirect.github.com/astral-sh/setup-uv/issues/162))

##### 📚 Documentation

- Change some formulations in README.md
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;164](https://redirect.github.com/astral-sh/setup-uv/issues/164))
- Add comment to clarify process.exit(0)
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;161](https://redirect.github.com/astral-sh/setup-uv/issues/161))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,every
weekend,before 5am every weekday" (UTC), 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ibis-project/ibis).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 23, 2024
1 parent 89c8787 commit 506387a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cache-dependency-path: requirements-dev.txt

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ibis-backends-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ibis-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down Expand Up @@ -452,7 +452,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ibis-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: "3.11"

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ibis-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
python-version: "3.12"

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
python-version: "3.10"

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: "3.12"

- name: install uv
uses: astral-sh/setup-uv@v3.2.4
uses: astral-sh/setup-uv@v4.0.0
with:
enable-cache: true

Expand Down

0 comments on commit 506387a

Please sign in to comment.