2
1

0003-support-PyYAML-up-to-5.1-version.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From 3be619b814c16c02a02499e7a157dabd065926dd Mon Sep 17 00:00:00 2001
  2. From: Sergey Fursov <geyser85@gmail.com>
  3. Date: Sun, 31 Mar 2019 12:45:50 +0700
  4. Subject: [PATCH] support PyYAML up to 5.1 version
  5. Signed-off-by: Sergey Fursov <geyser85@gmail.com>
  6. [Upstream: https://github.com/docker/compose/pull/6623]
  7. (cherry picked from commit d2ca096f46a56cd4db494c593ed84e5c255dc15d)
  8. [Peter: allow all 5.x]
  9. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  10. ---
  11. requirements.txt | 2 +-
  12. setup.py | 2 +-
  13. 2 files changed, 2 insertions(+), 2 deletions(-)
  14. diff --git a/requirements.txt b/requirements.txt
  15. index d868fdeb..e3dbc807 100644
  16. --- a/requirements.txt
  17. +++ b/requirements.txt
  18. @@ -16,7 +16,7 @@ paramiko==2.4.2
  19. pypiwin32==219; sys_platform == 'win32' and python_version < '3.6'
  20. pypiwin32==223; sys_platform == 'win32' and python_version >= '3.6'
  21. PySocks==1.6.7
  22. -PyYAML==4.2b1
  23. +PyYAML==5.1
  24. requests==2.20.0
  25. six==1.10.0
  26. texttable==1.6.2
  27. diff --git a/setup.py b/setup.py
  28. index c9e4729d..17ab678e 100644
  29. --- a/setup.py
  30. +++ b/setup.py
  31. @@ -32,7 +32,7 @@ def find_version(*file_paths):
  32. install_requires = [
  33. 'cached-property >= 1.2.0, < 2',
  34. 'docopt >= 0.6.1, < 1',
  35. - 'PyYAML >= 3.10, < 5',
  36. + 'PyYAML >= 3.10, < 6',
  37. 'requests >= 2.20.0, < 3',
  38. 'texttable >= 0.9.0, < 2',
  39. 'websocket-client >= 0.32.0, < 1',
  40. --
  41. 2.20.1