Skip to content

Commit 487a687

Browse files
committed
Build: Upgrade cibuildwheel to include Py3.13 and exclude old wheel builds (<3.8).
1 parent 62fe5fc commit 487a687

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.github/workflows/ci.yml

-8
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ jobs:
8787
pyversion: ["cp"]
8888

8989
include:
90-
- image: manylinux_2_24_aarch64
91-
pyversion: "cp37"
9290
- image: manylinux_2_24_aarch64
9391
pyversion: "cp38"
9492
- image: manylinux_2_24_aarch64
@@ -123,12 +121,6 @@ jobs:
123121
- name: Copy wheels in dist
124122
run: cp -v wheelhouse*/*-m*linux*.whl dist/ # manylinux / musllinux
125123

126-
- name: Release
127-
uses: softprops/action-gh-release@v2
128-
if: github.ref_type == 'tag'
129-
with:
130-
files: dist/*cp27*.whl, dist/*cp35*.whl, dist/*cp36*.whl
131-
132124
- name: Archive Wheels
133125
uses: actions/upload-artifact@v4
134126
with:

.github/workflows/wheels.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions/checkout@v4
7272
- name: Install cibuildwheel
7373
# Nb. keep cibuildwheel version pin consistent with job below
74-
run: pipx install cibuildwheel==2.17.0
74+
run: pipx install cibuildwheel==2.21.3
7575
- id: set-matrix
7676
run: |
7777
MATRIX=$(
@@ -107,14 +107,14 @@ jobs:
107107
platforms: all
108108

109109
- name: Build wheels
110-
uses: pypa/cibuildwheel@v2.17.0
110+
uses: pypa/cibuildwheel@v2.21.3
111111
with:
112112
only: ${{ matrix.only }}
113113

114114
- name: Build faster Linux wheels
115115
# also build wheels with the most recent manylinux images and gcc
116116
if: runner.os == 'Linux' && !contains(matrix.only, 'i686')
117-
uses: pypa/cibuildwheel@v2.17.0
117+
uses: pypa/cibuildwheel@v2.21.3
118118
env:
119119
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
120120
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["Cython>=3.0.10, < 3.1.0", "setuptools", "wheel"]
33

44
[tool.cibuildwheel]
55
build-verbosity = 2
6-
skip = ["pp*", "*-musllinux_i686"]
6+
skip = ["pp*", "*-musllinux_i686", "cp35*", "cp36*", "cp37*"]
77
# test-command = "python -m unittest {package}/test_fractions.py -p -v"
88

99
[tool.cibuildwheel.linux]
@@ -38,4 +38,5 @@ archs = ["AMD64", "x86"]
3838
# https://cibuildwheel.readthedocs.io/en/stable/faq/#what-to-provide suggests to provide
3939
# x86_64 and one of universal2 or arm64 wheels. x86_64 is still required by older pips,
4040
# so additional arm64 wheels suffice.
41+
#archs = ["x86_64", "universal2"]
4142
archs = ["x86_64", "arm64"]

0 commit comments

Comments
 (0)