Bug 611040 (python-importlib)

Summary: Review Request: python-importlib - Backport of importlib.import_module() from Python 2.7
Product: [Fedora] Fedora Reporter: Fabian Affolter <mail>
Component: Package ReviewAssignee: Thomas Spura <tomspur>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: andrew, dmalcolm, fedora-package-review, notting, tomspur
Target Milestone: ---Flags: tomspur: fedora-review?
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-14 16:42:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 611277    

Description Fabian Affolter 2010-07-03 09:33:55 UTC
Spec URL: http://fab.fedorapeople.org/packages/SRPMS/python-importlib.spec
SRPM URL: http://fab.fedorapeople.org/packages/SRPMS/python-importlib-1.0.2-1.fc13.src.rpm

Project URL: http://pypi.python.org/pypi/importlib

Description:
This package contains the code from importlib as found in Python 2.7.
It is provided so that people who wish to use
importlib.import_module() with a version of Python prior to 2.7 or in
3.0 have the function readily available. The code in no way deviates
from what can be found in the 2.7 trunk.

Koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2291821

rpmlint output:
[fab@laptop011 SRPMS]$ rpmlint python-importlib-1.0.2-1.fc13.src.rpm 
python-importlib.src: W: spelling-error Summary(en_US) Backport -> Back port, Back-port, Backplate
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

[fab@laptop011 noarch]$ rpmlint python-importlib-1.0.2-1.fc13.noarch.rpm 
python-importlib.noarch: W: spelling-error Summary(en_US) Backport -> Back port, Back-port, Backplate
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Comment 1 Thomas Spura 2010-07-05 13:45:12 UTC
Don't you need at least a Conflicts with python(abi) = 2.7?

In python-celery you currently commented out the requires on this package, this could be resolved by e.g.:

%{!?pyver: %global pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
%if pyver < 2.7
Requires:  python-importlib
%endif

This way, when rebuilding all packages with python2.7 (or above) this will be cone automatic.

Furthermore, when using a conflicts on python2.7, this package won't being build in >= 2.7 and everyone will notice, that this can be a dead.package.


Do you (=Fabian) have another resolution for this, or David, what's your preference?


(Anything else looks fine at the first sign.)

Comment 2 Fabian Affolter 2011-07-14 16:42:54 UTC
No, at the moment I have no time to work on this package.

Comment 3 Andrew Colin Kissa 2011-07-15 10:24:42 UTC

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