Bug 611040 (python-importlib) - Review Request: python-importlib - Backport of importlib.import_module() from Python 2.7
Summary: Review Request: python-importlib - Backport of importlib.import_module() from...
Keywords:
Status: CLOSED DUPLICATE of bug 722427
Alias: python-importlib
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: python-celery
TreeView+ depends on / blocked
 
Reported: 2010-07-03 09:33 UTC by Fabian Affolter
Modified: 2011-07-15 10:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-14 16:42:54 UTC
Type: ---
Embargoed:
tomspur: fedora-review?


Attachments (Terms of Use)

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 ***


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