Skip to content

Commit 247dbe6

Browse files
committed
ci: build ABI3 fallback from Python 3.15
1 parent a5ee8db commit 247dbe6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Build ABI3 wheel
6262
env:
6363
BENCODER_LIMITED_API: "1"
64-
CIBW_BUILD: "cp310-*"
64+
CIBW_BUILD: "cp315-*"
6565
CIBW_ENVIRONMENT: "BENCODER_LIMITED_API=1"
6666
run: python -m cibuildwheel --output-dir wheelhouse
6767

@@ -102,7 +102,7 @@ jobs:
102102
fail-fast: false
103103
matrix:
104104
os: [ubuntu-latest, windows-latest, macos-latest]
105-
python-version: ["3.10", "3.x"]
105+
python-version: ["3.15", "3.x"]
106106

107107
steps:
108108
- uses: actions/checkout@v7

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ChangeLog
4444
Version 3.0.3
4545
~~~~~~~~~~~~~~~
4646

47-
+ Add a `cp310-abi3` fallback wheel for CPython 3.10 and newer
47+
+ Add a `cp315-abi3` fallback wheel for CPython 3.15 and newer
4848
+ Keep per-version native wheels for optimized builds
4949

5050
Version 3.0.2

‎setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
pyx_path = 'bencoder.pyx'
1010
c_path = 'bencoder.c'
1111
use_limited_api = os.environ.get("BENCODER_LIMITED_API", "0") == "1"
12-
abi3_tag = "cp310"
13-
abi3_api = "0x030A0000"
12+
abi3_tag = "cp315"
13+
abi3_api = "0x030F0000"
1414

1515
if os.path.exists(c_path):
1616
# Remove C file to force Cython recompile.

0 commit comments

Comments
 (0)