@@ -45,9 +45,7 @@ dev = [
4545 " pytest~=8.0" ,
4646 " PyYAML" ,
4747 " pure-sasl" ,
48- " twisted[tls]" ,
49- " gevent" ,
50- " eventlet>=0.33.3" ,
48+ " cryptography>=42.0" ,
5149 " cython>=3.2" ,
5250 " setuptools" ,
5351 " packaging>=25.0" ,
@@ -165,18 +163,15 @@ test-extras = ["compress-lz4"]
165163# so skipping is disabled (CASS_DRIVER_NO_SKIP=1): a missing dependency such as
166164# libev fails loudly instead of being silently skipped. Tests that cannot run in
167165# the default configuration are listed explicitly:
168- # * event-loop reactor tests are run separately with the matching
169- # EVENT_LOOP_MANAGER (gevent/eventlet/asyncio);
166+ # * the asyncio reactor test is run separately with EVENT_LOOP_MANAGER=asyncio;
170167# * asyncore is deprecated and unavailable on modern Python, so it is ignored;
171168# * column_encryption is disabled upstream (scylladb/python-driver#365);
172169# * test_deserialize_date_range_month is disabled upstream (PYTHON-912).
173- # PyPy uses the pp* override below. All Linux CPython reactor commands run with
170+ # PyPy uses the pp* override below. The Linux CPython reactor command runs with
174171# CASS_DRIVER_NO_SKIP=1 so unexpected skips fail loudly.
175172test-command = [
176- " CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {package}/tests/unit -v --ignore={package}/tests/unit/column_encryption --ignore={package}/tests/unit/io/test_geventreactor.py --ignore={package}/tests/unit/io/test_eventletreactor.py --ignore={package}/tests/unit/io/test_asyncioreactor.py --ignore={package}/tests/unit/io/test_asyncorereactor.py -k 'not test_deserialize_date_range_month'" ,
177- " EVENT_LOOP_MANAGER=gevent CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {package}/tests/unit/io/test_geventreactor.py -v" ,
173+ " CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {package}/tests/unit -v --ignore={package}/tests/unit/column_encryption --ignore={package}/tests/unit/io/test_asyncioreactor.py --ignore={package}/tests/unit/io/test_asyncorereactor.py -k 'not test_deserialize_date_range_month'" ,
178174 " EVENT_LOOP_MANAGER=asyncio CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {package}/tests/unit/io/test_asyncioreactor.py -v" ,
179- " EVENT_LOOP_MANAGER=eventlet CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {package}/tests/unit/io/test_eventletreactor.py -v" ,
180175]
181176
182177[tool .cibuildwheel .macos ]
@@ -185,10 +180,10 @@ build-frontend = "build"
185180test-extras = [" compress-lz4" ]
186181# Same policy as Linux (extensions are mandatory here too, libev comes from
187182# Homebrew). The extra -k exclusions are timing-sensitive tests that are flaky
188- # on macOS runners. The gevent/eventlet/ asyncio reactor test files only contain
189- # those timing-sensitive timer tests, so they are not run separately here.
183+ # on macOS runners. The asyncio reactor test file only contains those
184+ # timing-sensitive timer tests, so it is not run separately here.
190185test-command = [
191- " CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {project}/tests/unit -v --ignore={project}/tests/unit/column_encryption --ignore={project}/tests/unit/io/test_geventreactor.py --ignore={project}/tests/unit/io/test_eventletreactor.py --ignore={project}/tests/unit/io/ test_asyncioreactor.py --ignore={project}/tests/unit/io/test_asyncorereactor.py -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation or test_deserialize_date_range_month)'" ,
186+ " CASS_DRIVER_NO_SKIP=1 pytest --import-mode=append {project}/tests/unit -v --ignore={project}/tests/unit/column_encryption --ignore={project}/tests/unit/io/test_asyncioreactor.py --ignore={project}/tests/unit/io/test_asyncorereactor.py -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation or test_deserialize_date_range_month)'" ,
192187]
193188
194189[tool .cibuildwheel .windows ]
0 commit comments