removed some leftover 3.2 stuff that was missed

[skip ci]
This commit is contained in:
Michael Greene
2016-02-16 16:18:01 -08:00
parent a1d9f1cf08
commit 97e1678aa6
3 changed files with 5 additions and 18 deletions

View File

@@ -22,23 +22,12 @@ with open('README.rst') as readme:
_requires = [
'cryptography>=0.8',
'cryptography>=1.1',
'pyasn1',
'six',
'six>=1.7.2',
'singledispatch',
]
if sys.version_info[:2] == (3, 2):
# cryptography dropped support for Python 3.2 in 0.9
# I still need to support Python 3.2 for the time being, and it's still feasible to do so currently,
# so just ensure we install 0.8.x on 3.2
_requires[0] = 'cryptography>=0.8,<0.9'
# there is also a problem with the combination of cryptography 0.8.2 and cffi 1.1.1 and 1.1.2
# where the double-free in the dsa verify function fixed in cryptography 0.9.1 causes a segfault
# so add the requirement for cffi <= 1.1.0 in here as well
_requires += ['cffi<=1.1.0']
if sys.version_info[:2] <= (3, 4):
# only depend on enum34 if Python is older than 3.4
_requires += ['enum34']