Skip to content

Commit

Permalink
CI: remove gevent/greenlet from build-pre-release
Browse files Browse the repository at this point in the history
since python3.13 doesn't seem to be able to build those yet.
we'll disable those tests, and make sure it's ignore in
the requirements.txt
  • Loading branch information
fruch committed Jun 24, 2024
1 parent e590b7a commit c9b24b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down
6 changes: 3 additions & 3 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c9b24b7

Please sign in to comment.