Bug 618567 - Cannot build with python 2.7
Summary: Cannot build with python 2.7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: PyXML
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Roman Rakus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-27 09:41 UTC by Mamoru TASAKA
Modified: 2014-01-13 00:12 UTC (History)
4 users (show)

Fixed In Version: PyXML-0.8.4-25.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-08 04:39:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mamoru TASAKA 2010-07-27 09:41:37 UTC
Description of problem:
Latest rawhide PyXML (PyXML-0.8.4-24.fc14) failed to build with
python 2.7. %check section failed.
http://koji.fedoraproject.org/koji/buildinfo?buildID=186663

Version-Release number of selected component (if applicable):
PyXML-0.8.4-24.fc14

Comment 1 Roman Rakus 2010-07-28 07:47:37 UTC
Looks like regression;
Traceback (most recent call last):
  File "regrtest.py", line 31, in <module>
    from test import test_support
  File "/usr/lib64/python2.7/test/test_support.py", line 47, in <module>
    class ResourceDenied(unittest.SkipTest):
AttributeError: 'module' object has no attribute 'SkipTest'

Does `from test import test_support' works in python-2.7?

Comment 2 Mamoru TASAKA 2010-07-28 08:09:05 UTC
It seems that
python -c 'from test import test_support'
succeeds with python 2.7 (tested on koji scratch build).

Comment 3 Roman Rakus 2010-07-28 12:00:01 UTC
ah, yes, PyXML has its own regression test. However, it works with Python-2.6. I don't have any idea what's wrong. I have tried to run the test with more verbose python; see http://koji.fedoraproject.org/koji/getfile?taskID=2356034&name=build.log
Anything wrong you see there?

Comment 4 Roman Rakus 2010-07-28 12:14:24 UTC
Maybe I have it: http://bugs.python.org/issue1034053 and because PyXML has its own test suite (if I'm naming it correctly) it is failing for missing SkipTest.

Comment 5 Bug Zapper 2010-07-30 12:52:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Fedora Update System 2010-08-02 15:20:34 UTC
PyXML-0.8.4-25.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/PyXML-0.8.4-25.fc14

Comment 7 Fedora Update System 2010-08-03 02:16:35 UTC
PyXML-0.8.4-25.fc14 has been pushed to the Fedora 14 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 PyXML'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/PyXML-0.8.4-25.fc14

Comment 8 Fedora Update System 2010-09-08 04:39:31 UTC
PyXML-0.8.4-25.fc14 has been pushed to the Fedora 14 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.