Skip to content

Commit 5d1b0a1

Browse files
committed
ci: Set PYO3_USE_ABI3_FORWARD_COMPATIBILITY to fix Python 3.13 build
1 parent 549accd commit 5d1b0a1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
args: --release --out dist --find-interpreter
3333
sccache: 'true'
3434
manylinux: auto
35+
env:
36+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
3537

3638
- name: Upload wheels
3739
uses: actions/upload-artifact@v4
@@ -58,6 +60,8 @@ jobs:
5860
target: ${{ matrix.target }}
5961
args: --release --out dist --find-interpreter
6062
sccache: 'true'
63+
env:
64+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
6165

6266
- name: Upload wheels
6367
uses: actions/upload-artifact@v4
@@ -83,6 +87,8 @@ jobs:
8387
target: ${{ matrix.target }}
8488
args: --release --out dist --find-interpreter
8589
sccache: 'true'
90+
env:
91+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
8692

8793
- name: Upload wheels
8894
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)