Skip to content

Commit 120277d

Browse files
authored
Remove outdated Python pre-3.7 references (datastax#1186)
1 parent cea6e00 commit 120277d

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

README-dev.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Use tee to capture logs and see them on your terminal::
176176

177177
Testing Multiple Python Versions
178178
--------------------------------
179-
If you want to test all of python 2.7, 3.5, 3.6, 3.7, and pypy, use tox (this is what
179+
If you want to test all of python 3.7, 3.8, and pypy, use tox (this is what
180180
TravisCI runs)::
181181

182182
tox

test-requirements.txt

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ ccm>=2.1.2
66
pytz
77
sure
88
pure-sasl
9-
twisted[tls]; python_version >= '3.5'
10-
twisted[tls]==19.2.1; python_version < '3.5'
9+
twisted[tls]
1110
gevent>=1.0
1211
eventlet
1312
cython>=0.20,<0.30
1413
packaging
15-
backports.ssl_match_hostname; python_version < '2.7.9'
1614
futurist; python_version >= '3.7'
17-
asynctest; python_version >= '3.5'
18-
ipaddress; python_version < '3.3.0'
15+
asynctest

tests/integration/long/test_ssl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
if not hasattr(ssl, 'match_hostname'):
3030
try:
31-
from backports.ssl_match_hostname import match_hostname
31+
from ssl import match_hostname
3232
ssl.match_hostname = match_hostname
3333
except ImportError:
3434
pass # tests will fail

0 commit comments

Comments
 (0)