Bug 1406939 - pyspf prefers incompatible ipaddress over ipaddr
Summary: pyspf prefers incompatible ipaddress over ipaddr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-pyspf
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-21 22:09 UTC by redhat.bugzilla
Modified: 2017-11-16 15:49 UTC (History)
2 users (show)

Fixed In Version: python-pyspf-2.0.11-5.el7
Clone Of:
Environment:
Last Closed: 2017-11-16 15:49:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description redhat.bugzilla 2016-12-21 22:09:57 UTC
Same problem as #1230373 (and related #1232595) in Fedora.

python-pyspf depends on python-ipaddr (base), but in fact first attempts to import python-ipaddress (base) if present. The latter is incompatible on EL.

This results in issues (e.g. with pypolicyd-spf) as soon as python-ipaddress is installed.

Patching python-pyspf to never import ipaddress seems to be the most straightforward fix.

pypolicyd-spf contains the same import logic and should probably be patched as well.

Comment 1 Fedora Update System 2017-10-30 16:57:22 UTC
python-pyspf-2.0.11-3.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-aded0ed528

Comment 2 Fedora Update System 2017-10-31 02:35:36 UTC
pypolicyd-spf-1.3.2-3.el7 python-pyspf-2.0.11-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-aded0ed528

Comment 3 Fedora Update System 2017-11-01 17:13:04 UTC
pypolicyd-spf-1.3.2-3.el7, python-pyspf-2.0.11-4.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-aded0ed528

Comment 4 Fedora Update System 2017-11-01 19:28:00 UTC
pypolicyd-spf-1.3.2-5.el7 python-pyspf-2.0.11-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-aded0ed528

Comment 5 Fedora Update System 2017-11-03 14:10:53 UTC
pypolicyd-spf-1.3.2-5.el7, python-pyspf-2.0.11-5.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-aded0ed528

Comment 6 Fedora Update System 2017-11-16 15:49:05 UTC
pypolicyd-spf-1.3.2-5.el7, python-pyspf-2.0.11-5.el7 has been pushed to the Fedora EPEL 7 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.