Bug 596258

Summary: Missing test.support module
Product: [Fedora] Fedora Reporter: Robert de Vries <rhdv>
Component: python3Assignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: amcnabb, dmalcolm, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python3-3.1.2-14.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-12 03:11:53 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:
Attachments:
Description Flags
Provided patch to add the missing file to the python3 RPM none

Description Robert de Vries 2010-05-26 13:31:25 UTC
Created attachment 416833 [details]
Provided patch to add the missing file to the python3 RPM

Description of problem:


Version-Release number of selected component (if applicable):
python3-3.1.2-4.fc13.i686

How reproducible:
Always

Steps to Reproduce:
1. python3
2. >>> import test.support
  
Actual results:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named support
>>>

Expected results:
>>>

Additional info:
Patch provided for RPM spec file

Comment 1 Dave Malcolm 2010-05-26 13:53:43 UTC
Thanks for filing this bug report and the patch.

It looks like test/support.py is packaged within the python3-test subpackage, rather than within the python3 core package.

Am I right in guessing that you're using test.support for a 3rd-party test suite (i.e. external to python3 itself)?

Comment 2 Robert de Vries 2010-05-26 17:29:06 UTC
Correct, I have submitted an rpm for python3-iniparse and I found that python3 lacked this specific module.
The same module (called test_support.py in python2 was packaged together with the python(2) package, so I assumed that this package belongs to the python3 core package rather than with the python3-test package.

Comment 3 Robert de Vries 2010-05-31 21:26:48 UTC
Another reason for including this file into the core python3 package is that this module is part of the python standard library.

Ref:
http://docs.python.org/py3k/library/test.html#module-test.support

Comment 4 Robert de Vries 2010-09-08 08:11:39 UTC
I just noted that in the new python3 package this fix is not present.
ref: python3-3.1.2-7.fc13.i686

Comment 5 Dave Malcolm 2010-09-08 22:52:31 UTC
Building python3-3.1.2-8.fc13 for dist-f13-updates-candidate
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2456525

Comment 6 Dave Malcolm 2010-09-08 22:55:34 UTC
Building python3-3.1.2-14.fc14 for dist-f14-updates-candidate
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2456530

Comment 7 Dave Malcolm 2010-09-08 23:04:24 UTC
Building python3-3.2-0.3.a1.fc15 for dist-rawhide
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2456541

Comment 8 Fedora Update System 2010-09-08 23:08:19 UTC
python3-3.1.2-8.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/python3-3.1.2-8.fc13

Comment 9 Fedora Update System 2010-09-08 23:22:50 UTC
python3-3.1.2-14.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/python3-3.1.2-14.fc14

Comment 10 Fedora Update System 2010-09-09 04:10:47 UTC
python3-3.1.2-14.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 python3'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/python3-3.1.2-14.fc14

Comment 11 Fedora Update System 2010-10-12 03:11:48 UTC
python3-3.1.2-14.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.