-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade pyo3 to 0.23 #188
Changes from all commits
6d5f7a1
8ef896a
6b762a7
5777328
f05bf04
b2ef042
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# This file is autogenerated by maturin v1.6.0 | ||
# This file is autogenerated by maturin v1.7.8 | ||
# To update, run | ||
# | ||
# maturin generate-ci github -m crates/pyaugurs/Cargo.toml | ||
|
@@ -24,17 +24,17 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: x86_64 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: x86 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: aarch64 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: armv7 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: s390x | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: ppc64le | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -45,7 +45,7 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.platform.target }} | ||
args: --release --out dist --find-interpreter --manifest-path crates/pyaugurs/Cargo.toml | ||
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml | ||
sccache: 'true' | ||
manylinux: auto | ||
- name: Upload wheels | ||
|
@@ -59,13 +59,13 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: x86_64 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: x86 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: aarch64 | ||
- runner: ubuntu-latest | ||
- runner: ubuntu-22.04 | ||
target: armv7 | ||
Comment on lines
+62
to
+68
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consistent configuration with main Linux builds The musllinux configuration properly mirrors the main Linux builds with the same improvements. The use of Similarly to the Linux builds, Python 3.13 should be removed from the build matrix: - args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml
+ args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml Also applies to: 79-79, 82-82 |
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -76,7 +76,7 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.platform.target }} | ||
args: --release --out dist --find-interpreter --manifest-path crates/pyaugurs/Cargo.toml | ||
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml | ||
sccache: 'true' | ||
manylinux: musllinux_1_2 | ||
- name: Upload wheels | ||
|
@@ -104,7 +104,7 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.platform.target }} | ||
args: --release --out dist --find-interpreter --manifest-path crates/pyaugurs/Cargo.toml | ||
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 --manifest-path crates/pyaugurs/Cargo.toml | ||
sccache: 'true' | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -117,7 +117,7 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- runner: macos-12 | ||
- runner: macos-13 | ||
target: x86_64 | ||
- runner: macos-14 | ||
target: aarch64 | ||
Comment on lines
+120
to
122
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated macOS runners but Python 3.13 needs attention Good updates to macOS runners (macos-13 and macos-14), but Python 3.13 should be removed from the build matrix for consistency with the rust-numpy compatibility issue. Remove Python 3.13 from the build matrix: - args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml
+ args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml Also applies to: 133-133 |
||
|
@@ -130,7 +130,7 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.platform.target }} | ||
args: --release --out dist --find-interpreter --manifest-path crates/pyaugurs/Cargo.toml | ||
args: --release --out dist -i 3.9 -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy-3.9 -i pypy-3.10 --manifest-path crates/pyaugurs/Cargo.toml | ||
sccache: 'true' | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -139,7 +139,7 @@ jobs: | |
path: dist | ||
|
||
sdist: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build sdist | ||
|
@@ -155,7 +155,7 @@ jobs: | |
|
||
release: | ||
name: Release | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
if: "startsWith(github.ref, 'refs/tags/pyaugurs-')" | ||
needs: [linux, musllinux, windows, macos, sdist] | ||
permissions: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved build stability with explicit configurations
Good improvements:
--find-interpreter
helps avoid issues with unsupported versionsHowever, including Python 3.13 might still cause issues as mentioned in the PR comments about rust-numpy compatibility.
Consider removing Python 3.13 from the build matrix until rust-numpy adds support for it:
Also applies to: 48-48