Skip to content

Commit e5f1135

Browse files
committed
Update cibuildwheel to 3.2.1
New version does not support pypy wheels, so just remove them. Also new version does not support cp2* cp36* and cp37* builds anymore, so we can safely drop them. Exclude building freethreaded python wheels.
1 parent 377777e commit e5f1135

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

.github/workflows/lib-build-and-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
echo "CIBW_TEST_COMMAND=true" >> $GITHUB_ENV;
9999
echo "CIBW_TEST_COMMAND_WINDOWS=(exit 0)" >> $GITHUB_ENV;
100100
echo "CIBW_TEST_SKIP=*" >> $GITHUB_ENV;
101-
echo "CIBW_SKIP=cp2* cp36* pp36* cp37* pp37* cp38* pp38* cp39* pp39* *i686 *musllinux*" >> $GITHUB_ENV;
102-
echo "CIBW_BUILD=cp3* pp3*" >> $GITHUB_ENV;
101+
echo "CIBW_SKIP=cp38* cp39* cp3*t-* *i686 *musllinux*" >> $GITHUB_ENV;
102+
echo "CIBW_BUILD=cp3*" >> $GITHUB_ENV;
103103
echo "CIBW_BEFORE_TEST=true" >> $GITHUB_ENV;
104104
echo "CIBW_BEFORE_TEST_WINDOWS=(exit 0)" >> $GITHUB_ENV;
105105
@@ -110,7 +110,7 @@ jobs:
110110

111111
- name: Install cibuildwheel
112112
run: |
113-
uv tool install 'cibuildwheel==2.22.0'
113+
uv tool install 'cibuildwheel==3.2.1'
114114
115115
- name: Install OpenSSL for Windows
116116
if: runner.os == 'Windows'
@@ -127,7 +127,7 @@ jobs:
127127
conan profile detect
128128
conan install conanfile.py
129129
130-
- name: Install OpenSSL for MacOS
130+
- name: Install libev for MacOS
131131
if: runner.os == 'MacOs'
132132
run: |
133133
brew install libev

pyproject.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,13 @@ tag_regex = '(?P<version>\d*?\.\d*?\.\d*?)-scylla'
129129
build-frontend = "build[uv]"
130130
environment = { CASS_DRIVER_BUILD_CONCURRENCY = "2", CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST = "yes", CFLAGS = "-g0 -O3" }
131131
skip = [
132-
"cp2*",
133-
"cp36*",
134-
"pp36*",
135-
"cp37*",
136-
"pp37*",
137132
"cp38*",
138-
"pp38*",
139133
"cp39*",
140-
"pp39*",
134+
"cp3*t-*",
141135
"*i686",
142136
"*musllinux*",
143137
]
144-
build = ["cp3*", "pp3*"]
138+
build = ["cp3*"]
145139
test-groups = ["dev"]
146140

147141
manylinux-x86_64-image = "manylinux_2_28"
@@ -171,7 +165,3 @@ test-command = [
171165

172166
# TODO: set CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST to yes when https://github.com/scylladb/python-driver/issues/429 is fixed
173167
environment = { CASS_DRIVER_BUILD_CONCURRENCY = "2", CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST = "no" }
174-
175-
[[tool.cibuildwheel.overrides]]
176-
select = "pp*"
177-
test-command = []

0 commit comments

Comments
 (0)