Bug ID 954145
Summary docker-compose provided by tumbleweed does not run
Classification openSUSE
Product openSUSE Tumbleweed
Version 2015*
Hardware x86-64
OS SUSE Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter andreas_nordal_4@hotmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

$ docker-compose --help
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3080,
in <module>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3066,
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3093,
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653,
in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666,
in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839,
in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'docker-py<1.4,>=1.3.0' distribution
was not found and is required by docker-compose

---

The final error message is similar to this upstream issue:
https://github.com/docker/compose/issues/2081

However, I don't understand his workaround, because I don't find either
"docker-py" or something that looks like a version number in
/usr/lib/python2.7/site-packages/docker/utils/types.py that I'm supposed to
"replace with the newest version". Furthermore, unlike him, I'm not attempting
"upgrading docker-py myself", I'm just trying out docker-compose for the first
time.

If I install docker-compose via pip instead of zypper, then I can at least run
docker-compose --help. The version from zypper is 1.3.2-1.1, whereas pip
provides 1.5.0.


You are receiving this mail because: