Skip to content

Commit a50c46e

Browse files
authored
chore(deps): bump pypa/cibuildwheel from 2.23 to 3.1 (#309)
* chore(deps): bump pypa/cibuildwheel from 2.23 to 3.1
1 parent 50aa668 commit a50c46e

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
arch: "s390x"
5353
- os: ubuntu-24.04-arm
5454
arch: "armv7l"
55-
- os: windows-2019
56-
arch: "AMD64"
5755
- os: windows-2022
56+
arch: "AMD64"
57+
- os: windows-11-arm
5858
arch: "ARM64"
59-
- os: windows-2019
59+
- os: windows-2022
6060
arch: "x86"
6161
- os: macos-13
6262
arch: "universal2"
@@ -76,7 +76,7 @@ jobs:
7676
enable-cache: false
7777

7878
- name: Build wheels
79-
uses: pypa/cibuildwheel@v2.23
79+
uses: pypa/cibuildwheel@v3.1
8080
env:
8181
CIBW_ARCHS: "${{ matrix.arch }}"
8282

pyproject.toml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,37 +85,39 @@ replacement = ""
8585

8686

8787
[tool.cibuildwheel]
88+
archs = ["auto64", "auto32"]
8889
build = "cp39-*"
8990
build-frontend = "build[uv]"
9091
build-verbosity = 1
9192
test-groups = "test"
9293
test-command = "pytest {project}/tests"
93-
test-skip = ["*-win_arm64", "*-macosx_universal2:arm64"]
94+
test-skip = ["*-macosx_universal2:arm64"]
9495
environment = { NINJA_PYTHON_DIST_ALLOW_NINJA_DEP = "1" }
9596
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
96-
musllinux-x86_64-image = "musllinux_1_1"
97-
musllinux-i686-image = "musllinux_1_1"
98-
musllinux-aarch64-image = "musllinux_1_1"
99-
musllinux-ppc64le-image = "musllinux_1_1"
100-
musllinux-s390x-image = "musllinux_1_1"
97+
manylinux-x86_64-image = "quay.io/pypa/manylinux2010_x86_64:2022-08-05-4535177"
98+
manylinux-i686-image = "quay.io/pypa/manylinux2010_i686:2022-08-05-4535177"
99+
manylinux-aarch64-image = "manylinux2014"
100+
manylinux-ppc64le-image = "manylinux2014"
101+
manylinux-s390x-image = "manylinux2014"
102+
manylinux-armv7l-image = "manylinux_2_31"
103+
musllinux-x86_64-image = "quay.io/pypa/musllinux_1_1_x86_64:2024.10.26-1"
104+
musllinux-i686-image = "quay.io/pypa/musllinux_1_1_i686:2024.10.26-1"
105+
musllinux-aarch64-image = "quay.io/pypa/musllinux_1_1_aarch64:2024.10.26-1"
106+
musllinux-ppc64le-image = "quay.io/pypa/musllinux_1_1_ppc64le:2024.10.26-1"
107+
musllinux-s390x-image = "quay.io/pypa/musllinux_1_1_s390x:2024.10.26-1"
101108
musllinux-armv7l-image = "musllinux_1_2"
102109

103110
[tool.cibuildwheel.config-settings]
104111
"cmake.define.RUN_NINJA_TEST" = "ON"
105112

106-
[[tool.cibuildwheel.overrides]]
107-
select = ["*-win_arm64",]
108-
config-settings."cmake.define.RUN_NINJA_TEST" = "OFF"
109-
110113
[[tool.cibuildwheel.overrides]]
111114
select = "*-macos*"
112115
inherit.environment = "append"
113116
environment = { MACOSX_DEPLOYMENT_TARGET = "10.9" }
114117

115118
[[tool.cibuildwheel.overrides]]
116119
select = "*-manylinux_{x86_64,i686}"
117-
manylinux-x86_64-image = "manylinux2010"
118-
manylinux-i686-image = "manylinux2010"
120+
before-build = "python -m pip install 'pip==25.1.1'"
119121
build-frontend = "pip"
120122
inherit.environment = "append"
121123
environment = { LDFLAGS = "-static-libstdc++" }
@@ -128,8 +130,8 @@ inherit.environment = "append"
128130
environment = { LDFLAGS = "-static-libstdc++ -static-libgcc" }
129131

130132
[[tool.cibuildwheel.overrides]]
131-
select = "*-musllinux_s390x"
132-
build-frontend = "pip"
133+
select = "*-musllinux_{ppc64le,s390x}"
134+
build-frontend = "pip" # uv not available
133135
inherit.test-command = "prepend"
134136
inherit.config-settings = "append"
135137
test-command = "pip check"

0 commit comments

Comments
 (0)