Skip to content

Commit d016893

Browse files
committed
✨ feat: use abi310
1 parent e10a7c6 commit d016893

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2019
target: [x86_64, x86, aarch64]
21-
name: Ubuntu, ${{ matrix.target }}, Python ${{ matrix.python-version }}
20+
name: Ubuntu, ${{ matrix.target }}
2221
steps:
2322
- uses: actions/checkout@v4
2423
- uses: actions/setup-python@v6
2524
with:
26-
python-version: ${{ matrix.python-version }}
25+
python-version: 3.x
2726
allow-prerelease: true
2827
- name: Build wheels
2928
uses: PyO3/maturin-action@v1
@@ -35,21 +34,20 @@ jobs:
3534
- name: Upload wheels
3635
uses: actions/upload-artifact@v4
3736
with:
38-
name: wheels-ubuntu-${{ matrix.target }}-${{ matrix.python-version }}
37+
name: wheels-ubuntu-${{ matrix.target }}
3938
path: dist
4039

4140
windows:
4241
runs-on: windows-latest
4342
strategy:
4443
matrix:
45-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
4644
target: [x64, x86]
47-
name: Windows, ${{ matrix.target }}, Python ${{ matrix.python-version }}
45+
name: Windows, ${{ matrix.target }}
4846
steps:
4947
- uses: actions/checkout@v4
5048
- uses: actions/setup-python@v6
5149
with:
52-
python-version: ${{ matrix.python-version }}
50+
python-version: 3.x
5351
architecture: ${{ matrix.target }}
5452
allow-prerelease: true
5553
- name: Build wheels
@@ -61,21 +59,20 @@ jobs:
6159
- name: Upload wheels
6260
uses: actions/upload-artifact@v4
6361
with:
64-
name: wheels-windows-${{ matrix.target }}-${{ matrix.python-version }}
62+
name: wheels-windows-${{ matrix.target }}
6563
path: dist
6664

6765
macos:
6866
runs-on: macos-latest
6967
strategy:
7068
matrix:
71-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
7269
target: [x86_64, aarch64]
73-
name: macOS, ${{ matrix.target }}, Python ${{ matrix.python-version }}
70+
name: macOS, ${{ matrix.target }}
7471
steps:
7572
- uses: actions/checkout@v4
7673
- uses: actions/setup-python@v6
7774
with:
78-
python-version: ${{ matrix.python-version }}
75+
python-version: 3.x
7976
allow-prerelease: true
8077
- name: Build wheels
8178
uses: PyO3/maturin-action@v1
@@ -86,7 +83,7 @@ jobs:
8683
- name: Upload wheels
8784
uses: actions/upload-artifact@v4
8885
with:
89-
name: wheels-macos-${{ matrix.target }}-${{ matrix.python-version }}
86+
name: wheels-macos-${{ matrix.target }}
9087
path: dist
9188

9289
sdist:

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ name = "codespan_reporting_pyo3"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = "0.26.0"
12+
pyo3 = { version = "0.26.0", features = ["abi3-py310"] }
1313
codespan-reporting = "0.12.0"

0 commit comments

Comments
 (0)