1
0
mirror of https://github.com/j178/prek.git synced 2026-04-25 02:11:36 +02:00

Update dependency PyO3/maturin to v1.13.1 (#1959)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [PyO3/maturin](https://redirect.github.com/PyO3/maturin) | minor |
`v1.12.6` → `v1.13.1` |

---

### Release Notes

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

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

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

#### What's Changed

- fix: fall back to placeholder for abi3 when found interpreters are too
old by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3126](https://redirect.github.com/PyO3/maturin/pull/3126)

See also v1.13.0 release highlight:
<https://github.com/PyO3/maturin/releases/tag/v1.13.0>

**Full Changelog**:
<https://github.com/PyO3/maturin/compare/v1.13.0...v1.13.1>

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

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

maturin 1.13.0 is a feature-rich release focused on better wheel
generation, improved packaging workflows, and smoother cross-platform
builds. This release adds new capabilities for stub generation and PGO
builds, significantly improves wheel repair support on macOS and
Windows, and includes a broad set of fixes for ABI tagging, source
distributions, and platform-specific build behavior.

#### Highlights

- Added support for Profile-Guided Optimization (PGO).
- Added PyO3 stub generation support, including a new `generate-stubs`
command and `--generate-stubs` build option.
- Re-implemented macOS wheel repair (delocate) and Windows wheel repair
(delvewheel) in maturin, currently warn only when external shared
libraries dependencies are required.
- Added support for large zip files.
- Added support for `[tool.maturin.generate-ci.github]` configuration.
- Improved PEP 517 compatibility by respecting `metadata_directory` in
build\_wheel.

This release also includes substantial internal refactoring across build
orchestration, interpreter resolution, and command structure, plus
dependency and CI updates that improve maintainability and reliability.

No major intentional breaking changes are expected, but users with
custom CI or packaging setups may want to validate their workflows after
upgrading.

#### What's Changed

- refactor: unified interpreter resolution pipeline by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3032](https://redirect.github.com/PyO3/maturin/pull/3032)
- Sync legacy\_py.rs with upstream PyPI warehouse legacy.py by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3053](https://redirect.github.com/PyO3/maturin/pull/3053)
- refactor: decompose large modules into focused submodules by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3052](https://redirect.github.com/PyO3/maturin/pull/3052)
- Keep cargo build artifact at original path after staging by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3054](https://redirect.github.com/PyO3/maturin/pull/3054)
- Fix `--strip` conflicting with `--include-debuginfo` in develop by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3057](https://redirect.github.com/PyO3/maturin/pull/3057)
- Fix abi3 wheel producing version-specific tags for CPython below
minimum by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3061](https://redirect.github.com/PyO3/maturin/pull/3061)
- \[pre-commit.ci] pre-commit autoupdate by
[@&#8203;pre-commit-ci](https://redirect.github.com/pre-commit-ci)\[bot]
in [#&#8203;3060](https://redirect.github.com/PyO3/maturin/pull/3060)
- generate-ci: use uv pip for pytest steps to fix local wheel preference
by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3063](https://redirect.github.com/PyO3/maturin/pull/3063)
- Add `[tool.maturin.generate-ci.github]` config support by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3066](https://redirect.github.com/PyO3/maturin/pull/3066)
- fix(sdist): handle parent workspaces and refactor sdist generation by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3055](https://redirect.github.com/PyO3/maturin/pull/3055)
- test: refactor integration suite and switch mixed fixtures to cffi by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3068](https://redirect.github.com/PyO3/maturin/pull/3068)
- Fix `data` symlink permission handling by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3069](https://redirect.github.com/PyO3/maturin/pull/3069)
- fix: correct bugs in audit.rs typo and module\_writer by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3070](https://redirect.github.com/PyO3/maturin/pull/3070)
- perf: use lazy-initialized regexes instead of per-call compilation by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3071](https://redirect.github.com/PyO3/maturin/pull/3071)
- refactor: extract duplicated helpers and reduce code repetition by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3072](https://redirect.github.com/PyO3/maturin/pull/3072)
- refactor: split monster functions into focused methods by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3073](https://redirect.github.com/PyO3/maturin/pull/3073)
- refactor: improve type safety and API clarity by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3074](https://redirect.github.com/PyO3/maturin/pull/3074)
- refactor: cleanup anti-patterns by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3075](https://redirect.github.com/PyO3/maturin/pull/3075)
- refactor: decompose `build_context` into focused submodules by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3076](https://redirect.github.com/PyO3/maturin/pull/3076)
- \[pre-commit.ci] pre-commit autoupdate by
[@&#8203;pre-commit-ci](https://redirect.github.com/pre-commit-ci)\[bot]
in [#&#8203;3077](https://redirect.github.com/PyO3/maturin/pull/3077)
- fix: skip legacy manylinux aliases not in PyPI allow-list by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3078](https://redirect.github.com/PyO3/maturin/pull/3078)
- fix: auto-generate `.def` file for zig + windows-gnu to export
`PyInit` symbol by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3079](https://redirect.github.com/PyO3/maturin/pull/3079)
- ci: upgrade run-on-arch-action to ubuntu24.04, add deadsnakes PPA for
newer Python by [@&#8203;messense](https://redirect.github.com/messense)
in [#&#8203;3081](https://redirect.github.com/PyO3/maturin/pull/3081)
- fix: pass `-undefined dynamic_lookup` via `CARGO_ENCODED_RUSTFLAGS` on
macOS by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3083](https://redirect.github.com/PyO3/maturin/pull/3083)
- feat: add Profile-Guided Optimization (PGO) support by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3085](https://redirect.github.com/PyO3/maturin/pull/3085)
- Respect `metadata_directory` in `build_wheel` per PEP 517 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3086](https://redirect.github.com/PyO3/maturin/pull/3086)
- \[pre-commit.ci] pre-commit autoupdate by
[@&#8203;pre-commit-ci](https://redirect.github.com/pre-commit-ci)\[bot]
in [#&#8203;3088](https://redirect.github.com/PyO3/maturin/pull/3088)
- Fix cargo path with puccinialin for Windows by
[@&#8203;konstin](https://redirect.github.com/konstin) in
[#&#8203;3093](https://redirect.github.com/PyO3/maturin/pull/3093)
- build(deps): bump tar from 0.4.44 to 0.4.45 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;3095](https://redirect.github.com/PyO3/maturin/pull/3095)
- build(deps): bump rustls-webpki from 0.103.9 to 0.103.10 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;3096](https://redirect.github.com/PyO3/maturin/pull/3096)
- ci: improve GitHub Actions generation logic by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3097](https://redirect.github.com/PyO3/maturin/pull/3097)
- refactor: split BuildOptions and BuildContext into logical sub-groups
by [@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3098](https://redirect.github.com/PyO3/maturin/pull/3098)
- refactor: move subcommands to separate modules by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3099](https://redirect.github.com/PyO3/maturin/pull/3099)
- refactor: decouple build orchestration from BuildContext by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3100](https://redirect.github.com/PyO3/maturin/pull/3100)
- Upgrade pyo3 to 0.28 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3101](https://redirect.github.com/PyO3/maturin/pull/3101)
- \[pre-commit.ci] pre-commit autoupdate by
[@&#8203;pre-commit-ci](https://redirect.github.com/pre-commit-ci)\[bot]
in [#&#8203;3104](https://redirect.github.com/PyO3/maturin/pull/3104)
- PyO3: Adds --generate\_stubs build options by
[@&#8203;Tpt](https://redirect.github.com/Tpt) in
[#&#8203;3105](https://redirect.github.com/PyO3/maturin/pull/3105)
- fix: prevent panic when no interpreters match abi3 minimum version by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3108](https://redirect.github.com/PyO3/maturin/pull/3108)
- \[pre-commit.ci] pre-commit autoupdate by
[@&#8203;pre-commit-ci](https://redirect.github.com/pre-commit-ci)\[bot]
in [#&#8203;3109](https://redirect.github.com/PyO3/maturin/pull/3109)
- Refactor to store CPython ABI metadata in a struct combining two enums
by [@&#8203;ngoldbaum](https://redirect.github.com/ngoldbaum) in
[#&#8203;3110](https://redirect.github.com/PyO3/maturin/pull/3110)
- refactor: introduce `WheelRepairer` trait by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3112](https://redirect.github.com/PyO3/maturin/pull/3112)
- feat: re-implement delocate for repairing macOS wheels by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3114](https://redirect.github.com/PyO3/maturin/pull/3114)
- \[pre-commit.ci] pre-commit autoupdate by
[@&#8203;pre-commit-ci](https://redirect.github.com/pre-commit-ci)\[bot]
in [#&#8203;3117](https://redirect.github.com/PyO3/maturin/pull/3117)
- PyO3: Adds generate-stubs command by
[@&#8203;Tpt](https://redirect.github.com/Tpt) in
[#&#8203;3115](https://redirect.github.com/PyO3/maturin/pull/3115)
- feat: re-implement delvewheel for repairing Windows wheels by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3116](https://redirect.github.com/PyO3/maturin/pull/3116)
- Add auditwheel Warn mode, default to Warn on macOS/Windows by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3121](https://redirect.github.com/PyO3/maturin/pull/3121)
- feat: Support large zip files by
[@&#8203;EndPositive](https://redirect.github.com/EndPositive) in
[#&#8203;3118](https://redirect.github.com/PyO3/maturin/pull/3118)
- Release v1.13.0 by
[@&#8203;messense](https://redirect.github.com/messense) in
[#&#8203;3124](https://redirect.github.com/PyO3/maturin/pull/3124)

#### New Contributors

- [@&#8203;EndPositive](https://redirect.github.com/EndPositive) made
their first contribution in
[#&#8203;3118](https://redirect.github.com/PyO3/maturin/pull/3118)

**Full Changelog**:
<https://github.com/PyO3/maturin/compare/v1.12.5...v1.13.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`)
- 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/j178/prek).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-04-20 10:39:33 +08:00
committed by GitHub
parent e7c403eb46
commit 317e933e21
+1 -1
View File
@@ -34,7 +34,7 @@ env:
CARGO_TERM_COLOR: always
RUSTUP_MAX_RETRIES: 10
# renovate: datasource=github-releases depName=PyO3/maturin versioning=semver
MATURIN_VERSION: "v1.12.6"
MATURIN_VERSION: "v1.13.1"
jobs:
sdist: