From 388664033ae6f5acdc8814663810164973486e09 Mon Sep 17 00:00:00 2001 From: Brad Schoening <5796692+bschoening@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:12:14 -0500 Subject: [PATCH] Remove outdated Python pre-3.7 references (#1186) --- test-requirements.txt | 12 +++++------- tests/integration/long/test_ssl.py | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 2851efc3db..b6320a3f4b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,13 +5,11 @@ mock>1.1 pytz sure pure-sasl -twisted[tls]; python_version >= '3.5' -twisted[tls]==19.2.1; python_version < '3.5' -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 +twisted[tls] +gevent>=1.0 +eventlet +cython>=0.20,<0.30 packaging futurist; python_version >= '3.7' -asynctest; python_version >= '3.5' +asynctest pyyaml diff --git a/tests/integration/long/test_ssl.py b/tests/integration/long/test_ssl.py index b9319e15cd..113baf165e 100644 --- a/tests/integration/long/test_ssl.py +++ b/tests/integration/long/test_ssl.py @@ -28,7 +28,7 @@ if not hasattr(ssl, 'match_hostname'): try: - from backports.ssl_match_hostname import match_hostname + from ssl import match_hostname ssl.match_hostname = match_hostname except ImportError: pass # tests will fail