Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1113671 - arch specific submodules like python-backports-lzma are no longer supported
arch specific submodules like python-backports-lzma are no longer supported
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-backports (Show other bugs)
7.0
Unspecified Unspecified
medium Severity high
: pre-dev-freeze
: 7.1
Assigned To: Endi Sukma Dewata
Martin Frodl
:
Depends On: 1158538 1175305
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-26 11:14 EDT by Pádraig Brady
Modified: 2016-01-04 09:44 EST (History)
10 users (show)

See Also:
Fixed In Version: python-backports-1.0-8.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1061051
Environment:
Last Closed: 2015-03-05 08:33:19 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0576 normal SHIPPED_LIVE python-backports bug fix update 2015-03-05 12:07:31 EST

  None (edit)
Description Pádraig Brady 2014-06-26 11:14:06 EDT
The changes done for cleanup bug #1061051 should be reverted
as the existing structure is required to support arch specific
submodules like python-backports-lzma

The specific issue is that one can't import

  %{buildroot}%{python_sitearch}/backports/lzma/...

if there is no

  %{buildroot}%{python_sitearch}/backports/__init__.py

See bug #1061051 for details on how to address this
Comment 2 Endi Sukma Dewata 2014-07-21 12:29:50 EDT
Fixed in 7.1 branch: 0f19456405003452ecc5d3f72f833b5adef87970
Comment 6 Martin Frodl 2014-10-29 10:08:02 EDT
I would like to point out that the upgrade fails if python-backports-lzma is installed because the files /usr/lib64/python2.7/site-packages/backports/__init__.py{,c,o} conflict. I don't think the update should be shipped as long as python-backports-lzma owns these files.
Comment 8 Martin Frodl 2014-12-18 08:43:07 EST
Is there a way to ensure that python-backports-lzma -- iff installed -- will be upgraded to python-backports-lzma-0.0.2-8.el7 whenever python-backports is upgraded to python-backports-1.0-7.el7 in order to prevent the scenario outlined in bug 1158538?

Currently, python-backports-lzma simply depends on python-backports without a version specification, meaning that python-backports upgrade does not automatically trigger python-backports-lzma upgrade. Apparently, making python-backports depend on python-backports-lzma >= 0.0.2-8 is not enough, since it would install python-backports-lzma even if it were not present on the system in the first place.

Can you think of a solution to this problem?
Comment 9 Endi Sukma Dewata 2015-01-05 11:24:40 EST
I'm not sure if it will trigger python-backports-lzma upgrade, but we probably can add a conflicts tag in python-backports to explicitly say that it will not work with older python-backports-lzma.
Comment 10 Martin Frodl 2015-01-12 06:54:44 EST
That sounds like a reasonable solution to me. Shall the erratum be respun, then?
Comment 11 Endi Sukma Dewata 2015-01-13 13:09:46 EST
Fixed in 7.1 branch: 27c9796342098ac1da62e4a22f28db28a621db35
Comment 15 errata-xmlrpc 2015-03-05 08:33:19 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0576.html

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