Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630688 - app-emulation/docker-compose-1.16.1 dependency texttable<0.10,>=0.9.0
Summary: app-emulation/docker-compose-1.16.1 dependency texttable<0.10,>=0.9.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Brandt (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-11 15:13 UTC by forrestfunk81
Modified: 2017-09-12 12:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description forrestfunk81 2017-09-11 15:13:23 UTC
docker-compose-1.16.1 ebuild contains dependency:
    >=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
    <dev-python/texttable-0.9[${PYTHON_USEDEP}]

Compiles fine, but docker-compose up fails:
$ docker-compose up --build
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3030, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3014, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3043, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 656, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 669, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'texttable<0.10,>=0.9.0' distribution was not found and is required by docker-compose

The error message indicates that a higher version of texttable is needed. Downgrade to docker-compose 1.15.0 works fine.
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2017-09-12 12:34:05 UTC
Thanks, should be fixed in:

commit aba3a791729f5857426d1556a4b456cf73d88a16 (HEAD -> master, origin/master, origin/HEAD)
Author: Manuel Rüger <mrueg@gentoo.org>
Date:   Tue Sep 12 14:20:59 2017 +0200

    app-emulation/docker-compose: Fix dependency on texttable
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.3