docker-compose: backport upstream patch for pyyaml 4.x support
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 30 Jan 2019 21:27:13 +0000 (22:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 31 Jan 2019 07:49:58 +0000 (08:49 +0100)
commit3019b97648547b28806b3883ac98dc2315c06dd2
tree8604cf061cb4a107f9bd01b8e5148eea1d83be5e
parent30f23f9980efa612aae5cecc3d4221b912248095
docker-compose: backport upstream patch for pyyaml 4.x support

Otherwise docker-compose fails at runtime with:

docker-compose
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3123, in <module>
  File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3107, in _call_aside
  File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3136, in _initialize_master_working_set
  File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 580, in _build_master
  File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 593, in _build_from_requirements
  File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
pkg_resources.DistributionNotFound: The 'PyYAML<4,>=3.10' distribution was not found and is required by docker-compose

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/docker-compose/0002-Upgrade-pyyaml-to-4.2b1.patch [new file with mode: 0644]