Skip to content

Commit 2295c1c

Browse files
authored
Build ABI3 wheels on CI. (#373)
Add ABI3 wheels on CI
1 parent ffb3312 commit 2295c1c

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ jobs:
7272
python -m uv pip install wheelhouse/line_profiler*.tar.gz -v
7373
- name: Test minimal loose sdist
7474
env:
75-
# So far not needed, but once we bump to 3.14 this needs to be
76-
# set whenever `pytest` is run with `coverage`
77-
# (see the `test_binpy_wheels` jobs)
7875
COVERAGE_CORE: ctrace
7976
run: |-
8077
pwd
@@ -146,6 +143,18 @@ jobs:
146143
if: runner.os == 'Linux' && matrix.arch != 'auto'
147144
with:
148145
platforms: all
146+
- name: Build binary wheels
147+
uses: pypa/[email protected]
148+
with:
149+
output-dir: wheelhouse
150+
config-file: pyproject.toml
151+
env:
152+
CIBW_SKIP: ${{ matrix.cibw_skip }}
153+
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
154+
CIBW_ENVIRONMENT: PYTHONUTF8=1
155+
PYTHONUTF8: '1'
156+
CIBW_CONFIG_SETTINGS: --build-option=--py-limited-api=cp38
157+
CIBW_BUILD: cp38-*
149158
- name: Build binary wheels
150159
uses: pypa/[email protected]
151160
with:

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changes
44
5.0.1
55
~~~~~
66
* FIX: ref-count leaks #372
7+
* ENH: Add support for building ABI3 wheels
78

89
5.0.0
910
~~~~~

0 commit comments

Comments
 (0)