Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701394 - app-emulation/docker-compose-1.25.0 broken dependencies
Summary: app-emulation/docker-compose-1.25.0 broken dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 16:10 UTC by forrestfunk81
Modified: 2019-11-28 20:56 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_701394.txt,8.33 KB, text/plain)
2019-11-28 16:10 UTC, forrestfunk81
Details

Note You need to log in before you can comment on or make changes to this bug.
Description forrestfunk81 2019-11-28 16:10:40 UTC
Created attachment 597674 [details]
emerge --info

The docker-compose dependencies for version 1.25.0 are not correct. 

When executing docker-compose (build or up) I get the following error message:

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 3126, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 581, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 898, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 784, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'backports.shutil_get_terminal_size==1.0.0' distribution was not found and is required by docker-compose


After installing the package dev-python/backports-shutil_get_terminal_size-1.0.0-r1 the error message changes and I get the following error message:

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 3126, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 596, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 784, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'subprocess32>=3.5.4' distribution was not found and is required by docker-compose

There is no ebuild for subprocess32>=3.5.4 in the portage tree.
Comment 1 forrestfunk81 2019-11-28 16:11:24 UTC
After reverting to app-emulation/docker-compose-1.24.1 docker-compose up and docker-compose build work fine again.
Comment 2 Larry the Git Cow gentoo-dev 2019-11-28 20:56:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dff3c31f19740553c5a8f8675e11853bd398496

commit 0dff3c31f19740553c5a8f8675e11853bd398496
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2019-11-28 20:53:26 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2019-11-28 20:55:17 +0000

    app-emulation/docker-compose: Fix 1.25.0 for py27
    
    Closes: https://bugs.gentoo.org/701394
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.78, Repoman-2.3.16

 ...se-1.25.0.ebuild => docker-compose-1.25.0-r1.ebuild} |  4 +++-
 .../files/docker-compose-1.25.0-setup-py.patch          | 17 +++++++++--------
 2 files changed, 12 insertions(+), 9 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa4a144b7d87efce43e613f94a9c871836f67612

commit fa4a144b7d87efce43e613f94a9c871836f67612
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2019-11-28 20:51:02 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2019-11-28 20:55:17 +0000

    dev-python/subprocess32: 3.5.4
    
    Bug: https://bugs.gentoo.org/701394
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.78, Repoman-2.3.16

 dev-python/subprocess32/Manifest                  |  1 +
 dev-python/subprocess32/subprocess32-3.5.4.ebuild | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)