Update maturin to v1.12.1 (#18142)

This PR contains the following updates:

| Package | Update | Change | Pending |
|---|---|---|---|
| [maturin](https://redirect.github.com/PyO3/maturin) | minor |
`v1.11.5` → `v1.12.1` | `v1.12.4` (+2) |

---

### Release Notes

<details>
<summary>PyO3/maturin (maturin)</summary>

###
[`v1.12.1`](https://redirect.github.com/PyO3/maturin/releases/tag/v1.12.1)

[Compare
Source](https://redirect.github.com/PyO3/maturin/compare/v1.12.0...v1.12.1)

##### What's Changed

- Add `--sbom-include` CLI argument for additional SBOM files by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2999](https://redirect.github.com/PyO3/maturin/pull/2999)
- fix: resolve include patterns relative to python-source for sdist and
wheel by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3000](https://redirect.github.com/PyO3/maturin/pull/3000)
- feat: support including `OUT_DIR` assets in wheel builds by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3001](https://redirect.github.com/PyO3/maturin/pull/3001)
- add test case for uniffi with multiple crates by
[@&#8203;davidhewitt](https://redirect.github.com/davidhewitt) in
[#&#8203;2839](https://redirect.github.com/PyO3/maturin/pull/2839)

**Full Changelog**:
<https://github.com/PyO3/maturin/compare/v1.12.0...v1.12.1>

###
[`v1.12.0`](https://redirect.github.com/PyO3/maturin/releases/tag/v1.12.0)

[Compare
Source](https://redirect.github.com/PyO3/maturin/compare/v1.11.5...v1.12.0)

##### What's Changed

- Use pypi compatibility validation for own CI by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;2929](https://redirect.github.com/PyO3/maturin/pull/2929)
- Update toml crates for toml 1.1 support by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;2934](https://redirect.github.com/PyO3/maturin/pull/2934)
- Use a single location for MSRV by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;2936](https://redirect.github.com/PyO3/maturin/pull/2936)
- Fix editable install for binary projects with Python modules by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2938](https://redirect.github.com/PyO3/maturin/pull/2938)
- Release to crates.io only after the builds passed by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;2939](https://redirect.github.com/PyO3/maturin/pull/2939)
- Use `mymindstorm/setup-emsdk@v14` in generated GitHub Actions workflow
by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2941](https://redirect.github.com/PyO3/maturin/pull/2941)
- Use trusted publishing for crates.io by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;2943](https://redirect.github.com/PyO3/maturin/pull/2943)
- Filter linked\_paths by KIND and linked\_libs by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2949](https://redirect.github.com/PyO3/maturin/pull/2949)
- Update bytes to 1.11.1 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2960](https://redirect.github.com/PyO3/maturin/pull/2960)
- Normalize wheel distribution names to match the PyPA spec by
[@&#8203;artob](https://redirect.github.com/artob) in
[#&#8203;2954](https://redirect.github.com/PyO3/maturin/pull/2954)
- Allow build loongarch64 and riscv64 for musllinux by
[@&#8203;wojiushixiaobai](https://redirect.github.com/wojiushixiaobai)
in [#&#8203;2963](https://redirect.github.com/PyO3/maturin/pull/2963)
- Strip excluded cargo targets in sdist by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2964](https://redirect.github.com/PyO3/maturin/pull/2964)
- Normalize wheel `RECORD` paths (on Windows) by
[@&#8203;texodus](https://redirect.github.com/texodus) in
[#&#8203;2965](https://redirect.github.com/PyO3/maturin/pull/2965)
- Bump MSRV to 1.88.0 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2966](https://redirect.github.com/PyO3/maturin/pull/2966)
- Support MATURIN\_STRIP env var and --strip true/false to override
pyproject.toml by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2968](https://redirect.github.com/PyO3/maturin/pull/2968)
- fix: copy bin artifacts before auditwheel repair to avoid rerun
failures by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2969](https://redirect.github.com/PyO3/maturin/pull/2969)
- fix: rewrite python-source in pyproject.toml when building sdist by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2972](https://redirect.github.com/PyO3/maturin/pull/2972)
- fix: resolve wheel include patterns relative to project root by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2973](https://redirect.github.com/PyO3/maturin/pull/2973)
- fix: always include workspace Cargo.toml in sdist by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2974](https://redirect.github.com/PyO3/maturin/pull/2974)
- refactor: simplify source\_distribution.rs by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2976](https://redirect.github.com/PyO3/maturin/pull/2976)
- feat: support PEP 735 dependency groups in develop command by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2978](https://redirect.github.com/PyO3/maturin/pull/2978)
- Fix license file handling for workspace-level license files by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2970](https://redirect.github.com/PyO3/maturin/pull/2970)
- Support PEP 739 build-details.json when cross compiling by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2979](https://redirect.github.com/PyO3/maturin/pull/2979)
- Fix .libs directory name for namespace packages by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2981](https://redirect.github.com/PyO3/maturin/pull/2981)
- fix: exclude duplicate python source files from sdist for workspace
members by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2982](https://redirect.github.com/PyO3/maturin/pull/2982)
- fix: remove default-members from workspace Cargo.toml in sdist by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2983](https://redirect.github.com/PyO3/maturin/pull/2983)
- fix: correctly filter workspace members in sdist by directory path by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2984](https://redirect.github.com/PyO3/maturin/pull/2984)
- feat: Add PEP 770 SBOM support by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2980](https://redirect.github.com/PyO3/maturin/pull/2980)
- Error when python-source is set but Python module is missing by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2986](https://redirect.github.com/PyO3/maturin/pull/2986)
- feat: add auditwheel SBOM for grafted shared libraries by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2985](https://redirect.github.com/PyO3/maturin/pull/2985)
- Fix sdist duplicate README error when readme is in both Cargo.toml and
pyproject.toml by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2987](https://redirect.github.com/PyO3/maturin/pull/2987)
- fix: support python-source pointing outside Rust source directory by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2988](https://redirect.github.com/PyO3/maturin/pull/2988)
- Relax ziglang dependency version requirement by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2990](https://redirect.github.com/PyO3/maturin/pull/2990)
- Stop adding link-native-libraries flag by default in Emscripten
platform in latest Rust by
[@&#8203;ryanking13](https://redirect.github.com/ryanking13) in
[#&#8203;2991](https://redirect.github.com/PyO3/maturin/pull/2991)
- fix: platform.system() on Android for Python 3.13+ by
[@&#8203;thunder-coding](https://redirect.github.com/thunder-coding) in
[#&#8203;2992](https://redirect.github.com/PyO3/maturin/pull/2992)
- fix: check external libs for glibc version when determining platform
tag by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2993](https://redirect.github.com/PyO3/maturin/pull/2993)
- Update cargo-zigbuild to 0.22.0 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2994](https://redirect.github.com/PyO3/maturin/pull/2994)
- sbom: filter to bindings crate only and upgrade to CycloneDX v1.5 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2995](https://redirect.github.com/PyO3/maturin/pull/2995)
- Upgrade ureq to 3.2.0 and migrate to built-in multipart by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;2997](https://redirect.github.com/PyO3/maturin/pull/2997)

##### New Contributors

- [@&#8203;artob](https://redirect.github.com/artob) made their first
contribution in
[#&#8203;2954](https://redirect.github.com/PyO3/maturin/pull/2954)
- [@&#8203;texodus](https://redirect.github.com/texodus) made their
first contribution in
[#&#8203;2965](https://redirect.github.com/PyO3/maturin/pull/2965)
- [@&#8203;ryanking13](https://redirect.github.com/ryanking13) made
their first contribution in
[#&#8203;2991](https://redirect.github.com/PyO3/maturin/pull/2991)
- [@&#8203;thunder-coding](https://redirect.github.com/thunder-coding)
made their first contribution in
[#&#8203;2992](https://redirect.github.com/PyO3/maturin/pull/2992)

**Full Changelog**:
<https://github.com/PyO3/maturin/compare/v1.11.5...v1.12.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:eyJjcmVhdGVkSW5WZXIiOiI0My4yNi41IiwidXBkYXRlZEluVmVyIjoiNDMuMjYuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-02-23 07:17:51 -06:00
committed by GitHub
parent bf538b6824
commit 47dba43c99
+22 -22
View File
@@ -48,7 +48,7 @@ jobs:
- name: "Build sdist"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
command: sdist
args: --out dist
- name: "Test sdist"
@@ -69,7 +69,7 @@ jobs:
- name: "Build sdist uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
command: sdist
args: --out crates/uv-build/dist -m crates/uv-build/Cargo.toml
- name: "Test sdist uv-build"
@@ -102,7 +102,7 @@ jobs:
- name: "Build wheels - x86_64"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: x86_64
args: --release --locked --out dist --features self-update --compatibility pypi
- name: "Upload wheels"
@@ -133,7 +133,7 @@ jobs:
- name: "Build wheels uv-build - x86_64"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: x86_64
args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml --compatibility pypi
- name: "Upload wheels uv-build"
@@ -161,7 +161,7 @@ jobs:
- name: "Build wheels - aarch64"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: aarch64
manylinux: 2_17
args: --release --locked --out dist --features self-update --compatibility pypi
@@ -199,7 +199,7 @@ jobs:
- name: "Build wheels uv-build - aarch64"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: aarch64
args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml --compatibility pypi
- name: "Test wheel - aarch64"
@@ -241,7 +241,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
args: --release --locked --out dist --features self-update,windows-gui-bin --compatibility pypi
- name: "Test wheel"
@@ -280,7 +280,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml --compatibility pypi
- name: "Test wheel uv-build"
@@ -320,7 +320,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.target }}
# Generally, we try to build in a target docker container. In this case however, a
# 32-bit compiler runs out of memory (4GB memory limit for 32-bit), so we cross compile
@@ -387,7 +387,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.target }}
manylinux: 2_17
args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml --compatibility pypi
@@ -441,7 +441,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: ${{ matrix.platform.manylinux }}
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -494,7 +494,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: ${{ matrix.platform.manylinux }}
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -548,7 +548,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: 2_17
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -602,7 +602,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: 2_17
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -657,7 +657,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: 2_17
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -715,7 +715,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: 2_17
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -760,7 +760,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: 2_31
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -814,7 +814,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: 2_31
docker-options: ${{ matrix.platform.maturin_docker_options }}
@@ -867,7 +867,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.target }}
manylinux: musllinux_1_1
args: --release --locked --out dist --features self-update --compatibility pypi
@@ -914,7 +914,7 @@ jobs:
- name: "Build wheels uv-build"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.target }}
manylinux: musllinux_1_1
args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml --compatibility pypi
@@ -964,7 +964,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: musllinux_1_1
# Tag the musl builds as manylinux 2_17 fallback cause the aarch64 build only support 2_28
@@ -1038,7 +1038,7 @@ jobs:
- name: "Build wheels"
uses: PyO3/maturin-action@b1bd829e37fef14c63f19162034228a2f3dc1021 # v1.50.0
with:
maturin-version: v1.11.5
maturin-version: v1.12.1
target: ${{ matrix.platform.target }}
manylinux: musllinux_1_1
args: --profile minimal-size --locked ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}} --out crates/uv-build/dist -m crates/uv-build/Cargo.toml --compatibility pypi