Commit Graph

404 Commits

Author SHA1 Message Date
Zanie Blue 3f215e4c95 Disable deployment on environment use (#18677)
See
https://github.blog/changelog/2026-03-19-github-actions-late-march-2026-updates/#github-actions-now-allows-developers-to-use-environments-without-auto-deployment
2026-03-23 14:24:12 -05:00
Zsolt Dollenstein 2175e2ffba Enable checksum verification in the generated installer script (#18625) 2026-03-23 13:57:11 -04:00
Zanie Blue cedae1aa42 Trigger system tests when the system check file changes (#18590)
Co-authored-by: Claude <noreply@anthropic.com>
2026-03-20 16:22:01 +00:00
Zanie Blue 04bbd6a6ab Trigger benchmarks when bench workflow changes (#18589)
Co-authored-by: Claude <noreply@anthropic.com>
2026-03-20 16:19:09 +00:00
Zanie Blue 9753c0991b Run the integration tests on changes (#18465) 2026-03-13 17:45:24 -05:00
Zanie Blue 91b73925e2 Run macOS tests whenever we build release binaries (#18458) 2026-03-13 19:47:01 +00:00
Zanie Blue 4ff4720da5 Use uv to manage our Python documentation dependencies (#18263)
I want to lock our Zig build dependencies and this is an incremental
step towards doing so via uv
2026-03-04 09:52:15 -06:00
Zanie Blue e0f99d1985 Allow pushing Docker images in pull requests for testing (#18253)
I need to test features that require push to a registry, e.g., #18252,
and want to do so without releasing. This adds publish to a `uv-dev`
namespace and uses the sha instead of the version. It requires the
`release-test` environment, which is allowed from non-main but requires
approval from me to run. It is trigged by the `build:push-docker` label.

See https://github.com/astral-sh/uv/pkgs/container/uv-dev
2026-03-03 07:40:23 -06:00
Zanie Blue 10e84d18ff Ensure the astral-test-pypa-gh-action test case fails on script bugs (#18175)
Per https://github.com/astral-sh/uv/pull/18174 this should fail but it
depends on hitting the simple API in the middle of a release being
uploaded.
2026-03-02 08:41:46 -06:00
Zanie Blue f5e00a36f0 Fix astral-test-pypa-gh-action publish test bug in patch version retrieval (#18174)
The jq filter used `.files[-1].filename` to get the latest published
version then uses sed to extract the version from a sdist filename, but
the last file in the list can be a wheel rather than an sdist in the
middle of an upload. When it's a wheel, the filename passes through
unchanged and bash complains trying to evaluate it as arithmetic.

e.g.:

> astral_test_pypa_gh_action-0.1.1650-py3-none-any.whl: syntax error:
invalid arithmetic operator (error token is ".1.1650-py3-none-any.whl")

Surprisingly, this does not fail the job — `sed -i
"s/0.1.0/0.1.$((patch_version + 1))/g` fails silently in its subshell,
leaving the version as 0.1.0, `test.pypi.org` returns 400 File already
exists, and the test succeeds because we use `skip-existing: true`.
2026-02-24 04:35:13 -06:00
Zanie Blue 5fa874f031 Fix the wheel sbom contents check (again) and ensure CI runs on such changes (#18177) 2026-02-24 00:24:50 +00:00
Zanie Blue 8e1f164b0e Skip Docker builds on Renovate pull requests (#18161) 2026-02-23 14:05:55 +00:00
renovate[bot] 2cd378e947 Update digital-blueprint/gitlab-pipeline-trigger-action action to v1.4.0 (#18043)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[digital-blueprint/gitlab-pipeline-trigger-action](https://redirect.github.com/digital-blueprint/gitlab-pipeline-trigger-action)
| action | minor | `v1.3.0` → `v1.4.0` |

---

### Release Notes

<details>
<summary>digital-blueprint/gitlab-pipeline-trigger-action
(digital-blueprint/gitlab-pipeline-trigger-action)</summary>

###
[`v1.4.0`](https://redirect.github.com/digital-blueprint/gitlab-pipeline-trigger-action/blob/HEAD/CHANGELOG.md#v140)

[Compare
Source](https://redirect.github.com/digital-blueprint/gitlab-pipeline-trigger-action/compare/v1.3.0...v1.4.0)

- Updated dependencies
- bump to node24

</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-19 11:12:34 -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
Zanie Blue f1e4ecf697 Improve publish test triggers in CI (#17833)
I noticed #17832 did not run tests.

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-03 17:01:43 +00:00
renovate[bot] a7d5bc907b Update actions/checkout action to v6.0.2 (#17683)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | patch | `v6.0.1` → `v6.0.2` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v6.0.2`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602)

[Compare
Source](https://redirect.github.com/actions/checkout/compare/v6.0.1...v6.0.2)

- Fix tag handling: preserve annotations and explicit fetch-tags by
[@&#8203;ericsciple](https://redirect.github.com/ericsciple) in
[#&#8203;2356](https://redirect.github.com/actions/checkout/pull/2356)

</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:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 10:53:48 +00:00
Tomasz Kramkowski bfa223fb0d Make cargo test on macos also run with test:extended (#17663)
## Summary

Currently we require `macos:test` explicitly even when `test:extended`
is set, but from discussions it seems `test:extended` should also
trigger `test:macos` so this change adds that.

This change also introduces a new `test-macos` plan output variable which is used as the new condition.

## Test Plan

CI.
2026-01-22 19:46:00 +00:00
William Woodruff ba1306430e Support Trusted Publishing with pyx (#17438) 2026-01-20 22:18:26 +00:00
Zanie Blue 1c2be77f04 Use slim runner for required checks job (#17615)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-19 16:04:42 +00:00
Zanie Blue e41bbca067 Run system tests on workflow changes (#17612)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-19 16:02:18 +00:00
Zanie Blue 13afce10aa Run Windows trampoline checks when Rust dependencies change (#17539)
The #17522 bump broke the trampolines and checks didn't run in CI, we
should run the checks for safety.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-16 14:21:29 -06:00
Zanie Blue 009816f4ce Update Docker build workflow to use CI plan step (#17490)
Matching the rest of our CI to consolidating planning

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-15 12:48:47 -06:00
Zanie Blue f0fd568c76 Adjust build skip labels to match test skip label style (#17489)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-15 11:43:25 -06:00
Zanie Blue 36b6315f72 Refactor CI plan job (#17478)
Aiming for more readability and maintainability here. Sort of limited by
bash and GitHub Actions, but I don't think it quite merits a change to
Python yet.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-15 11:15:46 -06:00
William Woodruff b3b15560c3 Test uv+PyPI Trusted Publishing on Gitlab (#17443) 2026-01-15 10:43:56 -05:00
Zanie Blue 41c96d43c9 Reduce the number of CI checks run on pull requests (#17471)
We're hitting GitHub concurrency limits (organization wide limit of 60
jobs), and while we could move to paid runners with high concurrency
limits, I'd prefer to stay on the free runners and some of these jobs,
e.g., `test-system`, require GitHub runners.

This moves a bunch of our extended testing behind a label, e.g.,
`test:extended` or `test:system`, and only runs them on `main` by
default.
2026-01-14 13:12:11 -06:00
Zanie Blue a4327c21b4 Use a Depot runner for plan jobs (#17472)
This job is in the hot path for all other CI jobs, let's avoid letting
it be blocked by GitHub concurrency limits and such.
2026-01-14 18:14:43 +00:00
Zanie Blue 5a5bb69d2c Skip benchmarks when Rust code is unchanged (#17454)
Ignore that the file matching is a little redundant with other checks,
I'll consolidate those in a subsequent pull request.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-14 15:44:55 +00:00
Zanie Blue e8f020754a Only save Rust cache on main or when cache-relevant files change (#17452)
The goal here is to reduce cache consumption and contention by avoiding
cache saves on pull requests unless the pull request makes a change that
requires a new cache entry.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 07:35:45 -06:00
Zanie Blue e9755bceb3 Report failing jobs when "all required jobs check" fails (#17433)
You can tell this by looking at the JSON input but that's not quite
friendly enough for me.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-13 01:09:18 +00:00
Zanie Blue 7fa30ab278 Move release plan checks to a separate workflow (#17422)
We get a bunch of redundant skipped `Release / Build binary ...` jobs in
CI otherwise, and I would rather the release workflow didn't have a pull
request trigger at all.

Follows #17388
2026-01-12 14:49:40 -06:00
Zanie Blue 903dd292b3 Split up ci.yml (#17388)
This file is too big for an LLM context window and several contributors
have complained about it being too scary to touch.

This also gets us collapsible sections in the UI.

I renamed some jobs for clarity in the meantime. And added a meta-job
for required checks passing so we can avoid churn in our "Settings" when
we change job names.

Note this was entirely refactored by Claude.

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 12:34:30 -06:00
Zanie Blue 0da6f263a9 Only run trampoline checks in CI when trampolines change (#17386)
I'm trying to avoid wasting CI time.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 09:17:05 -06:00
renovate[bot] ae1933f20f Update dependency astral-sh/uv to v0.9.24 (#17409)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/uv](https://redirect.github.com/astral-sh/uv) | uses-with |
patch | `0.9.21` → `0.9.24` |

---

### Release Notes

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

###
[`v0.9.24`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0924)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.9.23...0.9.24)

Released on 2026-01-09.

##### Bug fixes

- Fix handling of `UV_NO_SYNC=1 uv run ...`
([#&#8203;17391](https://redirect.github.com/astral-sh/uv/pull/17391))
- Rebuild dynamic distribution when version changes with `--no-cache`
([#&#8203;17387](https://redirect.github.com/astral-sh/uv/pull/17387))

##### Documentation

- Add Rust language classifier
([#&#8203;17389](https://redirect.github.com/astral-sh/uv/pull/17389))

###
[`v0.9.23`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0923)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.9.22...0.9.23)

Released on 2026-01-09.

##### Enhancements

- Only write portable paths in `RECORD` files
([#&#8203;17339](https://redirect.github.com/astral-sh/uv/pull/17339))
- Support relative paths in `UV_PYTHON_BIN_DIR` and `UV_TOOL_BIN_DIR`
([#&#8203;17367](https://redirect.github.com/astral-sh/uv/pull/17367))

##### Preview features

- Enable uploads to S3 via pre-signed URLs
([#&#8203;17349](https://redirect.github.com/astral-sh/uv/pull/17349))

##### Configuration

- Allow setting proxy variables via global / user configuration
([#&#8203;16918](https://redirect.github.com/astral-sh/uv/pull/16918))
- Manually parse and reconcile Boolean environment variables
([#&#8203;17321](https://redirect.github.com/astral-sh/uv/pull/17321))

##### Bug fixes

- Avoid broken build artifacts on build failure
([#&#8203;17276](https://redirect.github.com/astral-sh/uv/pull/17276))
- Fix missing dependencies on synthetic root in SBOM export
([#&#8203;17363](https://redirect.github.com/astral-sh/uv/pull/17363))
- Recognize `armv8l` as an alias for `armv7l` in platform tag parsing
([#&#8203;17384](https://redirect.github.com/astral-sh/uv/pull/17384))
- Fix redaction of a URL in a middleware trace log
([#&#8203;17346](https://redirect.github.com/astral-sh/uv/pull/17346))

##### Documentation

- Add `index.md` suggestion to `llms.txt`
([#&#8203;17362](https://redirect.github.com/astral-sh/uv/pull/17362))
- Clarify that `uv run` uses inexact syncing by default
([#&#8203;17366](https://redirect.github.com/astral-sh/uv/pull/17366))

###
[`v0.9.22`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0922)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.9.21...0.9.22)

Released on 2026-01-06.

##### Enhancements

- Use a dedicated error message when lockfile can't be found
([#&#8203;17318](https://redirect.github.com/astral-sh/uv/pull/17318))

##### Bug fixes

- Filter unusable wheels from the lockfile for more architectures
([#&#8203;17317](https://redirect.github.com/astral-sh/uv/pull/17317))
- Correctly count retries originating from early middleware errors
([#&#8203;17274](https://redirect.github.com/astral-sh/uv/pull/17274))

##### Documentation

- Clarify requirements file format in docs
([#&#8203;17284](https://redirect.github.com/astral-sh/uv/pull/17284))

</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:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 11:00:34 +01:00
Zanie Blue c71ba13b6d Avoid checking formatting of all files during windows trampoline checks (#17348)
I've noticed this escapes the trampoline crates so these fail whenever
there's bad formatting in the workspace.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-07 13:14:47 -06:00
Jo 29c44c71c2 Use ty to type-check Python files (#17229)
I added mypy type‑checking in https://github.com/astral-sh/uv/pull/5332,
so I think it's a good time to switch to ty now :)
2026-01-07 12:25:15 -06:00
William Woodruff 6f9fced6c6 Replace deprecated benchmarking mode (#17222)
## Summary

Minor, noticed this with #17221. CodSpeed has deprecated
`instrumentation` and replaced it with `simulation`, which has the same
meaning:

https://codspeed.io/docs/instruments/cpu/overview#legacy-terminology

## Test Plan

No functional changes.

---------

Signed-off-by: William Woodruff <william@astral.sh>
2026-01-05 19:52:29 +01:00
renovate[bot] 0f53c48dd9 Update actions/setup-python action to v6 (#17299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-02 12:51:49 -05:00
renovate[bot] 8e8881e2fa Update EmbarkStudios/cargo-deny-action action to v2.0.14 (#16898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-02 12:40:56 -05:00
renovate[bot] 1a1eab6ad5 Update actions/checkout action to v6 (#17295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-02 17:01:41 +00:00
renovate[bot] 0fafde3f6e Update astral-sh/setup-uv action to v7 (#17291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-02 16:21:18 +00:00
renovate[bot] e54056f71a Update dependency astral-sh/uv to v0.9.21 (#17289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-02 16:14:52 +00:00
renovate[bot] 805e327f75 Update dependency astral-sh/uv to v0.9.18 (#17286) 2026-01-02 15:43:29 +00:00
Tomasz Kramkowski c19e22fb0b Use nextest profiles to configure CI (#17220)
This centralises the configuration and allows certain overrides to be CI
specific.
2025-12-29 13:13:43 +00:00
Arthur Pastel 137edcf239 Bump CodSpeed action to v4.4.1 (#17198)
## Summary

This fixes the report generation issues caused by large profile data now
properly handled by this newer version

## Test Plan

Reports should be generated on this PR
2025-12-20 10:28:04 -06:00
Zanie Blue e006a69fe8 Configure prettier prose-wrap in .prettierrc instead of the CLI (#17184)
This also removes the file-specific targets from prettier execution
which means we're including `.json`, `.css`, and `.html` files, which
seems like an improvement.

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-18 18:54:23 -06:00
konsti af95677b9b Update cargo shear (#17106)
Requires a companion PR that updates the GitHub Action.
2025-12-15 18:46:35 +01:00
konsti ebdffaf728 CI Perf: fast-build (#16780)
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-12-11 13:51:37 +00:00
Zanie Blue a70ee58ae1 Move test support files out of scripts/ into test/
(#17032)

It's been bothering me that we have a bunch of stub packages and such in
a `scripts` directory.
2025-12-09 10:06:05 -06:00
Zanie Blue 5a6f2ea319 Generate reference documentation at publish-time and the JSON schema at release-time (#16969)
It'd be nice to avoid churn for contributors. This is a pretty frequent
cause of CI failures and I don't think we really need to have the
reference documentation committed.
2025-12-08 12:31:38 +00:00