Comment # 10 on bug 1062084 from
Thank you Carmen for fixing the spec file. It now installs but when calling
docker-compose it still tries to make use of docker-py.
I did some testing with fixing that in setup.py inside docker-compose and this
seems to work, but this unveiled the real problem with docker-compose:

pkg_resources.DistributionNotFound: The 'docker<2.0,>=1.10.3' distribution was
not found and is required by docker-compose

These are the requirements for docker-compose 1.8.1 according to the setup.py
file:

install_requires = [
    'cached-property >= 1.2.0, < 2',
    'docopt >= 0.6.1, < 0.7',
    'PyYAML >= 3.10, < 4',
    'requests >= 2.6.1, < 2.8',
    'texttable >= 0.8.1, < 0.9',
    'websocket-client >= 0.32.0, < 1.0',
    'docker >= 1.10.3, < 2.0',
    'dockerpty >= 0.4.1, < 0.5',
    'six >= 1.3.0, < 2',
    'jsonschema >= 2.5.1, < 3',
]

So on Tumbleweed python2-docker is at version 2.5.1 and out of range for this
version of docker-compose. This means that this version of docker-compose won't
work with current version of Tumbleweed because the requirements are not met.

I also looked into more recent versions of docker-compose that might meet the
requirements (e.g. docker-compose version 1.10.0 which requires pyhton2-docker
version 2.5.1) but then other requirements e.g. python2-requests are too new in
Tumbleweed (requested version by docker-compose is 'requests >= 2.6.1, !=
2.11.0, < 2.12', in Tumbleweed is version 2.18.4).

That makes it almost impossible to use docker-compose in current Tumbleweed...

I will also check with other docker-compose versions...


You are receiving this mail because: