@@ -4,13 +4,17 @@ on: [push, pull_request]
44
55
66env :
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
812 CIBW_TEST_COMMAND_MACOS : " pytest {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation)' "
913 CIBW_TEST_COMMAND_WINDOWS : " pytest {project}/tests/unit -k \" not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" "
1014 CIBW_BEFORE_TEST : " pip install -r {project}/test-requirements.txt"
1115 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"
1216 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*
1418 CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
1519 CIBW_MANYLINUX_PYPY_X86_64_IMAGE : manylinux_2_28
1620 CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
@@ -51,15 +55,16 @@ jobs:
5155
5256 - uses : actions/setup-python@v5
5357 name : Install Python
54-
58+ with :
59+ python-version : ' 3.13'
5560 - name : Enable pip installing globally
5661 if : runner.os == 'MacOs' || runner.os == 'Windows'
5762 run : |
5863 echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> $GITHUB_ENV
5964
6065 - name : Install cibuildwheel
6166 run : |
62- python3 -m pip install cibuildwheel==2.16.2
67+ python3 -m pip install cibuildwheel==2.22.0
6368
6469 - name : Install OpenSSL for Windows
6570 if : runner.os == 'Windows'
@@ -106,8 +111,9 @@ jobs:
106111 - name : Overwrite for MacOs
107112 if : runner.os == 'MacOs' && matrix.platform == 'all'
108113 run : |
109- echo "CIBW_BUILD=cp38* cp39* cp310* cp311* cp312*" >> $GITHUB_ENV
114+ echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313 *" >> $GITHUB_ENV
110115 echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
116+ echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV
111117
112118 - name : Overwrite for MacOs PyPy
113119 if : runner.os == 'MacOs' && matrix.platform == 'PyPy'
@@ -167,10 +173,12 @@ jobs:
167173
168174 - uses : actions/setup-python@v5
169175 name : Install Python
176+ with :
177+ python-version : ' 3.13'
170178
171179 - name : Install cibuildwheel
172180 run : |
173- python -m pip install cibuildwheel==2.16.2
181+ python -m pip install cibuildwheel==2.20.0
174182
175183 - name : Build wheels
176184 env :
0 commit comments