|
@@ -0,0 +1,34 @@
|
|
|
|
+From a79152d1d621ea9d477ecc6862a03cae80b2425b Mon Sep 17 00:00:00 2001
|
|
|
|
+From: Peter Korsgaard <peter@korsgaard.com>
|
|
|
|
+Date: Sat, 15 Dec 2018 14:04:57 +0100
|
|
|
|
+Subject: [PATCH] setup.py: allow all recent 2.x requests releases
|
|
|
|
+
|
|
|
|
+Instead of having to update this for each new requests release.
|
|
|
|
+
|
|
|
|
+It it not quite clear why the restriction was added in the first place in
|
|
|
|
+commit b0480b4d04e (Bump SDK version to latest), but change it to simply
|
|
|
|
+disallow the upcoming 3.0 release to match what is done for the other
|
|
|
|
+modules.
|
|
|
|
+
|
|
|
|
+Submitted upstream: https://github.com/docker/compose/pull/6415
|
|
|
|
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
|
|
|
+---
|
|
|
|
+ setup.py | 2 +-
|
|
|
|
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
+
|
|
|
|
+diff --git a/setup.py b/setup.py
|
|
|
|
+index 96530726..3c8c7d0e 100644
|
|
|
|
+--- a/setup.py
|
|
|
|
++++ b/setup.py
|
|
|
|
+@@ -33,7 +33,7 @@ install_requires = [
|
|
|
|
+ 'cached-property >= 1.2.0, < 2',
|
|
|
|
+ 'docopt >= 0.6.1, < 0.7',
|
|
|
|
+ 'PyYAML >= 3.10, < 4',
|
|
|
|
+- 'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 2.19',
|
|
|
|
++ 'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 3.0',
|
|
|
|
+ 'texttable >= 0.9.0, < 0.10',
|
|
|
|
+ 'websocket-client >= 0.32.0, < 1.0',
|
|
|
|
+ 'docker >= 3.1.4, < 4.0',
|
|
|
|
+--
|
|
|
|
+2.11.0
|
|
|
|
+
|