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