8fbc61437f
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.26` → `0.9.28` | --- ### Release Notes <details> <summary>astral-sh/uv (astral-sh/uv)</summary> ### [`v0.9.28`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0928) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.27...0.9.28) Released on 2026-01-29. ##### Python - Update CPython to use [OpenSSL 3.5.5](https://redirect.github.com/openssl/openssl/releases/tag/openssl-3.5.5) which includes fixes for high severity CVEs ([python-build-standalone#960](https://redirect.github.com/astral-sh/python-build-standalone/pull/960)) ##### Enhancements - Add support for Pyodide interpreter on Windows ([#​17658](https://redirect.github.com/astral-sh/uv/pull/17658)) - Warn if multiple indexes include `default = true` ([#​17713](https://redirect.github.com/astral-sh/uv/pull/17713)) - Skip uploads when validation reports 'Already uploaded' ([#​17412](https://redirect.github.com/astral-sh/uv/pull/17412)) ##### Configuration - Add a reflink alias for the "clone" link mode ([#​17724](https://redirect.github.com/astral-sh/uv/pull/17724)) ##### Bug fixes - Ensure `uv.exe` exits when `uvw.exe` or `uvx.exe` is killed ([#​17500](https://redirect.github.com/astral-sh/uv/pull/17500)) ### [`v0.9.27`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0927) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.26...0.9.27) Released on 2026-01-26. ##### Python - Upgrade Pyodide to 0.29.2 ([#​17652](https://redirect.github.com/astral-sh/uv/pull/17652)) - Upgrade to GraalPy 25.0.2 ([#​17634](https://redirect.github.com/astral-sh/uv/pull/17634)) ##### Enhancements - Add `-t` shortform for `--target` to `uv pip` subcommands ([#​17501](https://redirect.github.com/astral-sh/uv/pull/17501)) - Add support for ROCm 7.0 and 7.1 accelerator backends ([#​17681](https://redirect.github.com/astral-sh/uv/pull/17681)) - Further improve free-threading ABI incompatibility errors ([#​17491](https://redirect.github.com/astral-sh/uv/pull/17491)) - Implement `uv pip freeze --exclude` flag ([#​17045](https://redirect.github.com/astral-sh/uv/pull/17045)) - Improve warnings for `--system` and `--no-system` in `uv venv` ([#​17647](https://redirect.github.com/astral-sh/uv/pull/17647)) - Make `uv pip compile` attempt to download a specified `--python-version` if it can. ([#​17249](https://redirect.github.com/astral-sh/uv/pull/17249)) - Support Trusted Publishing with pyx ([#​17438](https://redirect.github.com/astral-sh/uv/pull/17438)) - Fix JSON schema for `exclude-newer-package` ([#​17665](https://redirect.github.com/astral-sh/uv/pull/17665)) ##### Preview features - Better detection for conflicting packages ([#​17623](https://redirect.github.com/astral-sh/uv/pull/17623)) - Upgrade based on outdated build versions in `uv python upgrade` ([#​17653](https://redirect.github.com/astral-sh/uv/pull/17653)) ##### Bug fixes - Change chocolatey system test to ensure uv uses the right python ([#​17533](https://redirect.github.com/astral-sh/uv/pull/17533)) - Fix infinite loop when `SSL_CERT_FILE` is a directory ([#​17503](https://redirect.github.com/astral-sh/uv/pull/17503)) ##### Documentation - Add cargo-xwin to the CONTRIBUTING guide ([#​17507](https://redirect.github.com/astral-sh/uv/pull/17507)) - Fix typo in the documentation of UV\_PUBLISH\_INDEX ([#​17672](https://redirect.github.com/astral-sh/uv/pull/17672)) - Move MSRV to platform support section ([#​17534](https://redirect.github.com/astral-sh/uv/pull/17534)) - Update the testing instructions in the CONTRIBUTING guide ([#​17528](https://redirect.github.com/astral-sh/uv/pull/17528)) - Use `--locked` to install `cargo-xwin` in guide ([#​17530](https://redirect.github.com/astral-sh/uv/pull/17530)) - Warn about PyPy being unmaintained ([#​17643](https://redirect.github.com/astral-sh/uv/pull/17643)) - docs: Correct gitlab-ci.yml to .gitlab-ci.yml ([#​17682](https://redirect.github.com/astral-sh/uv/pull/17682)) ##### Other changes - Update MSRV to 1.91 ([#​17677](https://redirect.github.com/astral-sh/uv/pull/17677)) </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>
187 lines
6.0 KiB
YAML
187 lines
6.0 KiB
YAML
on:
|
|
workflow_call:
|
|
inputs:
|
|
save-rust-cache:
|
|
required: false
|
|
type: string
|
|
default: "true"
|
|
test-macos:
|
|
required: false
|
|
type: string
|
|
default: "false"
|
|
|
|
permissions: {}
|
|
|
|
env:
|
|
CARGO_INCREMENTAL: 0
|
|
CARGO_NET_RETRY: 10
|
|
CARGO_TERM_COLOR: always
|
|
PYTHON_VERSION: "3.12"
|
|
RUSTUP_MAX_RETRIES: 10
|
|
|
|
jobs:
|
|
# We use the large GitHub actions runners
|
|
# For Ubuntu and Windows, this requires Organization-level configuration
|
|
# See: https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#about-ubuntu-and-windows-larger-runners
|
|
|
|
cargo-test-linux:
|
|
timeout-minutes: 10
|
|
runs-on: depot-ubuntu-22.04-16
|
|
name: "cargo test on linux"
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
|
|
|
|
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
|
|
with:
|
|
save-if: ${{ inputs.save-rust-cache == 'true' }}
|
|
|
|
- name: "Install Rust toolchain"
|
|
run: rustup show
|
|
|
|
- uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
|
|
with:
|
|
version: "0.9.28"
|
|
|
|
- name: "Install required Python versions"
|
|
run: uv python install
|
|
|
|
- name: "Install secret service"
|
|
run: |
|
|
sudo apt update -y
|
|
sudo apt install -y gnome-keyring
|
|
|
|
- name: "Start gnome-keyring"
|
|
# run gnome-keyring with 'foobar' as password for the login keyring
|
|
# this will create a new login keyring and unlock it
|
|
# the login password doesn't matter, but the keyring must be unlocked for the tests to work
|
|
run: gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'
|
|
|
|
- name: "Install cargo nextest"
|
|
uses: taiki-e/install-action@542cebaaed782771e619bd5609d97659d109c492 # v2.66.7
|
|
with:
|
|
tool: cargo-nextest
|
|
|
|
- name: "Cargo test"
|
|
env:
|
|
# Retry more than default to reduce flakes in CI
|
|
UV_HTTP_RETRIES: 5
|
|
RUST_BACKTRACE: 1
|
|
run: |
|
|
cargo nextest run \
|
|
--cargo-profile fast-build \
|
|
--features python-patch,native-auth,secret-service \
|
|
--workspace \
|
|
--profile ci-linux
|
|
|
|
cargo-test-macos:
|
|
timeout-minutes: 20
|
|
# Only run macOS tests on main without opt-in
|
|
if: ${{ inputs.test-macos == 'true' }}
|
|
runs-on: depot-macos-14
|
|
name: "cargo test on macos"
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
|
|
|
|
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
|
|
with:
|
|
save-if: ${{ inputs.save-rust-cache == 'true' }}
|
|
|
|
- name: "Install Rust toolchain"
|
|
run: rustup show
|
|
|
|
- uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
|
|
with:
|
|
version: "0.9.28"
|
|
|
|
- name: "Install required Python versions"
|
|
run: uv python install
|
|
|
|
- name: "Install cargo nextest"
|
|
uses: taiki-e/install-action@542cebaaed782771e619bd5609d97659d109c492 # v2.66.7
|
|
with:
|
|
tool: cargo-nextest
|
|
|
|
- name: "Cargo test"
|
|
env:
|
|
# Retry more than default to reduce flakes in CI
|
|
UV_HTTP_RETRIES: 5
|
|
RUST_BACKTRACE: 1
|
|
run: |
|
|
cargo nextest run \
|
|
--cargo-profile fast-build \
|
|
--no-default-features \
|
|
--features python,python-managed,pypi,git,git-lfs,performance,crates-io,native-auth,apple-native \
|
|
--workspace \
|
|
--profile ci-macos
|
|
|
|
cargo-test-windows:
|
|
timeout-minutes: 15
|
|
runs-on: github-windows-2025-x86_64-16
|
|
name: "cargo test on windows ${{ matrix.partition }} of 3"
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
partition: [1, 2, 3]
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup Dev Drive
|
|
run: ${{ github.workspace }}/.github/workflows/setup-dev-drive.ps1
|
|
|
|
# actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone...
|
|
- name: Copy Git Repo to Dev Drive
|
|
run: |
|
|
Copy-Item -Path "${{ github.workspace }}" -Destination "$Env:UV_WORKSPACE" -Recurse
|
|
|
|
- uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
|
|
with:
|
|
version: "0.9.28"
|
|
|
|
- name: "Install required Python versions"
|
|
run: uv python install
|
|
|
|
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
|
|
with:
|
|
workspaces: ${{ env.UV_WORKSPACE }}
|
|
# Use the same cache entry across the partitions
|
|
add-job-id-key: false
|
|
save-if: ${{ inputs.save-rust-cache == 'true' }}
|
|
|
|
- name: "Install Rust toolchain"
|
|
working-directory: ${{ env.UV_WORKSPACE }}
|
|
run: rustup show
|
|
|
|
- name: "Install cargo nextest"
|
|
uses: taiki-e/install-action@542cebaaed782771e619bd5609d97659d109c492 # v2.66.7
|
|
with:
|
|
tool: cargo-nextest
|
|
|
|
- name: "Cargo test"
|
|
working-directory: ${{ env.UV_WORKSPACE }}
|
|
env:
|
|
# Retry more than default to reduce flakes in CI
|
|
UV_HTTP_RETRIES: 5
|
|
# Avoid permission errors during concurrent tests
|
|
# See https://github.com/astral-sh/uv/issues/6940
|
|
UV_LINK_MODE: copy
|
|
RUST_BACKTRACE: 1
|
|
shell: bash
|
|
run: |
|
|
cargo nextest run \
|
|
--cargo-profile fast-build \
|
|
--no-default-features \
|
|
--features python,pypi,python-managed,native-auth,windows-native \
|
|
--workspace \
|
|
--profile ci-windows \
|
|
--partition hash:${{ matrix.partition }}/3
|