Bug 1229295 - python-cryptography fails to install - unsatisfied dependency python-ipaddress
Summary: python-cryptography fails to install - unsatisfied dependency python-ipaddress
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cryptography
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Nathaniel McCallum
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-08 12:07 UTC by Jiri Stransky
Modified: 2018-04-11 18:41 UTC (History)
7 users (show)

Fixed In Version: python-ipaddress-1.0.7-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-14 17:32:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Stransky 2015-06-08 12:07:48 UTC
Description of problem:

python-cryptography depends on a non-existent package

Error: nothing provides python-ipaddress needed by python-cryptography-0.9-1.fc21.x86_64

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

python-cryptography-0.9-1.fc21.x86_64


How reproducible:
always


Steps to Reproduce:

yum install python-cryptography

or

dnf install python-cryptography


Additional info:

OpenStack deployment CI is broken because of this, it's a high severity issue for us.

Comment 1 Mark McLoughlin 2015-06-09 19:35:33 UTC
The depcheck test in https://admin.fedoraproject.org/updates/FEDORA-2015-8354/python-cryptography-0.9-1.fc21 actually caught this:

    output: |-
      Build python-cryptography-0.9-1.fc21 failed depcheck
      conflicting requests
      nothing provides python-ipaddress needed by python-cryptography-0.9-1.fc21.x86_64
      conflicting requests
      nothing provides python-ipaddress needed by python-cryptography-0.9-1.fc21.x86_64



Does https://admin.fedoraproject.org/updates/FEDORA-2015-9676/python-ipaddress-1.0.7-2.fc21 fix this?

Comment 2 Nathaniel McCallum 2015-06-09 19:39:52 UTC
https://admin.fedoraproject.org/updates/FEDORA-2015-8385/python-ipaddress-1.0.7-1.fc21

It was pushed to stable today and should be there in the next compose.

Comment 3 Dan Prince 2015-06-09 20:31:53 UTC
Things are still very badly broken because we now have packages which require python-ipaddr and python-ipaddress (which conflict with each other).

The only way I could fix upstream TripleO as things stand was to install both python-ipaddr and python-ipaddress with --nodeps:

https://review.openstack.org/#/c/189745/

Until this is fixed Fedora 21 is unusable w/ upstream TripleO packages...

As a work around we've cherry picked the review above into our CI environment to take the pressure off things...

Comment 4 Nathaniel McCallum 2015-06-10 01:18:46 UTC
I'm not sure what to do here.

python-ipaddress is required for python-cryptography. It is a backport of the ipaddress module from Python 3.x.

Unfortunately, python-ipaddr exposes different stuff in the same namespace used by upstream Python 3.x (and implicitly python-ipaddress).

I'm open to proposals.

Comment 5 Dan Prince 2015-06-10 15:50:15 UTC
Would it make sense to use Obsoletes: python-ipaddr in the python-ipaddress package? It seems like that is the desired behavior you are going for here.

As is the use of Conflicts: breaks quite a few things... for packages that may get installed alongside python-cryptography which require the old python-ipaddr dependency.

Comment 6 Nathaniel McCallum 2015-06-10 16:52:30 UTC
No. python-ipaddr provides a *different* API in the same namespace.

Comment 7 Nathaniel McCallum 2015-06-10 17:32:25 UTC
Alright, with some further digging I think we can remove the conflicts.

The main issue is bojan's comment here: https://admin.fedoraproject.org/updates/FEDORA-2015-8290/python-ipaddress-1.0.7-1.fc21

However, this may just be a bug in pypolicyd-spf. I will remove the conflicts and see if we can track down the bug in pypolicyd-spf.

Comment 8 Fedora Update System 2015-06-10 17:50:45 UTC
python-ipaddress-1.0.7-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/python-ipaddress-1.0.7-3.fc22

Comment 9 Fedora Update System 2015-06-10 17:50:52 UTC
python-ipaddress-1.0.7-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-ipaddress-1.0.7-3.fc21

Comment 10 Fedora Update System 2015-06-10 17:53:04 UTC
python-ipaddress-1.0.7-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-ipaddress-1.0.7-3.fc20

Comment 11 Nathaniel McCallum 2015-06-10 17:59:14 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1230373

Comment 12 Fedora Update System 2015-06-11 18:31:44 UTC
Package python-ipaddress-1.0.7-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-ipaddress-1.0.7-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9750/python-ipaddress-1.0.7-3.fc20
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2015-06-14 17:32:34 UTC
python-ipaddress-1.0.7-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2015-06-20 23:57:27 UTC
python-ipaddress-1.0.7-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2015-06-21 00:06:05 UTC
python-ipaddress-1.0.7-3.fc21 has been pushed to the Fedora 21 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.