David Peter
db6e238c40
Infer the Ruff release tag from the crate version ( #30494 )
...
## Summary
Follow [uv’s release
workflow](https://github.com/astral-sh/uv/pull/19477 ) and [ty’s release
workflow](https://github.com/astral-sh/ty/pull/5014 ) by deriving the
GitHub release tag from the checked-out version. Ruff reads the
Cargo-style version from `crates/ruff/Cargo.toml` so prerelease tags
retain their existing format.
2026-11-17 16:57:31 +01:00
William Woodruff
3c7055dcce
Pin astral-sh/github-actions to 2026.11.16.0 ( #30464 )
...
## Summary
Pin the shared actions and reusable workflow to commit
`67dc9ee1ddc113eccd8116e7b949fb6cdcd89889` from [release
2026.11.16.0](https://github.com/astral-sh/github-actions/releases/tag/2026.11.16.0 ).
Add the release version beside each YAML pin. The token-service policy
matches the new security-review workflow SHA.
## Notes to reviewers
Parsed the changed YAML and JSON and verified that each referenced
action or reusable workflow exists at the pinned commit. The
repository’s changed-file prek hooks passed for all 15 files.
2026-11-16 11:53:37 -05:00
renovate[bot]
282fc49e99
Update Artifact GitHub Actions dependencies ( #30296 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact )
| action | patch | `v8.0.1` → `v8.0.2` |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact )
| action | patch | `v7.0.1` → `v7.0.2` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.
---
### Release Notes
<details>
<summary>actions/download-artifact</summary>
###
[`v8.0.2`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.2 )
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v8.0.1...v8.0.2 )
#### What's Changed
- Update the readme by
[@​danwkennedy](https://redirect.github.com/danwkennedy ) in
[#​473](https://redirect.github.com/actions/download-artifact/pull/473 )
- Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.
- Update
[@​actions/artifact](https://redirect.github.com/actions/artifact )
to 6.3.1 by [@​tunc-d](https://redirect.github.com/tunc-d ) in
[#​492](https://redirect.github.com/actions/download-artifact/pull/492 )
- Prepare download-artifact v8.0.2 by
[@​tunc-d](https://redirect.github.com/tunc-d ) in
[#​493](https://redirect.github.com/actions/download-artifact/pull/493 )
#### New Contributors
- [@​tunc-d](https://redirect.github.com/tunc-d ) made their first
contribution in
[#​492](https://redirect.github.com/actions/download-artifact/pull/492 )
**Full Changelog**:
<https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2 >
</details>
<details>
<summary>actions/upload-artifact</summary>
###
[`v7.0.2`](https://redirect.github.com/actions/upload-artifact/releases/tag/v7.0.2 )
[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2 )
#### What's Changed
- Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.
- Updates
[@​actions/artifact](https://redirect.github.com/actions/artifact )
to v6.3.1.
#### New Contributors
- [@​tunc-d](https://redirect.github.com/tunc-d ) made their first
contribution in
[#​821](https://redirect.github.com/actions/upload-artifact/pull/821 )
**Full Changelog**:
<https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2 >
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "before 4am on Wednesday"
- 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 00:58:38 +00:00
William Woodruff
49ef18ab7b
Use jaq from the Astral dev toolchain in CI ( #29922 )
...
Signed-off-by: William Woodruff <william@yossarian.net >
2026-11-04 12:45:55 -05:00
renovate[bot]
6ba2c338b6
Update astral-sh/setup-uv action to v10.3.3 ( #29998 )
2026-11-04 00:48:37 -08:00
renovate[bot]
e25544e696
Update uv to v0.13.7 ( #30003 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/uv](https://redirect.github.com/astral-sh/uv ) | | patch |
`0.13.6` → `0.13.7` |
|
[astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit )
| repository | patch | `0.13.6` → `0.13.7` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>astral-sh/uv</summary>
###
[`v0.13.7`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0137 )
[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.6...0.13.7 )
Released on 2026-11-03.
##### Preview features
- Add `--output-version` to `uv workspace metadata` for requesting a
specific schema version
([#​22958](https://redirect.github.com/astral-sh/uv/pull/22958 ))
- Report aliased OSV records as a single vulnerability in `uv audit`
([#​22990](https://redirect.github.com/astral-sh/uv/pull/22990 ))
##### Bug fixes
- Treat workspace member paths added by `uv init` or `uv add` as
literals instead of glob patterns
([#​23008](https://redirect.github.com/astral-sh/uv/pull/23008 ))
- Prevent uv's Windows trampolines from closing handles they did not
inherit
([#​22977](https://redirect.github.com/astral-sh/uv/pull/22977 ))
- Allow `uvx` to run tools with CPython builds whose versions contain
local identifiers
([#​23013](https://redirect.github.com/astral-sh/uv/pull/23013 ))
- Generate valid module names when `uv init` creates packaged projects
whose names start with a digit
([#​23022](https://redirect.github.com/astral-sh/uv/pull/23022 ))
- Preserve comments around existing inline dependency groups when `uv
add` updates a group
([#​23017](https://redirect.github.com/astral-sh/uv/pull/23017 ))
- Allow `uv remove` with an empty inline `tool.uv.sources` table
([#​23012](https://redirect.github.com/astral-sh/uv/pull/23012 ))
##### Documentation
- Correct the `cache-keys` inline table example
([#​22984](https://redirect.github.com/astral-sh/uv/pull/22984 ))
</details>
<details>
<summary>astral-sh/uv-pre-commit</summary>
###
[`v0.13.7`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.13.7 )
[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.13.6...0.13.7 )
See: <https://github.com/astral-sh/uv/releases/tag/0.13.7 >
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "before 4am on Wednesday"
- 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 these
updates 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/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-04 08:50:23 +01:00
renovate[bot]
9c892e8b84
Update astral-sh/setup-uv action to v10.3.2 ( #29772 )
2026-10-27 17:24:50 -07:00
renovate[bot]
0912dfda18
Update uv to v0.13.6 ( #29776 )
2026-10-27 17:22:45 -07:00
Alex Waygood
10056500e0
Update uv to 0.13.5 ( #29659 )
2026-10-22 23:29:36 +00:00
Alex Waygood
a51aeefc9a
Remove unnecessary checkouts from release jobs ( #29655 )
2026-10-22 15:40:10 -07:00
Alex Waygood
86c978007e
Build the Ruff playground earlier in releases ( #29650 )
2026-10-22 14:34:35 -07:00
zaniebot and Alex Waygood
a7ad638dd7
Include the release workflow in formatting checks ( #27884 )
...
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2026-10-22 20:08:53 +00:00
Alex Waygood
21224a7476
Build global artifacts without waiting for Docker and WASM ( #29644 )
2026-10-22 12:55:38 -07:00
zaniebot
356d3c9b96
Document manual maintenance of the release workflow ( #27853 )
2026-10-22 12:54:33 -07:00
zaniebot and Alex Waygood
b54e827e1b
Quote GitHub release arguments ( #27888 )
...
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2026-10-22 12:49:49 -07:00
zaniebot
90bcf19c58
Use the Astral simple token service action ( #29636 )
...
Use `astral-sh/github-actions/simple-token-service` for GitHub App token exchanges. Keep each request’s endpoint, audience, repository scope, and permissions unchanged.
2026-10-22 10:57:29 -07:00
Alex Waygood
f71f169f6f
Update uv after the eMudhra incident ( #29551 )
...
The [eMudhra incident](https://emudhra.we-have-a-problem.com/ )
compromised intermediate CA keys that could be used to impersonate HTTPS
sites. uv 0.13.4 removes the emSign root that anchors the affected
intermediates from its bundled trust store.
Update the uv versions used in CI and by the uv-lock hook, and the
locked uv dependency. A uv-specific cutoff allows the updated release
through the seven-day dependency waiting period.
Codex prepared this update.
2026-10-20 20:44:34 +00:00
renovate[bot] and David Peter
0af0dbd59c
Update uv to v0.13.1 ( #29364 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/uv](https://redirect.github.com/astral-sh/uv ) | | minor |
`0.12.23` → `0.13.1` |
|
[astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit )
| repository | minor | `0.12.23` → `0.13.1` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>astral-sh/uv</summary>
###
[`v0.13.1`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0131 )
[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.0...0.13.1 )
Released on 2026-10-14.
##### Enhancements
- Ignore `Requires-Python` upper bounds in `uv pip check` and `uv pip
install --strict`, consistent with resolution
([#​22500](https://redirect.github.com/astral-sh/uv/pull/22500 ))
- Support Linux SPARC by falling back when filesystem cloning and
detailed cache accounting are unavailable
([#​22463](https://redirect.github.com/astral-sh/uv/pull/22463 ))
- Report missing trusted hashes in resolution errors
([#​22241](https://redirect.github.com/astral-sh/uv/pull/22241 ))
##### Python
- Add CPython 3.16.0a1
([#​22527](https://redirect.github.com/astral-sh/uv/pull/22527 ))
##### Preview features
- Allow `uv tool upgrade` to upgrade installed tools when
`tool-install-locks` is enabled
([#​22498](https://redirect.github.com/astral-sh/uv/pull/22498 ))
- Add preliminary support for parsing PEP 825 variant labels in wheel
filenames with `wheel-variants`
([#​22039](https://redirect.github.com/astral-sh/uv/pull/22039 ))
##### Performance
- Reduce uv's binary size
([#​22429](https://redirect.github.com/astral-sh/uv/pull/22429 ),
[#​22430](https://redirect.github.com/astral-sh/uv/pull/22430 ),
[#​22432](https://redirect.github.com/astral-sh/uv/pull/22432 ))
- Speed up Simple API parsing
([#​22429](https://redirect.github.com/astral-sh/uv/pull/22429 ))
- Reduce package metadata parsing overhead
([#​22239](https://redirect.github.com/astral-sh/uv/pull/22239 ))
##### Bug fixes
- Prevent tool and managed Python uninstalls from deleting unrelated
files beside their storage directories
([#​22495](https://redirect.github.com/astral-sh/uv/pull/22495 ))
- Restore support for source distributions containing hard links or
full-length tar user or group names
([#​22516](https://redirect.github.com/astral-sh/uv/pull/22516 ),
[#​22522](https://redirect.github.com/astral-sh/uv/pull/22522 ))
- Preserve device files and FIFOs used as `uv pip compile` or `uv
export` output destinations
([#​22496](https://redirect.github.com/astral-sh/uv/pull/22496 ))
- Fix `sys._base_executable` detection for environments created from
symlinked interpreters
([#​22520](https://redirect.github.com/astral-sh/uv/pull/22520 ))
- Prevent concurrent readers from observing partially written lockfiles,
Python version files, or managed Python sysconfig files
([#​22399](https://redirect.github.com/astral-sh/uv/pull/22399 ),
[#​22402](https://redirect.github.com/astral-sh/uv/pull/22402 ),
[#​22403](https://redirect.github.com/astral-sh/uv/pull/22403 ))
- Serialize concurrent project commands that reach the same environment
through real and symlinked paths
([#​22390](https://redirect.github.com/astral-sh/uv/pull/22390 ))
- Prevent installs, syncs, and environment creation from failing when
they race with `uv cache clean`
([#​22387](https://redirect.github.com/astral-sh/uv/pull/22387 ))
- Prevent concurrent tool installations from corrupting an environment
when the last tool is uninstalled
([#​22391](https://redirect.github.com/astral-sh/uv/pull/22391 ))
- Persist changed upgrade settings even when `uv tool upgrade` leaves
the tool version unchanged
([#​22499](https://redirect.github.com/astral-sh/uv/pull/22499 ))
- Reuse environments with installed Git dependencies pinned to full
commit hashes without resolving again
([#​22464](https://redirect.github.com/astral-sh/uv/pull/22464 ))
##### Documentation
- Explain how to select an emulated Python interpreter on Windows ARM64
when native wheels are unavailable
([#​22424](https://redirect.github.com/astral-sh/uv/pull/22424 ))
- Fix the `.netrc` format documentation link
([#​22514](https://redirect.github.com/astral-sh/uv/pull/22514 ))
##### Other changes
- Publish Python 3.15-based uv Docker images under stable tags
([#​22503](https://redirect.github.com/astral-sh/uv/pull/22503 ))
###
[`v0.13.0`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0130 )
[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.12.24...0.13.0 )
Released on 2026-10-09.
uv 0.13.0 makes Python 3.15 the default stable Python version. We've
also included several breaking changes to improve correctness,
performance, and compatibility, described below.
**We expect most users to be able to upgrade without making changes.**
While not a breaking change, this release also updates the format of
many of uv's cache entries to improve performance. **uv may download or
rebuild dependencies after upgrading**, because some cached entries from
earlier versions cannot be reused. Multiple versions of uv can still
safely share the same cache directory.
There are no breaking changes to the configuration of the [uv build
backend](https://docs.astral.sh/uv/concepts/build-backend/ ). If your
`[build-system]` table includes an upper bound on `uv_build`, update it
to allow `uv_build` 0.13, e.g., `uv_build>=0.13.0,<0.14`.
##### Breaking changes
- **Use Python 3.15 as the default stable version**
The default stable Python version has changed from 3.14 to 3.15. This
affects Python downloads when no version is requested or pinned, e.g.,
when running `uv python install`.
uv continues to use compatible Python installations that are already
present. For example, `uv venv` can still use an installed Python 3.14.
If no suitable interpreter is installed and automatic downloads are
enabled, commands such as `uv venv` and `uvx python` can now download
Python 3.15.
You can opt out of this behavior by requesting Python 3.14 explicitly,
e.g., `uv venv --python 3.14`. For projects, use `uv python pin 3.14` to
record the version in `.python-version`.
- **Honor `--require-hashes` in included constraints files**
([#​22275](https://redirect.github.com/astral-sh/uv/pull/22275 ))
Previously, uv ignored `--require-hashes` in constraints files included
with `-c` from a requirements file. Now, uv honors the directive and
requires hashes for all requirements in the installation. Installs that
previously succeeded can now fail if a requirement is missing a hash.
You cannot opt out while the directive is present. Add the missing
hashes to your requirements, or remove the `--require-hashes` directive
from the included constraints file if hash checking is not intended.
- **Prefer native Python on Windows ARM64**
([#​22100](https://redirect.github.com/astral-sh/uv/pull/22100 ))
Previously, ARM64 builds of uv preferred emulated `x86_64` Python
installations because native wheel support was limited. Now, uv prefers
native ARM64 (`aarch64`) interpreters across Python versions.
This follows similar changes in
[CPython](https://discuss.python.org/t/python-on-windows-arm64/104524 ),
the official Windows [Python install
manager](https://discuss.python.org/t/python-install-manager-26-4/108846 ),
and GitHub's
[actions/setup-python](https://redirect.github.com/actions/setup-python#supported-architectures ).
When a native interpreter is unavailable, uv continues to fall back to
`x86_64`, then 32-bit `x86`.
You can opt out of this behavior by setting `UV_PYTHON_ARCH=x86_64` or
requesting an explicit architecture, e.g.,
`cpython-3.14-windows-x86_64`. If you are using `setup-uv`, you can set
[`python-arch:
x86_64`](https://redirect.github.com/astral-sh/setup-uv#python-architecture )
instead.
- **Reject editable requirements in included constraints files**
([#​22282](https://redirect.github.com/astral-sh/uv/pull/22282 ))
Previously, uv silently ignored editable (`-e`) requirements in
constraints files included with `-c` from a requirements file. Now, uv
rejects these requirements with an error, matching [pip's
behavior](https://pip.pypa.io/en/stable/user_guide/#constraints-files ).
You cannot opt out of this behavior. Move editable requirements to a
requirements file passed with `-r`, or pass them directly with
`--editable`, instead of including them in a constraints file.
- **Omit the distutils startup patch on Python 3.10 and later**
([#​22096](https://redirect.github.com/astral-sh/uv/pull/22096 ))
Previously, uv installed `_virtualenv.py` and `_virtualenv.pth` into
every new virtual environment to prevent distutils configuration from
changing installation paths. Now, like [`virtualenv`
21.6.0](https://redirect.github.com/pypa/virtualenv/releases/tag/21.6.0 ),
uv omits these files on Python 3.10 and later, which already ignore the
affected configuration keys. This reduces Python startup overhead.
Python 3.9 and earlier retain the patch.
You cannot opt out of this behavior. Existing virtual environments are
not modified automatically. Recreate an environment with Python 3.10 or
later to remove the patch.
This stabilizes the `no-distutils-patch` preview feature.
- **Treat requirement-file option values as single paths**
([#​22290](https://redirect.github.com/astral-sh/uv/pull/22290 ))
Previously, uv split values passed to `--constraint`, `--override`,
`--exclude`, and `--build-constraint` on spaces, even when quoted. Now,
each value is treated as a single path, allowing file paths containing
spaces.
You cannot opt out of this behavior. Repeat the option to provide
multiple files. For example, replace `-c "a.txt b.txt"` with `-c a.txt
-c b.txt`.
Space-separated lists in `UV_CONSTRAINT`, `UV_OVERRIDE`, `UV_EXCLUDE`,
and `UV_BUILD_CONSTRAINT` remain supported.
- **Use `tar-codec` for tar archives by default**
([#​22094](https://redirect.github.com/astral-sh/uv/pull/22094 ))
Previously, uv used `astral-tokio-tar` to extract tar archives, build
source distributions with `uv_build`, and read their metadata for `uv
publish`. Now, uv uses `tar-codec`, which applies stricter validation
when reading archives.
uv may now reject archives containing hard links or unsupported tar
extensions that previous versions accepted. Source distributions created
by `uv_build` can also have different archive bytes and hashes.
You can opt out of this behavior by setting `UV_LEGACY_TAR_BACKEND=1`.
This stabilizes the `tar-codec` preview feature.
- **Reject `uv build --clear` output directories that contain a build
source**
([#​22276](https://redirect.github.com/astral-sh/uv/pull/22276 ))
Previously, `uv build --clear` could delete a project or input source
distribution when the
output directory contained the source. Now, uv rejects these output
directories, including
equivalent paths reached through symlinks, before clearing any build
output.
Select an output directory that does not contain any build sources, or
omit `--clear`.
##### Python
- Add CPython 3.15.0
([#​22400](https://redirect.github.com/astral-sh/uv/pull/22400 ))
##### Preview features
- Require hashes for build dependencies, including transitive
dependencies, with `--require-build-hashes`
([#​21411](https://redirect.github.com/astral-sh/uv/pull/21411 ))
##### Performance
- Speed up revalidation of cached HTTP responses by avoiding rewrites of
unchanged payloads
([#​22130](https://redirect.github.com/astral-sh/uv/pull/22130 ))
- Reduce allocations when reading cached HTTP responses
([#​22136](https://redirect.github.com/astral-sh/uv/pull/22136 ))
- Reduce cache storage for HTTP policies and package records
([#​22135](https://redirect.github.com/astral-sh/uv/pull/22135 ),
[#​22133](https://redirect.github.com/astral-sh/uv/pull/22133 ))
- Reduce allocations for cached source distribution revisions
([#​22131](https://redirect.github.com/astral-sh/uv/pull/22131 ))
##### Bug fixes
- Fix incorrect dependency resolution when reusing source metadata with
different build settings
([#​22404](https://redirect.github.com/astral-sh/uv/pull/22404 ))
- Avoid overlong wheel cache lock filenames on Windows
([#​22134](https://redirect.github.com/astral-sh/uv/pull/22134 ))
###
[`v0.12.24`](https://redirect.github.com/astral-sh/uv/releases/tag/0.12.24 )
[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.12.23...0.12.24 )
#### Release Notes
Released on 2026-10-08.
##### Enhancements
- Remove orphaned temporary build environments with `uv cache prune`
([#​22171](https://redirect.github.com/astral-sh/uv/pull/22171 ))
- Accept PEP 508 marker operators directly before grouped expressions
([#​22309](https://redirect.github.com/astral-sh/uv/pull/22309 ))
- Reject malformed requirements-file options instead of partially
parsing or ignoring them
([#​22317](https://redirect.github.com/astral-sh/uv/pull/22317 ))
- Show underlying filesystem and registry errors when managed Python
uninstallation fails
([#​22362](https://redirect.github.com/astral-sh/uv/pull/22362 ))
- Identify the invalid source URL in Python mirror errors
([#​22364](https://redirect.github.com/astral-sh/uv/pull/22364 ))
##### Preview features
- Display preferred advisory IDs in `uv audit` reports, prioritizing
PYSEC, GHSA, then CVE identifiers
([#​22292](https://redirect.github.com/astral-sh/uv/pull/22292 ))
##### Configuration
- Support custom installation mirrors for GraalPy
([#​22269](https://redirect.github.com/astral-sh/uv/pull/22269 ))
- Support custom installation mirrors for Pyodide
([#​22271](https://redirect.github.com/astral-sh/uv/pull/22271 ))
- Allow `UV_NO_CACHE=false` to override `no-cache = true` in
configuration
([#​22324](https://redirect.github.com/astral-sh/uv/pull/22324 ))
- Report more precise error locations for invalid trusted-host ports and
preview-feature list entries
([#​22144](https://redirect.github.com/astral-sh/uv/pull/22144 ))
##### Performance
- Speed up later commands after creating an environment by warming its
interpreter cache
([#​21304](https://redirect.github.com/astral-sh/uv/pull/21304 ))
- Reduce code-signature verification work for ARM64 macOS releases with
16 KiB signature pages
([#​22246](https://redirect.github.com/astral-sh/uv/pull/22246 ))
- Enforce resource limits when parsing package indexes and
`--find-links` pages with `astral-html`
([#​22203](https://redirect.github.com/astral-sh/uv/pull/22203 ))
- Reduce standalone `uv-build` executable size by 7.5% by omitting
unused Zstandard support
([#​22242](https://redirect.github.com/astral-sh/uv/pull/22242 ))
- Reduce uv's binary size by about 232 KB by simplifying configuration
deserialization
([#​22144](https://redirect.github.com/astral-sh/uv/pull/22144 ))
- Reduce Python download error formatting code size by sharing its
formatter
([#​22141](https://redirect.github.com/astral-sh/uv/pull/22141 ))
##### Bug fixes
- Verify supplied hashes even when hash presence is disabled with
`--no-require-hashes` or `require-hashes = false`
([#​22369](https://redirect.github.com/astral-sh/uv/pull/22369 ))
- Honor exact managed Python patch pins when creating script
environments instead of following patch upgrades
([#​22360](https://redirect.github.com/astral-sh/uv/pull/22360 ))
- Prevent dependency overrides and constraints from activating optional
dependencies when their extras are not selected
([#​22237](https://redirect.github.com/astral-sh/uv/pull/22237 ))
- Exclude optional dependencies from exports when their extras are
activated only in incompatible environments
([#​22234](https://redirect.github.com/astral-sh/uv/pull/22234 ))
- Give explicit `uv publish --trusted-publishing` values precedence over
configuration
([#​22279](https://redirect.github.com/astral-sh/uv/pull/22279 ))
- Allow `UV_OFFLINE=false` to override `offline = true` in configuration
([#​22283](https://redirect.github.com/astral-sh/uv/pull/22283 ))
- Allow `UV_SYSTEM_CERTS=false` to override `system-certs = true` in
configuration
([#​22291](https://redirect.github.com/astral-sh/uv/pull/22291 ))
- Allow `uv auth login` over IPv6 loopback addresses
([#​22306](https://redirect.github.com/astral-sh/uv/pull/22306 ))
- Resolve GitHub dependencies whose Git references contain `#` or `%`
characters
([#​22281](https://redirect.github.com/astral-sh/uv/pull/22281 ))
- Recognize existing Pyodide interpreters as satisfying Pyodide Python
requests
([#​22322](https://redirect.github.com/astral-sh/uv/pull/22322 ))
- Preserve JSON output from `uv version` and `uv self version` with a
single `--quiet` flag
([#​22280](https://redirect.github.com/astral-sh/uv/pull/22280 ))
- Preserve trailing spaces and tabs in passwords returned by subprocess
keyrings
([#​22284](https://redirect.github.com/astral-sh/uv/pull/22284 ))
- Restore wheel incompatibility hints when `WHEEL` metadata contains
multiple expanded `Tag:` rows
([#​22235](https://redirect.github.com/astral-sh/uv/pull/22235 ))
- Preserve Windows wheel-script rename errors unless a cross-drive copy
fallback applies
([#​22302](https://redirect.github.com/astral-sh/uv/pull/22302 ))
- Prevent workspace-cache assertion failures after modifying a project
at the workspace root
([#​22236](https://redirect.github.com/astral-sh/uv/pull/22236 ))
- Hide the ignored `--keyring-provider` option from `uv auth` help
([#​19520](https://redirect.github.com/astral-sh/uv/pull/19520 ))
- Report HTTP client setup failures directly when resolving unnamed `uv
tool` requirements
([#​22320](https://redirect.github.com/astral-sh/uv/pull/22320 ))
##### Documentation
- Update Docker and AWS Lambda examples to cache dependency layers using
frozen lockfiles without project manifests
([#​22172](https://redirect.github.com/astral-sh/uv/pull/22172 ))
- Fix stale links and descriptions in Rust crate documentation
([#​22311](https://redirect.github.com/astral-sh/uv/pull/22311 ),
[#​22361](https://redirect.github.com/astral-sh/uv/pull/22361 ))
- Fix a typo in the `required-environments` documentation
([#​22238](https://redirect.github.com/astral-sh/uv/pull/22238 ))
#### Install uv 0.12.24
##### Install prebuilt binaries via shell script
```sh
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-installer.sh | sh
```
##### Install prebuilt binaries via powershell script
```sh
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-installer.ps1 | iex"
```
#### Download uv 0.12.24
| File | Platform | Checksum |
|
---------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------- |
--------------------------------------------------------------------------------------------------------------------------
|
|
[uv-aarch64-apple-darwin.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-apple-darwin.tar.gz )
| Apple Silicon macOS |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-apple-darwin.tar.gz.sha256 )
|
|
[uv-x86_64-apple-darwin.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-apple-darwin.tar.gz )
| Intel macOS |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-apple-darwin.tar.gz.sha256 )
|
|
[uv-aarch64-pc-windows-msvc.zip](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-pc-windows-msvc.zip )
| ARM64 Windows |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-pc-windows-msvc.zip.sha256 )
|
|
[uv-i686-pc-windows-msvc.zip](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-i686-pc-windows-msvc.zip )
| x86 Windows |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-i686-pc-windows-msvc.zip.sha256 )
|
|
[uv-x86_64-pc-windows-msvc.zip](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-pc-windows-msvc.zip )
| x64 Windows |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-pc-windows-msvc.zip.sha256 )
|
|
[uv-aarch64-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-unknown-linux-gnu.tar.gz )
| ARM64 Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-unknown-linux-gnu.tar.gz.sha256 )
|
|
[uv-i686-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-i686-unknown-linux-gnu.tar.gz )
| x86 Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-i686-unknown-linux-gnu.tar.gz.sha256 )
|
|
[uv-powerpc64le-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-powerpc64le-unknown-linux-gnu.tar.gz )
| PPC64LE Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-powerpc64le-unknown-linux-gnu.tar.gz.sha256 )
|
|
[uv-riscv64gc-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-riscv64gc-unknown-linux-gnu.tar.gz )
| RISCV Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-riscv64gc-unknown-linux-gnu.tar.gz.sha256 )
|
|
[uv-s390x-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-s390x-unknown-linux-gnu.tar.gz )
| S390x Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-s390x-unknown-linux-gnu.tar.gz.sha256 )
|
|
[uv-x86_64-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-unknown-linux-gnu.tar.gz )
| x64 Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-unknown-linux-gnu.tar.gz.sha256 )
|
|
[uv-armv7-unknown-linux-gnueabihf.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-armv7-unknown-linux-gnueabihf.tar.gz )
| ARMv7 Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-armv7-unknown-linux-gnueabihf.tar.gz.sha256 )
|
|
[uv-aarch64-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-unknown-linux-musl.tar.gz )
| ARM64 MUSL Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-aarch64-unknown-linux-musl.tar.gz.sha256 )
|
|
[uv-i686-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-i686-unknown-linux-musl.tar.gz )
| x86 MUSL Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-i686-unknown-linux-musl.tar.gz.sha256 )
|
|
[uv-riscv64gc-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-riscv64gc-unknown-linux-musl.tar.gz )
| RISCV MUSL Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-riscv64gc-unknown-linux-musl.tar.gz.sha256 )
|
|
[uv-x86_64-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-unknown-linux-musl.tar.gz )
| x64 MUSL Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-x86_64-unknown-linux-musl.tar.gz.sha256 )
|
|
[uv-arm-unknown-linux-musleabihf.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-arm-unknown-linux-musleabihf.tar.gz )
| ARMv6 MUSL Linux (Hardfloat) |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-arm-unknown-linux-musleabihf.tar.gz.sha256 )
|
|
[uv-armv7-unknown-linux-musleabihf.tar.gz](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-armv7-unknown-linux-musleabihf.tar.gz )
| ARMv7 MUSL Linux |
[checksum](https://releases.astral.sh/github/uv/releases/download/0.12.24/uv-armv7-unknown-linux-musleabihf.tar.gz.sha256 )
|
#### Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub
Artifact Attestations. These can be verified by using the [GitHub
CLI](https://cli.github.com/manual/gh_attestation_verify ):
```sh
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/uv
```
You can also download the attestation from
[GitHub](https://redirect.github.com/astral-sh/uv/attestations ) and
verify against that directly:
```sh
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>
```
</details>
<details>
<summary>astral-sh/uv-pre-commit</summary>
###
[`v0.13.1`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.13.1 )
[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.13.0...0.13.1 )
See: <https://github.com/astral-sh/uv/releases/tag/0.13.1 >
###
[`v0.13.0`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.13.0 )
[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.12.24...0.13.0 )
See: <https://github.com/astral-sh/uv/releases/tag/0.13.0 >
###
[`v0.12.24`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.12.24 )
[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.12.23...0.12.24 )
See: <https://github.com/astral-sh/uv/releases/tag/0.12.24 >
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "before 4am on Wednesday"
- 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 these
updates 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/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTUuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE1NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Peter <mail@david-peter.de >
2026-10-14 13:21:22 +02:00
renovate[bot]
d0cf39c09e
Update astral-sh/setup-uv action to v10.3.0 ( #29355 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv ) |
action | minor | `v10.2.0` → `v10.3.0` |
---
### Release Notes
<details>
<summary>astral-sh/setup-uv</summary>
###
[`v10.3.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v10.3.0 ):
🌈 Add Python architecture selection
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v10.2.0...v10.3.0 )
#### Changes
This release adds the `python-arch` input to select a Python
architecture independently of the Python version. With `uv` 0.13.0 or
later, set `python-arch: x86_64` to use x64 Python on Windows ARM64
runners.
It also includes embedded checksums for `uv` releases through 0.13.0.
- Use macOS 15 runners for tests
[@​charliermarsh](https://redirect.github.com/charliermarsh )
([#​1081](https://redirect.github.com/astral-sh/setup-uv/issues/1081 ))
#### 🚀 Enhancements
- Add `python-arch` support
[@​zanieb](https://redirect.github.com/zanieb )
([#​1079](https://redirect.github.com/astral-sh/setup-uv/issues/1079 ))
#### 🧰 Maintenance
- chore: update known checksums for 0.13.0
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1089](https://redirect.github.com/astral-sh/setup-uv/issues/1089 ))
- chore: update known checksums for 0.12.24
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1084](https://redirect.github.com/astral-sh/setup-uv/issues/1084 ))
- chore: update known checksums for 0.12.23
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1082](https://redirect.github.com/astral-sh/setup-uv/issues/1082 ))
- chore: update known checksums for 0.12.22
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1080](https://redirect.github.com/astral-sh/setup-uv/issues/1080 ))
- chore: update known checksums for 0.12.21
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1078](https://redirect.github.com/astral-sh/setup-uv/issues/1078 ))
- chore: update known checksums for 0.12.20
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1076](https://redirect.github.com/astral-sh/setup-uv/issues/1076 ))
- chore: update known checksums for 0.12.19
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1068](https://redirect.github.com/astral-sh/setup-uv/issues/1068 ))
- chore: update known checksums for 0.12.18
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​1065](https://redirect.github.com/astral-sh/setup-uv/issues/1065 ))
#### ⬆️ Dependency updates
- chore(deps): bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot )
([#​1077](https://redirect.github.com/astral-sh/setup-uv/issues/1077 ))
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "before 4am on Wednesday"
- 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/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTUuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE1NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-14 12:14:04 +01:00
Zanie Blue
a905ba48e0
[ruff] Add code signing for macOS and Windows binaries ( #29079 )
...
Ruff's release pipeline publishes unsigned macOS and Windows binaries.
Add shared actions to sign Windows binaries and sign and notarize macOS
binaries, then reassemble wheels and GitHub archives with updated
`RECORD` entries and checksums before publication. Use 16 KiB
code-signature pages for ARM64 macOS binaries to reduce
signature-verification work. Signing uses the protected `release`
environment and the repository's `main` workflow, including release dry
runs.
2026-10-08 09:20:50 -05:00
Alex Waygood
5f34507931
Group uv workflow and pre-commit updates ( #29111 )
2026-10-05 14:01:42 +00:00
renovate[bot]
47c751b959
Update dependency astral-sh/uv to v0.12.18 ( #28880 )
2026-09-24 19:41:10 +00:00
Ee Durbin
dba0f30615
authorize ruff-pre-commit dispatch via OIDC ( #28867 )
...
deprecate PAT for this dispatch in favor of OIDC
2026-09-24 10:03:06 -04:00
Ee Durbin
f7d2671337
publish to astral-sh/versions via OIDC ( #28835 )
...
adopt OIDC for release publication to the astral-sh/versions using OIDC
rather than a long lived PAT. similar to docs publishing
Policies merged/applied in
https://github.com/astral-sh/github-policies/pull/78
Versions STS merged in https://github.com/astral-sh/versions/pull/194
`RELEASES_STS_API_URL` configured in `release` environment.
2026-09-23 12:38:57 -04:00
Ee Durbin
0493204d0a
use oidc issued token for docs publication ( #28830 )
...
adopt astral-releases-bot authorized publication of documentation. this
has previously been rolled out to uv and python-build-standalone and
allows us to retire the PAT for astral-docs-bot in favor of OIDC auth
docs STS has been authorized via
https://github.com/astral-sh/docs/pull/517
`RELEASES_STS_API_URL` has been appropriately set in release environment
2026-09-23 09:49:03 -04:00
renovate[bot]
0b0410a8db
Update astral-sh/setup-uv action to v10.2.0 ( #28803 )
2026-09-23 08:34:20 +02:00
zaniebot and zaniebot
3ee130d1da
Grant checkout workflows repository read access ( #28682 )
...
CI in a private copy of the repository fails at `actions/checkout`
because several workflows explicitly set `permissions: {}`. Grant
`contents: read` to the affected CI, build, and publishing workflows.
The reusable release jobs receive the same permission from their
callers, with the grants recorded in `dist-workspace.toml` so
regeneration retains them.
Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com >
2026-09-17 21:21:12 -04:00
William Woodruff
ff4747b509
renovate: update uv hashes correctly with setup-uv ( #28621 )
...
Signed-off-by: William Woodruff <william@yossarian.net >
2026-09-16 11:12:43 -04:00
renovate[bot]
132d288bd0
Update astral-sh/setup-uv action to v10.1.0 ( #28630 )
2026-09-16 08:20:00 +02:00
Ee Durbin
18cdbb4f3d
use scoped token for release workflow ( #28484 )
...
fetch a short-lived repo-scoped app token with `contents: write` and
`workflows: write` for the `gh release create` call, dropping the
workflow's permissions to `contents: read`.
`STS_API_URL` secret has been set in the `release` environment
2026-09-10 11:29:06 -04:00
Zanie Blue
77f6538258
Use paid GitHub-hosted runners for Linux ( #28478 )
...
The standard Linux jobs share the organization's GitHub-hosted
concurrency limit. Route them to the existing four-core GitHub-hosted
larger runners, and use the two-core pool for the lightweight CI gate.
Forks continue to use the standard runners, and the existing Depot,
Namespace, Windows, and macOS runner choices are unchanged.
2026-09-09 17:29:07 -05:00
renovate[bot]
6eaa5bf8f0
Update dependency astral-sh/uv to v0.12.11 ( #28431 )
2026-09-09 07:52:19 +02:00
Zsolt Dollenstein
a592ffe132
Embed archive checksums in the shell installer ( #28281 )
...
Release archives already have `.sha256` files, but the custom binary
build jobs don't put those hashes in cargo-dist's manifest. The
generated shell installer therefore has no expected archive hashes to
check.
Add a job that imports the built archives' checksums into a local
manifest before cargo-dist generates the installers. Run the helper
through uv with a script lockfile, require a valid sidecar for every
downloaded executable archive, and require the job to succeed before
hosting the release.
2026-09-04 21:29:42 +01:00
William Woodruff
056ce07a89
Add UV_LOCKED to all workflows ( #28261 )
...
Signed-off-by: William Woodruff <william@yossarian.net >
2026-09-03 12:16:39 -04:00
zaniebot and zaniebot
dd2c893042
Annotate intentional release secret inheritance ( #27887 )
...
The release workflow intentionally uses `secrets: inherit` for its local
reusable workflows. Annotate those calls with `zizmor:
ignore[secrets-inherit]` so the rest of the workflow can be audited
without a file-wide exclusion. This leaves the existing secret-passing
behavior unchanged.
Precursor to
[astral-sh/ruff#27884 ](https://github.com/astral-sh/ruff/pull/27884 ).
Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com >
2026-08-19 14:53:27 +00:00
zaniebot and Zanie Blue
b1c34f077c
Harden release workflow permissions and shell inputs ( #27848 )
...
The release workflow grants `contents: write` by default and embeds
release tags in shell commands. Restrict the default token, declare the
read access needed by planning, building, and reusable workflows, and
preserve the existing publishing permissions. Pass release values
through environment variables and quoted argument arrays so they are
treated as arguments rather than shell source.
Port of astral-sh/uv#19822 .
Co-authored-by: Zanie Blue <contact@zanie.dev >
2026-08-18 16:39:44 -05:00
zaniebot and Zanie Blue
761f79686d
Disable cache-aware actions throughout release workflows ( #27854 )
...
Release jobs can consume shared GitHub caches when an action's cache
defaults change. Set `ACTIONS_CACHE_MODE: none` in `release.yml` and
every reusable workflow it calls so compatible clients skip cache reads
and writes. Each reusable workflow needs its own setting because
workflow-level environment variables are not inherited by called
workflows. CI calls to those shared workflows use the same setting.
This does not revoke cache credentials. The pinned `setup-uv@v9.0.0` and
`setup-node@v7.0.0` do not honor the variable, so the explicit client
opt-outs in #27846 remain necessary. Unrelated workflows and artifact
transfers are unchanged.
Port of astral-sh/uv#21196 .
Co-authored-by: Zanie Blue <contact@zanie.dev >
2026-08-18 16:38:52 -05:00
Charlie Marsh
3436ac3e6a
Pin Depot runners to Ubuntu 24.04 ( #27656 )
...
## Summary
Previously, our Depot-backed CI and release jobs used floating Ubuntu
runner labels. We now pin the four-core release runners and eight-core
CI runners to Ubuntu 24.04, update actionlint accordingly, and keep the
cargo-dist runner configuration aligned with the generated release
workflow.
The existing release approval gate and checksum-verified cargo-dist
installation remain unchanged.
2026-08-11 12:21:35 -04:00
William Woodruff
3d1516fd86
release: use self-repo syntax ( #27514 )
...
Signed-off-by: William Woodruff <william@yossarian.net >
2026-08-05 13:54:32 -04:00
Charlie Marsh
dff016b7a4
Publish Ruff crates to crates.io ( #26271 )
...
## Summary
Publish Ruff's production Rust crates to crates.io as part of the
existing release workflow. This follows uv's setup: workspace
dependencies carry registry-compatible version pins, internal crates
receive generated READMEs and an explicit versioning policy, CI dry-runs
the full workspace publish, and release jobs publish missing crate
versions idempotently through crates.io trusted publishing.
The publishing set contains 32 packages: Ruff's CLI, WASM package,
server, linter, formatter, parser, and the internal Ruff component
crates required by them. It also includes `ty_module_resolver`,
`ty_site_packages`, and `ty_static`, because those three crates are part
of Ruff's normal dependency closure.
The publishing set deliberately excludes:
- Test-only crates: `mdtest`, `ruff_mdtest`,
`ruff_python_ast_integration_tests`, and
`ruff_python_trivia_integration_tests`.
- Benchmark and development crates: `ruff_benchmark` and `ruff_dev`.
- All remaining `ty_*` crates.
These packages retain `publish = false`, so bootstrap, version bumping,
README generation, CI dry-runs, and release publishing skip them through
Cargo metadata instead of a separate hard-coded allowlist.
The crates.io job is intentionally independent of release announcement,
so a crates.io outage cannot block the existing binary, PyPI, npm, or
GitHub release outputs. A bootstrap script reserves new crate names,
configures the release workflow as each crate's trusted publisher,
enables trusted-publishing-only releases, and records configured crates
for idempotent reruns.
The full workspace publish dry-run packages and verifies all 32 selected
crates.
Closes https://github.com/astral-sh/ruff/issues/43 .
2026-06-23 12:49:23 -04:00
Zanie Blue
f3f1b11dc7
Create a "deployment" for the release-gate job ( #24493 )
...
Mirror of https://github.com/astral-sh/uv/pull/18920
2026-04-08 15:21:03 +00:00
Zanie Blue
aecb5877c6
Only run the release-gate on workflow dispatch ( #24366 )
2026-04-02 16:15:34 +00:00
Zanie Blue
3286a62be9
Add a "release-gate" step to the release workflow ( #24365 )
...
Mirrors https://github.com/astral-sh/uv/pull/18804
You can see the environment policies I'll apply following merge at
https://github.com/astral-sh/github-policies/tree/main/environments
Also updates the Docker workflow to avoid using release secrets when not
pushing.
2026-04-02 10:01:32 -05:00
Zanie Blue
8e04486156
Fetch the cargo-dist binary directly instead of using the installer ( #24258 )
...
See https://github.com/astral-sh/uv/pull/18731
2026-03-30 18:07:24 +00:00
renovate[bot] and Micha Reiser
9b58d66f36
Update actions/download-artifact digest to 484a0b5 ( #23974 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| actions/download-artifact | action | digest | `70fc10c` → `484a0b5` |
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (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/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io >
2026-03-16 09:34:19 +00:00
renovate[bot] and Alex Waygood
080644e96c
Update Artifact GitHub Actions dependencies ( #23676 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| actions/download-artifact | action | digest | `37930b1` → `70fc10c` |
| actions/upload-artifact | action | digest | `b7c566a` → `bbbca2d` |
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40My4yIiwidXBkYXRlZEluVmVyIjoiNDMuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2026-03-02 12:16:21 +00:00
renovate[bot] and Alex Waygood
af3c21bb92
Update actions/attest-build-provenance to 4.1.0 ( #23654 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2026-03-02 12:07:49 +00:00
Zsolt Dollenstein
2296c36612
Publish releases to Astral mirror ( #23616 )
2026-03-02 04:46:01 -05:00
Zsolt Dollenstein
76906cc638
Bump cargo dist to 0.31 ( #23614 )
2026-02-27 13:46:10 -05:00
Shaan Majid
7bb9f80596
Add attestations for release artifacts and Docker images ( #23111 )
...
## Summary
Adds GitHub artifact attestations (SLSA provenance) for release
artifacts and Docker images.
Users will be able to verify artifacts with:
```bash
# Release artifacts
gh attestation verify ruff-x86_64-unknown-linux-gnu.tar.gz --repo astral-sh/ruff
# Docker images
gh attestation verify oci://ghcr.io/astral-sh/ruff:latest --repo astral-sh/ruff
```
## Test Plan
Tested end-to-end releases and attestation verification on my fork.
(Note, some finagling was necessary to successfully publish without a
dedicated depot runner, see a5d98386bb8b14d685164f6464908e84ba4ce91b)
- Workflow run:
https://github.com/shaanmajid/ruff/actions/runs/21732754488
- Test release: https://github.com/shaanmajid/ruff/releases/tag/0.15.0
Verify release artifacts:
```bash
gh release download 0.15.0 --repo shaanmajid/ruff --pattern "ruff-x86_64-unknown-linux-gnu.tar.gz" --dir /tmp
gh attestation verify /tmp/ruff-x86_64-unknown-linux-gnu.tar.gz --repo shaanmajid/ruff
```
Verify Docker images:
```bash
gh attestation verify oci://ghcr.io/shaanmajid/ruff:0.15.0 --repo shaanmajid/ruff
gh attestation verify oci://ghcr.io/shaanmajid/ruff:alpine --repo shaanmajid/ruff
gh attestation verify oci://ghcr.io/shaanmajid/ruff:debian --repo shaanmajid/ruff
```
## Notes
- `actions/attest-build-provenance` was preexisting in
`dist-workspace.toml` but was unused, so the upgrade across major
versions is safe
2026-02-16 10:46:21 -05:00