Skip to content

Commit 9716653

Browse files
authored
Merge pull request #2104 from minrk/cibw3
cibuildwheel 3, upgrade base images
2 parents 9711727 + f13db40 commit 9716653

File tree

3 files changed

+20
-22
lines changed

3 files changed

+20
-22
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,16 @@ jobs:
9999
build: "*manylinux*"
100100

101101
# additional manylinux variants, not specified in pyproject.toml:
102-
# build with newer 2_28 for cpython >= 3.10, pypy 3.9
103-
- name: manylinux-x86_64-2_28
104-
cibw:
105-
arch: x86_64
106-
build: "cp31*-manylinux* pp39-manylinux*"
107-
manylinux_x86_64_image: manylinux_2_28
102+
# this is where we would add e.g. older manylinux_2014 builds
103+
# - name: manylinux-x86_64-2014
104+
# cibw:
105+
# arch: x86_64
106+
# build: "cp31*-manylinux* pp39-manylinux*"
107+
# manylinux_x86_64_image: manylinux_2_28
108108

109109
- name: musllinux
110110
cibw:
111+
arch: auto,auto32
111112
build: "*musllinux*"
112113

113114
- name: musllinux-arm
@@ -116,18 +117,18 @@ jobs:
116117
build: "*musllinux*"
117118

118119
- name: win32
119-
os: windows-2019
120+
os: windows-2022
120121
architecture: x86
121122
cibw:
122123
build: "cp*win32"
123124

124-
- os: windows-2019
125+
- os: windows-2022
125126
name: win-pypy
126127
architecture: x64
127128
cibw:
128129
build: "pp*win_amd64"
129130

130-
- os: windows-2019
131+
- os: windows-2022
131132
name: win_amd64
132133
architecture: x64
133134
cibw:

pyproject.toml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ search = '__version__: str = "{current_version}"'
151151

152152
[tool.cibuildwheel]
153153
build-verbosity = "1"
154-
enable = ["cpython-freethreading", "pypy"]
154+
enable = ["cpython-freethreading", "pypy", "pypy-eol"]
155155
test-requires = ["pytest>=6", "importlib_metadata"]
156156
test-command = "pytest -vsx {package}/tools/test_wheel.py"
157157
build-frontend = "build"
@@ -161,12 +161,12 @@ NO_CYTHON_COMPILE = "true"
161161

162162
[tool.cibuildwheel.linux]
163163
before-all = "bash tools/install_libzmq.sh"
164-
manylinux-x86_64-image = "manylinux2014"
164+
manylinux-x86_64-image = "manylinux_2_28"
165165
manylinux-i686-image = "manylinux2014"
166-
manylinux-aarch64-image = "manylinux2014"
167-
musllinux-aarch64-image = "musllinux_1_1"
168-
musllinux-i686-image = "musllinux_1_1"
169-
musllinux-x86_64-image = "musllinux_1_1"
166+
manylinux-aarch64-image = "manylinux_2_28"
167+
musllinux-aarch64-image = "musllinux_1_2"
168+
musllinux-i686-image = "musllinux_1_2"
169+
musllinux-x86_64-image = "musllinux_1_2"
170170

171171
[tool.cibuildwheel.linux.environment]
172172
ZMQ_PREFIX = "/usr/local"
@@ -204,11 +204,11 @@ repair-wheel-command = """\
204204
"cmake.define.ZMQ_HAVE_IPC" = "OFF"
205205
"cmake.define.POLLER" = "select"
206206

207-
# manylinux2010 for (less) old cp37-9, pp37-8
207+
# manylinux2014 for (less) old cp37-9, pp37-8
208208
[[tool.cibuildwheel.overrides]]
209209
select = "cp3{7,8,9}-* pp3{7,8}-*"
210-
manylinux-x86_64-image = "manylinux2010"
211-
manylinux-i686-image = "manylinux2010"
210+
manylinux-x86_64-image = "manylinux2014"
211+
manylinux-i686-image = "manylinux2014"
212212

213213
# build limited-api wheels for 3.12
214214
[[tool.cibuildwheel.overrides]]
@@ -218,6 +218,3 @@ config-settings."wheel.py-api" = "cp312"
218218
before-build = "pip install abi3audit"
219219
inherit.repair-wheel-command = "append"
220220
repair-wheel-command = "abi3audit --strict --report {wheel}"
221-
222-
# note: manylinux_2_28 builds are added
223-
# in .github/workflows/wheels.yml

tools/wheel-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
abi3audit
2-
cibuildwheel==2.23.*
2+
cibuildwheel==3.0.*
33
delvewheel==1.10.*; sys_platform == 'win32'

0 commit comments

Comments
 (0)