diff --git a/.github/workflows/build-pre-release.yml b/.github/workflows/build-pre-release.yml index 659bf6c2af..251f816312 100644 --- a/.github/workflows/build-pre-release.yml +++ b/.github/workflows/build-pre-release.yml @@ -3,7 +3,7 @@ name: Build pre release python versions on: [push, pull_request] env: - CIBW_TEST_COMMAND_LINUX: "pytest --import-mode append {project}/tests/unit -k 'not (test_connection_initialization or test_cloud)' && EVENT_LOOP_MANAGER=gevent pytest --import-mode append {project}/tests/unit/io/test_geventreactor.py" + CIBW_TEST_COMMAND_LINUX: "pytest --import-mode append {project}/tests/unit -k 'not (test_connection_initialization or test_cloud)'" CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt" CIBW_BEFORE_BUILD_LINUX: "rm -rf ~/.pyxbld && yum install -y libffi-devel libev libev-devel openssl openssl-devel" CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'" diff --git a/test-requirements.txt b/test-requirements.txt index fa6afd6711..2851efc3db 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,9 +7,9 @@ sure pure-sasl twisted[tls]; python_version >= '3.5' twisted[tls]==19.2.1; python_version < '3.5' -gevent>=1.0; platform_machine != 'i686' and platform_machine != 'win32' -gevent==23.9.0; platform_machine == 'i686' or platform_machine == 'win32' -eventlet>=0.33.3 +gevent>=1.0; python_version < '3.13' and platform_machine != 'i686' and platform_machine != 'win32' +gevent==23.9.0; python_version < '3.13' and (platform_machine == 'i686' or platform_machine == 'win32') +eventlet>=0.33.3; python_version < '3.13' cython packaging futurist; python_version >= '3.7'