Skip to content

Commit b2200f7

Browse files
committed
Merge branch 'hugovk-update-versions' into devel
2 parents d2a0822 + 8e7ddc0 commit b2200f7

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
language: python
22
python:
3-
- 2.6
43
- 2.7
5-
- 3.3
64
- 3.4
75
- 3.5
86
- 3.6
97
- nightly
108
script:
119
- python setup.py install
10+
matrix:
11+
allow_failures:
12+
- python: nightly

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ Initial release
8282

8383
Prerequisites
8484
=============
85-
This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13
85+
This has been developed and tested for Python 2.7 with pyOpenSSL 0.13
8686
and 0.14. Version 0.4.0 tested with ``pyOpenSSL`` 0.15.1 and Python 2.7 and
87-
3.4. Note that proxy support is only available from Python 2.6.2 onwards.
87+
3.4.
8888
``pyasn1`` is required for correct SSL verification with ``subjectAltNames``.
8989

9090
Installation

ndg/httpsclient/https.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,9 @@ def connect(self):
7878

7979
sock = socket.create_connection((self.host, self.port), self.timeout)
8080

81-
# Tunnel if using a proxy - ONLY available for Python 2.6.2 and above
82-
if getattr(self, '_tunnel_host', None):
83-
self.sock = sock
84-
self._tunnel()
81+
# Tunnel if using a proxy
82+
self.sock = sock
83+
self._tunnel()
8584

8685
self.sock = SSLSocket(ssl_context, sock)
8786

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
],
3333
},
3434
install_requires=['PyOpenSSL', 'pyasn1>=0.1.1'],
35+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
3536
classifiers=[
3637
'Development Status :: 5 - Production/Stable',
3738
'Environment :: Console',
@@ -45,7 +46,12 @@
4546
'Operating System :: Microsoft :: Windows',
4647
'Operating System :: POSIX :: Linux',
4748
'Programming Language :: Python',
49+
'Programming Language :: Python :: 2',
50+
'Programming Language :: Python :: 2.7',
4851
'Programming Language :: Python :: 3',
52+
'Programming Language :: Python :: 3.4',
53+
'Programming Language :: Python :: 3.5',
54+
'Programming Language :: Python :: 3.6',
4955
'Topic :: Security',
5056
'Topic :: Internet',
5157
'Topic :: Scientific/Engineering',

0 commit comments

Comments
 (0)