Bug 1562517 - [abrt] docker-compose: resolve(): __init__.py:778:resolve:pkg_resources.DistributionNotFound: The 'docker>=3.1.3' distribution was not found and is required by docker-compose
Summary: [abrt] docker-compose: resolve(): __init__.py:778:resolve:pkg_resources.Distr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-docker
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Tomecek
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:db4e46bb3f1369fe6f20837d18d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-31 14:27 UTC by Anass Ahmed
Modified: 2018-04-07 22:14 UTC (History)
7 users (show)

Fixed In Version: python-docker-3.2.1-1.fc28
Clone Of:
Environment:
Last Closed: 2018-04-07 22:14:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (4.40 KB, text/plain)
2018-03-31 14:27 UTC, Anass Ahmed
no flags Details
File: cgroup (351 bytes, text/plain)
2018-03-31 14:27 UTC, Anass Ahmed
no flags Details
File: cpuinfo (1.27 KB, text/plain)
2018-03-31 14:27 UTC, Anass Ahmed
no flags Details
File: environ (5.78 KB, text/plain)
2018-03-31 14:28 UTC, Anass Ahmed
no flags Details
File: mountinfo (20.70 KB, text/plain)
2018-03-31 14:28 UTC, Anass Ahmed
no flags Details
File: namespaces (129 bytes, text/plain)
2018-03-31 14:28 UTC, Anass Ahmed
no flags Details
File: open_fds (243 bytes, text/plain)
2018-03-31 14:28 UTC, Anass Ahmed
no flags Details

Description Anass Ahmed 2018-03-31 14:27:43 UTC
Description of problem:
Docker-compose version needs an updated python-docker distribution.

Version-Release number of selected component:
docker-compose-1.20.0-1.fc28

Additional info:
reporter:       libreport-2.9.4
cmdline:        /usr/bin/python3 /usr/bin/docker-compose down -v --remove-orphans --rmi local
crash_function: resolve
exception_type: pkg_resources.ContextualVersionConflict
executable:     /usr/bin/docker-compose
interpreter:    python3-3.6.4-20.fc28.x86_64
kernel:         4.16.0-0.rc6.git0.2.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 resolve in /usr/lib/python3.6/site-packages/pkg_resources/__init__.py:783
#2 require in /usr/lib/python3.6/site-packages/pkg_resources/__init__.py:892
#3 _build_master in /usr/lib/python3.6/site-packages/pkg_resources/__init__.py:574

Comment 1 Anass Ahmed 2018-03-31 14:27:54 UTC
Created attachment 1415532 [details]
File: backtrace

Comment 2 Anass Ahmed 2018-03-31 14:27:57 UTC
Created attachment 1415533 [details]
File: cgroup

Comment 3 Anass Ahmed 2018-03-31 14:27:59 UTC
Created attachment 1415534 [details]
File: cpuinfo

Comment 4 Anass Ahmed 2018-03-31 14:28:02 UTC
Created attachment 1415535 [details]
File: environ

Comment 5 Anass Ahmed 2018-03-31 14:28:09 UTC
Created attachment 1415536 [details]
File: mountinfo

Comment 6 Anass Ahmed 2018-03-31 14:28:11 UTC
Created attachment 1415537 [details]
File: namespaces

Comment 7 Anass Ahmed 2018-03-31 14:28:14 UTC
Created attachment 1415538 [details]
File: open_fds

Comment 8 Tomas Tomecek 2018-04-03 09:27:38 UTC
I always forget about the branching.

https://koji.fedoraproject.org/koji/taskinfo?taskID=26137516

Comment 9 Fedora Update System 2018-04-03 09:37:18 UTC
python-docker-3.2.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7966e82eda

Comment 10 Fedora Update System 2018-04-03 15:59:06 UTC
python-docker-3.2.1-1.fc28 has been pushed to the Fedora 28 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-2018-7966e82eda

Comment 11 Adam Williamson (Red Hat non-Fedora) 2018-04-05 18:22:29 UTC
The docker-compose maintainer is really at fault here. That package should express the versioned dependency on python-docker correctly (it does not), and the update should not have been pushed stable without a corresponding python-docker update first going stable. I've added a note on that update.

Comment 12 Anass Ahmed 2018-04-06 07:35:28 UTC
OK, I'm trying to understand the version difference between Fedora and Upstream, and I found this blog post but it didn't help: https://rhelblog.redhat.com/2016/10/31/understanding-docker-latest-package/

Why again we have different versions from upstream (even a year later from the version change)?

Comment 13 Tomas Tomecek 2018-04-06 08:07:55 UTC
Anass, this issue is about [docker-compose](https://github.com/docker/compose), not [docker engine](https://github.com/projectatomic/docker). Please don't confuse those two projects, they are completely different things.

Comment 14 Anass Ahmed 2018-04-06 08:29:32 UTC
Sorry, I know they're different but I thought the confusion in versioning is what happened here too.

Anyway, I'm still curious about the versioning deviation between upstream and project atomic! :D

Comment 15 Fedora Update System 2018-04-07 22:14:33 UTC
python-docker-3.2.1-1.fc28 has been pushed to the Fedora 28 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.