@@ -4,13 +4,17 @@ on: [push, pull_request]
4
4
5
5
6
6
env :
7
- CIBW_TEST_COMMAND_LINUX : " pytest {project}/tests/unit && EVENT_LOOP_MANAGER=gevent pytest {project}/tests/unit/io/test_geventreactor.py"
7
+ CIBW_TEST_COMMAND_LINUX : >
8
+ pytest {project}/tests/unit &&
9
+ if [[ "`(python -c 'import sys; print(0 if sys.version_info > (3, 13) else 1)')`" == "0" ]]; then
10
+ EVENT_LOOP_MANAGER=gevent pytest {project}/tests/unit/io/test_geventreactor.py;
11
+ fi
8
12
CIBW_TEST_COMMAND_MACOS : " pytest {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation)' "
9
13
CIBW_TEST_COMMAND_WINDOWS : " pytest {project}/tests/unit -k \" not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" "
10
14
CIBW_BEFORE_TEST : " pip install -r {project}/test-requirements.txt"
11
15
CIBW_BEFORE_BUILD_LINUX : " rm -rf ~/.pyxbld && rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
12
16
CIBW_ENVIRONMENT : " CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
13
- CIBW_SKIP : cp35* cp36* cp37* pp*i686 *musllinux*
17
+ CIBW_SKIP : cp36* cp37* pp*i686 *musllinux*
14
18
CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
15
19
CIBW_MANYLINUX_PYPY_X86_64_IMAGE : manylinux_2_28
16
20
CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
@@ -51,15 +55,16 @@ jobs:
51
55
52
56
- uses : actions/setup-python@v5
53
57
name : Install Python
54
-
58
+ with :
59
+ python-version : ' 3.13'
55
60
- name : Enable pip installing globally
56
61
if : runner.os == 'MacOs' || runner.os == 'Windows'
57
62
run : |
58
63
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> $GITHUB_ENV
59
64
60
65
- name : Install cibuildwheel
61
66
run : |
62
- python3 -m pip install cibuildwheel==2.16.2
67
+ python3 -m pip install cibuildwheel==2.22.0
63
68
64
69
- name : Install OpenSSL for Windows
65
70
if : runner.os == 'Windows'
@@ -106,8 +111,9 @@ jobs:
106
111
- name : Overwrite for MacOs
107
112
if : runner.os == 'MacOs' && matrix.platform == 'all'
108
113
run : |
109
- echo "CIBW_BUILD=cp38* cp39* cp310* cp311* cp312*" >> $GITHUB_ENV
114
+ echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313 *" >> $GITHUB_ENV
110
115
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
116
+ echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV
111
117
112
118
- name : Overwrite for MacOs PyPy
113
119
if : runner.os == 'MacOs' && matrix.platform == 'PyPy'
@@ -167,10 +173,12 @@ jobs:
167
173
168
174
- uses : actions/setup-python@v5
169
175
name : Install Python
176
+ with :
177
+ python-version : ' 3.13'
170
178
171
179
- name : Install cibuildwheel
172
180
run : |
173
- python -m pip install cibuildwheel==2.16.2
181
+ python -m pip install cibuildwheel==2.20.0
174
182
175
183
- name : Build wheels
176
184
env :
0 commit comments