Merge pull request #6778 from ulyssessouza/cleanup-setup_py-versioning

Strip up generic versions and bump requests
This commit is contained in:
Ulysses Souza 2019-07-03 17:31:15 +02:00 committed by GitHub
commit 3d693f3733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -31,31 +31,31 @@ def find_version(*file_paths):
install_requires = [ install_requires = [
'cached-property >= 1.2.0, < 2', 'cached-property >= 1.2.0, < 2',
'docopt >= 0.6.1, < 0.7', 'docopt >= 0.6.1, < 1',
'PyYAML >= 3.10, < 4.3', 'PyYAML >= 3.10, < 5',
'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 2.23', 'requests >= 2.20.0, < 3',
'texttable >= 0.9.0, < 0.10', 'texttable >= 0.9.0, < 1',
'websocket-client >= 0.32.0, < 1.0', 'websocket-client >= 0.32.0, < 1',
'docker[ssh] >= 3.7.0, < 4.0.2', 'docker[ssh] >= 3.7.0, < 5',
'dockerpty >= 0.4.1, < 0.5', 'dockerpty >= 0.4.1, < 1',
'six >= 1.3.0, < 2', 'six >= 1.3.0, < 2',
'jsonschema >= 2.5.1, < 3', 'jsonschema >= 2.5.1, < 3',
] ]
tests_require = [ tests_require = [
'pytest', 'pytest < 6',
] ]
if sys.version_info[:2] < (3, 4): if sys.version_info[:2] < (3, 4):
tests_require.append('mock >= 1.0.1') tests_require.append('mock >= 1.0.1, < 2')
extras_require = { extras_require = {
':python_version < "3.4"': ['enum34 >= 1.0.4, < 2'], ':python_version < "3.4"': ['enum34 >= 1.0.4, < 2'],
':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5'], ':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5, < 4'],
':python_version < "3.3"': ['ipaddress >= 1.0.16'], ':python_version < "3.3"': ['ipaddress >= 1.0.16, < 2'],
':sys_platform == "win32"': ['colorama >= 0.4, < 0.5'], ':sys_platform == "win32"': ['colorama >= 0.4, < 1'],
'socks': ['PySocks >= 1.5.6, != 1.5.7, < 2'], 'socks': ['PySocks >= 1.5.6, != 1.5.7, < 2'],
} }