Bug 1751723 - [abrt] docker-compose: requires(): __init__.py:2744:requires:pkg_resources.UnknownExtra: docker 4.0.1 has no such extra feature 'ssh'
Summary: [abrt] docker-compose: requires(): __init__.py:2744:requires:pkg_resources.Un...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: docker-compose
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Hampton
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:dd9d4398ed43cb8e070a7dd915e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-12 13:09 UTC by Reza Sh
Modified: 2019-10-26 17:23 UTC (History)
5 users (show)

Fixed In Version: docker-compose-1.24.1-3.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-23 13:47:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.86 KB, text/plain)
2019-09-12 13:09 UTC, Reza Sh
no flags Details
File: cpuinfo (2.06 KB, text/plain)
2019-09-12 13:09 UTC, Reza Sh
no flags Details
File: environ (11.10 KB, text/plain)
2019-09-12 13:09 UTC, Reza Sh
no flags Details
File: mountinfo (2.28 KB, text/plain)
2019-09-12 13:09 UTC, Reza Sh
no flags Details
File: namespaces (129 bytes, text/plain)
2019-09-12 13:09 UTC, Reza Sh
no flags Details
File: open_fds (231 bytes, text/plain)
2019-09-12 13:09 UTC, Reza Sh
no flags Details

Description Reza Sh 2019-09-12 13:09:11 UTC
Version-Release number of selected component:
docker-compose-1.24.1-1.fc31

Additional info:
reporter:       libreport-2.10.1
cgroup:         0::/user.slice/user-1000.slice/user/gnome-terminal-server.service
cmdline:        /usr/bin/python3 /usr/bin/docker-compose up db
crash_function: requires
exception_type: KeyError
executable:     /usr/bin/docker-compose
interpreter:    python3-3.7.4-5.fc31.x86_64
kernel:         5.3.0-0.rc6.git0.1.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:2744:requires:pkg_resources.UnknownExtra: docker 4.0.1 has no such extra feature 'ssh'

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2741, in requires
    deps.extend(dm[safe_extra(ext)])
KeyError: 'ssh'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 794, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2744, in requires
    "%s has no such extra feature %r" % (self, ext)
pkg_resources.UnknownExtra: docker 4.0.1 has no such extra feature 'ssh'

Local variables in innermost frame:
self: docker 4.0.1 (/usr/lib/python3.7/site-packages)
extras: ('ssh',)
dm: {None: [Requirement.parse('six>=1.4.0'), Requirement.parse('websocket-client>=0.32.0'), Requirement.parse('requests!=2.18.0,>=2.14.2')]}
deps: [Requirement.parse('six>=1.4.0'), Requirement.parse('websocket-client>=0.32.0'), Requirement.parse('requests!=2.18.0,>=2.14.2')]
ext: 'ssh'

Comment 1 Reza Sh 2019-09-12 13:09:14 UTC
Created attachment 1614509 [details]
File: backtrace

Comment 2 Reza Sh 2019-09-12 13:09:16 UTC
Created attachment 1614510 [details]
File: cpuinfo

Comment 3 Reza Sh 2019-09-12 13:09:19 UTC
Created attachment 1614511 [details]
File: environ

Comment 4 Reza Sh 2019-09-12 13:09:20 UTC
Created attachment 1614512 [details]
File: mountinfo

Comment 5 Reza Sh 2019-09-12 13:09:22 UTC
Created attachment 1614513 [details]
File: namespaces

Comment 6 Reza Sh 2019-09-12 13:09:23 UTC
Created attachment 1614514 [details]
File: open_fds

Comment 7 Tomas Tomecek 2019-09-13 13:10:11 UTC
I did not update python-docker for quite some time. Let me do that.

Comment 9 Mandeep Gill 2019-09-19 12:53:28 UTC
Still broken on F31 beta - python-docker needs to be built with the [ssh] extra.

```
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2741, in requires
    deps.extend(dm[safe_extra(ext)])
KeyError: 'ssh'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 794, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2744, in requires
    "%s has no such extra feature %r" % (self, ext)
pkg_resources.UnknownExtra: docker 4.0.2 has no such extra feature 'ssh'
```

Comment 10 Tomas Tomecek 2019-09-23 13:47:56 UTC
we have two bugs for this, let's consolidate

*** This bug has been marked as a duplicate of bug 1752873 ***

Comment 11 Fedora Update System 2019-10-07 20:25:51 UTC
FEDORA-2019-75607f2722 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-75607f2722

Comment 12 Fedora Update System 2019-10-08 21:42:20 UTC
docker-compose-1.24.1-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-75607f2722

Comment 13 Fedora Update System 2019-10-26 17:23:14 UTC
docker-compose-1.24.1-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.