| |
@@ -1,12 +1,16 @@
|
| |
- Generate requirements list dynamically instead of using environment markers.
|
| |
- This allows using versions of setuptools older than 20.6.8.
|
| |
-
|
| |
- diff -Nurp docker-2.5.1.orig/setup.py docker-2.5.1/setup.py
|
| |
- --- docker-2.5.1.orig/setup.py 2017-08-22 18:44:35.000000000 -0500
|
| |
- +++ docker-2.5.1/setup.py 2017-09-05 12:06:03.280017598 -0500
|
| |
- @@ -29,23 +29,14 @@ requirements = [
|
| |
- if sys.platform == 'win32':
|
| |
- requirements.append('pypiwin32 >= 219')
|
| |
+ --- docker-3.4.1.orig/setup.py 2020-05-26 10:01:21.780821688 -0400
|
| |
+ +++ docker-3.4.1/setup.py 2020-05-26 10:26:45.268184688 -0400
|
| |
+ @@ -3,6 +3,7 @@ from __future__ import print_function
|
| |
+
|
| |
+ import codecs
|
| |
+ import os
|
| |
+ +import sys
|
| |
+
|
| |
+ from setuptools import setup, find_packages
|
| |
+
|
| |
+ @@ -16,29 +17,15 @@ requirements = [
|
| |
+ 'docker-pycreds >= 0.3.0'
|
| |
+ ]
|
| |
|
| |
-extras_require = {
|
| |
- ':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
|
| |
@@ -15,6 +19,12 @@
|
| |
- # ServerAltname: https://pypi.python.org/pypi/backports.ssl_match_hostname
|
| |
- ':python_version < "3.3"': 'ipaddress >= 1.0.16',
|
| |
-
|
| |
+ - # win32 APIs if on Windows (required for npipe support)
|
| |
+ - # Python 3.6 is only compatible with v220 ; Python < 3.5 is not supported
|
| |
+ - # on v220 ; ALL versions are broken for v222 (as of 2018-01-26)
|
| |
+ - ':sys_platform == "win32" and python_version < "3.6"': 'pypiwin32==219',
|
| |
+ - ':sys_platform == "win32" and python_version >= "3.6"': 'pypiwin32==220',
|
| |
+ -
|
| |
- # If using docker-py over TLS, highly recommend this option is
|
| |
- # pip-installed or pinned.
|
| |
-
|
| |
@@ -33,10 +43,11 @@
|
| |
+# ServerAltname: https://pypi.python.org/pypi/backports.ssl_match_hostname
|
| |
+if sys.version_info[:2] < (3, 3):
|
| |
+ requirements.append('ipaddress >= 1.0.16')
|
| |
+ +
|
| |
|
| |
version = None
|
| |
exec(open('docker/version.py').read())
|
| |
- @@ -72,7 +63,6 @@ setup(
|
| |
+ @@ -65,7 +52,6 @@ setup(
|
| |
packages=find_packages(exclude=["tests.*", "tests"]),
|
| |
install_requires=requirements,
|
| |
tests_require=test_requirements,
|
| |
Upgrade to python-docker 3.4.1 containing new classes that may be needed by some applications