Skip to content

Commit 9045dc0

Browse files
authored
update pyo3 to 0.23.3 (#258)
* update pyo3 to 0.23.3 * update maturin CI
1 parent b22bbfb commit 9045dc0

File tree

4 files changed

+75
-198
lines changed

4 files changed

+75
-198
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# This file is autogenerated by maturin v1.7.4
1+
# This file is autogenerated by maturin v1.7.8
22
# To update, run
33
#
44
# maturin generate-ci github
55
#
6-
76
name: CI
87

98
on:
@@ -25,17 +24,17 @@ jobs:
2524
strategy:
2625
matrix:
2726
platform:
28-
- runner: ubuntu-latest
27+
- runner: ubuntu-22.04
2928
target: x86_64
30-
- runner: ubuntu-latest
29+
- runner: ubuntu-22.04
3130
target: x86
32-
- runner: ubuntu-latest
31+
- runner: ubuntu-22.04
3332
target: aarch64
34-
- runner: ubuntu-latest
33+
- runner: ubuntu-22.04
3534
target: armv7
36-
- runner: ubuntu-latest
35+
- runner: ubuntu-22.04
3736
target: s390x
38-
- runner: ubuntu-latest
37+
- runner: ubuntu-22.04
3938
target: ppc64le
4039
steps:
4140
- uses: actions/checkout@v4
@@ -45,7 +44,6 @@ jobs:
4544
- name: Build wheels
4645
uses: PyO3/maturin-action@v1
4746
with:
48-
maturin-version: "1.7.4"
4947
target: ${{ matrix.platform.target }}
5048
args: --release --out dist --find-interpreter
5149
sccache: 'true'
@@ -61,13 +59,13 @@ jobs:
6159
strategy:
6260
matrix:
6361
platform:
64-
- runner: ubuntu-latest
62+
- runner: ubuntu-22.04
6563
target: x86_64
66-
- runner: ubuntu-latest
64+
- runner: ubuntu-22.04
6765
target: x86
68-
- runner: ubuntu-latest
66+
- runner: ubuntu-22.04
6967
target: aarch64
70-
- runner: ubuntu-latest
68+
- runner: ubuntu-22.04
7169
target: armv7
7270
steps:
7371
- uses: actions/checkout@v4
@@ -77,7 +75,6 @@ jobs:
7775
- name: Build wheels
7876
uses: PyO3/maturin-action@v1
7977
with:
80-
maturin-version: "1.7.4"
8178
target: ${{ matrix.platform.target }}
8279
args: --release --out dist --find-interpreter
8380
sccache: 'true'
@@ -106,7 +103,6 @@ jobs:
106103
- name: Build wheels
107104
uses: PyO3/maturin-action@v1
108105
with:
109-
maturin-version: "1.7.4"
110106
target: ${{ matrix.platform.target }}
111107
args: --release --out dist --find-interpreter
112108
sccache: 'true'
@@ -121,7 +117,7 @@ jobs:
121117
strategy:
122118
matrix:
123119
platform:
124-
- runner: macos-12
120+
- runner: macos-13
125121
target: x86_64
126122
- runner: macos-14
127123
target: aarch64
@@ -133,7 +129,6 @@ jobs:
133129
- name: Build wheels
134130
uses: PyO3/maturin-action@v1
135131
with:
136-
maturin-version: "1.7.4"
137132
target: ${{ matrix.platform.target }}
138133
args: --release --out dist --find-interpreter
139134
sccache: 'true'
@@ -150,7 +145,6 @@ jobs:
150145
- name: Build sdist
151146
uses: PyO3/maturin-action@v1
152147
with:
153-
maturin-version: "1.7.4"
154148
command: sdist
155149
args: --out dist
156150
- name: Upload sdist
@@ -178,11 +172,10 @@ jobs:
178172
with:
179173
subject-path: 'wheels-*/*'
180174
- name: Publish to PyPI
181-
if: "startsWith(github.ref, 'refs/tags/')"
175+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
182176
uses: PyO3/maturin-action@v1
183177
env:
184178
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
185179
with:
186-
maturin-version: "1.7.4"
187180
command: upload
188181
args: --non-interactive --skip-existing wheels-*/*

Cargo.lock

Lines changed: 17 additions & 141 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ crate-type = ["cdylib", "rlib"]
1010
path = "src/lib.rs" # The source file of the target.
1111

1212
[dependencies]
13-
pyo3 = { version = "0.21.2", features = ["extension-module"] }
14-
numpy = "0.21"
13+
pyo3 = { version = "0.23.3", features = ["extension-module"] }
14+
numpy = "0.23"

0 commit comments

Comments
 (0)