Bug 556290 - python-coverage appears to be missing a dependency on python-setuptools
Summary: python-coverage appears to be missing a dependency on python-setuptools
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-coverage
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 565853 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-17 17:31 UTC by Elijah Newren
Modified: 2016-09-20 02:40 UTC (History)
5 users (show)

Fixed In Version: python-coverage-2.85-3.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-18 03:14:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elijah Newren 2010-01-17 17:31:45 UTC
Description of problem:
It looks like the python-coverage package is missing a dependency on python-setuptools, at least on Fedora 11.  After I installed python-coverage (2.85-2) via yum on Fedora 11, attempting to run it gives me:

$ coverage -x testfastassign 
Traceback (most recent call last):
  File "/usr/bin/coverage", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

If I also manually install python-setuptools, then this error goes away (a quick google suggests that the python folks are considering splitting pkg_resources out of setuptools and either putting it in its own package or making part of the core distribution, so this may be specific to python <= 2.6.x).

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

How reproducible:
Always

Steps to Reproduce:
1. rpm -e python-setuptools (if you already have it installed)
2. yum install python-coverage
  
Actual results:
The coverage exectuable fails with an ImportError.

Expected results:
The coverage executable runs to completion

Comment 1 Luke Macken 2010-01-17 22:35:53 UTC
Fixed in rawhide, F11 and F12

Comment 2 Fedora Update System 2010-01-17 22:38:08 UTC
python-coverage-2.85-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/python-coverage-2.85-3.fc11

Comment 3 Fedora Update System 2010-01-17 22:38:12 UTC
python-coverage-3.2-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/python-coverage-3.2-2.fc12

Comment 4 Fedora Update System 2010-01-19 00:59:17 UTC
python-coverage-3.2-2.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-coverage'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0720

Comment 5 Fedora Update System 2010-01-19 01:01:14 UTC
python-coverage-2.85-3.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-coverage'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0736

Comment 6 Dave Malcolm 2010-02-16 15:07:04 UTC
*** Bug 565853 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2010-03-18 03:14:02 UTC
python-coverage-3.2-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-03-18 03:22:10 UTC
python-coverage-2.85-3.fc11 has been pushed to the Fedora 11 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.