RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1192534 - RPM Support for python-docker-py
Summary: RPM Support for python-docker-py
Keywords:
Status: CLOSED DUPLICATE of bug 1208186
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.3
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-13 16:09 UTC by Aniket Bhat
Modified: 2019-03-06 00:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-15 21:44:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Aniket Bhat 2015-02-13 16:09:55 UTC
Description of problem:

RPM support for python-docker-py module.

Version-Release number of selected component (if applicable):

Current docker-py version is 0.7.2

How reproducible:

Always

Steps to Reproduce:

Currently missing a rpm for python-docker-py in the rhel-7-server-extras-rpms repository.

If a user does yum install python-docker-py, the rpm should be present in the rhel-7-server-extras-rpms repository and install docker-py python package.

Actual results:

No repository found that has the requested rpm.

Expected results:

python-docker-py module is installed.

Additional info:

Comment 2 Daniel Walsh 2015-02-13 19:21:52 UTC
I am not sure this is something we want to support outside of the atomic command.

Comment 4 Lokesh Mandvekar 2015-02-17 17:45:57 UTC
Hi Aniket,

docker-py was retired from epel7 because it will be entering RHEL 7 soon (it's not out yet though). Until then, I'm adding docker-py to the CentOS virt7 testing repo. The repo info is like so:

[virt7-testing]
name=virt7-testing
baseurl=http://cbs.centos.org/repos/virt7-testing/x86_64/os/
enabled=0
gpgcheck=0

The current version of docker-py in this is 0.7.1, will update to 0.7.2 in a bit. Can't provide any guarantees on docker-py's existence in this repo after it has entered vanilla rhel7.

NOTE: packages in this repo only come with the usual community support for Fedora/CentOS (none of the RHEL enterprise support) and have packages which conflict with existing RHEL packages. So, please weigh all pros/cons before installing anything from this repo on a RHEL system. 
That said, enabling this repo only for docker-py installation and keeping it disabled otherwise, should suffice.

Comment 5 Daniel Walsh 2015-03-09 16:37:37 UTC
Ok we need to get this into extras I guess.

Comment 6 Lokesh Mandvekar 2015-03-09 16:44:23 UTC
yes, this is already going in as a docker subpackage

Comment 7 Daniel Walsh 2015-04-14 19:35:53 UTC
Lets break this out right after docker-1.6

Comment 9 Daniel Walsh 2015-06-02 20:53:53 UTC
Can we start the process of breaking this out with Maitai to get this supported in rhel7.2

Comment 10 Aniket Bhat 2015-06-25 00:36:36 UTC
When can 0.7.2 be made available in extras/virt7-testing repository?

Comment 13 Bohuslav "Slavek" Kabrda 2015-07-28 13:02:15 UTC
Hi, there's a bug in current docker-python package very similar to the one I found in Fedora (bug 1245521).

When I try to use a Python application that depends on docker-python and uses setuptools entry point for its binary, I get this error (using atomic-reactor [1]):

Traceback (most recent call last):
  File "/usr/bin/atomic-reactor", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=2.2.1,<2.5.0

The problem is that in requirements file (/usr/lib/python2.7/site-packages/docker_py-1.0.0-py2.7.egg-info/requires.txt), there's a specification of required requests version, which is different from current RHEL 7 version (2.6)

This should be fixed to make this usecase work.
Thanks!

Comment 14 Lokesh Mandvekar 2015-08-15 21:44:15 UTC
(In reply to Aniket Bhat from comment #10)
> When can 0.7.2 be made available in extras/virt7-testing repository?

Hi Aniket, CentOS issues are probably best addressed on bugs.centos.org or on #centos-devel. Closing this one as inclusion of python-docker-py in rhel is being addressed in Bug 1208186

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


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