Skip to content

Commit 6d5ed8c

Browse files
committed
fix: enable PyO3 forward compatibility for Python 3.14+
Add PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to support Python versions newer than PyO3's maximum supported version (3.13). This ensures Windows wheel builds work with Python 3.14+ runners.
1 parent e5d98e5 commit 6d5ed8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ jobs:
359359
# Disable any CPU-specific optimizations in dependencies
360360
CFLAGS: "-march=x86-64"
361361
CXXFLAGS: "-march=x86-64"
362+
# Enable forward compatibility for Python versions newer than PyO3 max supported
363+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
362364

363365
- name: Verify wheel compatibility (baseline only)
364366
if: matrix.cpu_profile == 'baseline'

0 commit comments

Comments
 (0)