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):
Steps to Reproduce:
2. >>> import test.support
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named support
Patch provided for RPM spec file
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)?
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.
Another reason for including this file into the core python3 package is that this module is part of the python standard library.
I just noted that in the new python3 package this fix is not present.
Building python3-3.1.2-8.fc13 for dist-f13-updates-candidate
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2456525
Building python3-3.1.2-14.fc14 for dist-f14-updates-candidate
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2456530
Building python3-3.2-0.3.a1.fc15 for dist-rawhide
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2456541
python3-3.1.2-8.fc13 has been submitted as an update for Fedora 13.
python3-3.1.2-14.fc14 has been submitted as an update for Fedora 14.
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
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.