2
1

0001-setup.py-allow-all-recent-2.x-requests-releases.patch 1.2 KB

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