@@ -2,24 +2,6 @@ name: Build and upload to PyPi
22
33on : [push, pull_request]
44
5-
6- env :
7- CIBW_TEST_COMMAND_LINUX : >
8- pytest {project}/tests/unit &&
9- EVENT_LOOP_MANAGER=gevent pytest {project}/tests/unit/io/test_geventreactor.py
10-
11- CIBW_TEST_COMMAND_MACOS : " pytest {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation)' "
12- CIBW_TEST_COMMAND_WINDOWS : " pytest {project}/tests/unit -k \" not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" "
13- CIBW_BEFORE_TEST : " pip install -r {project}/test-requirements.txt"
14- 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"
15- CIBW_ENVIRONMENT : " CASS_DRIVER_BUILD_CONCURRENCY=2 CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST=yes CFLAGS='-g0 -O3'"
16- CIBW_SKIP : cp36* cp37* pp*i686 *musllinux*
17- CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
18- CIBW_MANYLINUX_PYPY_X86_64_IMAGE : manylinux_2_28
19- CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
20- CIBW_MANYLINUX_PYPY_AARCH64_IMAGE : manylinux_2_28
21- CIBW_BUILD_FRONTEND : " build[uv]"
22-
235jobs :
246 build_wheels :
257 name : Build wheels ${{ matrix.os }} (${{ matrix.platform }})
6446
6547 - name : Install cibuildwheel
6648 run : |
67- python3 -m pip install cibuildwheel==2.22.0
49+ python3 -m pip install cibuildwheel==2.22.0 uv==0.5.23
6850
6951 - name : Install OpenSSL for Windows
7052 if : runner.os == 'Windows'
@@ -86,41 +68,20 @@ jobs:
8668 run : |
8769 brew install libev
8870
89- - name : Overwrite for Linux 64
90- if : runner.os == 'Linux' && matrix.platform == 'x86_64'
91- run : |
92- echo "CIBW_BUILD=cp3*_x86_64" >> $GITHUB_ENV
93-
9471 - name : Overwrite for Linux PyPy
9572 if : runner.os == 'Linux' && matrix.platform == 'PyPy'
9673 run : |
9774 echo "CIBW_BUILD=pp*" >> $GITHUB_ENV
98- echo "CIBW_TEST_COMMAND_LINUX=" >> $GITHUB_ENV
99-
100- - name : Overwrite for Windows 64
101- if : runner.os == 'Windows' && matrix.platform == 'win64'
102- run : |
103- echo "CIBW_BUILD=cp*win_amd64" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
10475
10576 - name : Overwrite for Windows PyPY
10677 if : runner.os == 'Windows' && matrix.platform == 'PyPy'
10778 run : |
10879 echo "CIBW_BUILD=pp*" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
109- echo "CIBW_TEST_COMMAND_WINDOWS=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
110-
111- - name : Overwrite for MacOs
112- if : runner.os == 'MacOs' && matrix.platform == 'all'
113- run : |
114- echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313*" >> $GITHUB_ENV
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
11780
11881 - name : Overwrite for MacOs PyPy
11982 if : runner.os == 'MacOs' && matrix.platform == 'PyPy'
12083 run : |
12184 echo "CIBW_BUILD=pp*" >> $GITHUB_ENV
122- echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
123- echo "CIBW_TEST_COMMAND_MACOS=" >> $GITHUB_ENV
12485
12586 - name : Build wheels
12687 run : |
@@ -178,7 +139,7 @@ jobs:
178139
179140 - name : Install cibuildwheel
180141 run : |
181- python -m pip install cibuildwheel==2.22.0
142+ python -m pip install cibuildwheel==2.22.0 uv==0.5.23
182143
183144 - name : Build wheels
184145 env :
0 commit comments