[lsb-discuss] lsb-test-python failed the latest python?

Hao Liu hliu at redhat.com
Tue Sep 2 18:40:58 PDT 2008


Stew Benedict wrote:
> On Thu, 28 Aug 2008, Hao Liu wrote:
>
>   
>> Stew Benedict wrote:
>>     
>>> On Wed, 27 Aug 2008, Hao Liu wrote:
>>>
>>>   
>>>       
>>>> Hey, guys,
>>>>   i'm testing lsb-test-python-3.2.0-1.noarch, there're 3 failures occured:
>>>>
>>>>     * /usr/bin/python 5 FAIL
>>>>     * /usr/bin/python 24 FAIL
>>>>     * /usr/bin/python 46 FAIL
>>>>
>>>> I looked into the source test_codecs.py:
>>>> from test import test_support
>>>>
>>>>     import unittest
>>>>     import codecs
>>>>     import sys, StringIO, _testcapi
>>>>      ...
>>>>      ...
>>>>
>>>> it tries to import _testcapi module, but I can't find the module on my 
>>>> testing machine. I tried to find tt module with 'find . -name 
>>>> "_testcapi.so"' in the / directory, but I found tt the module was 
>>>> located in:
>>>>
>>>>     ./media/_/opt/lsb/appbat/lib/python2.4/lib-dynload/_testcapi.so
>>>>     ./opt/lsb/appbat/lib/python2.4/lib-dynload/_testcapi.so
>>>>
>>>>     
>>>>         
>>> Hmm,
>>>
>>> On another distribution with 2.5.1, I do see the module:
>>>
>>> /usr/lib/python2.5/lib-dynload/_testcapi.so
>>> [stew at norris ~]$ rpm -qf /usr/lib/python2.5/lib-dynload/_testcapi.so
>>> python-2.5.1-5mdv2008.0
>>>
>>> I'll have to do some research on whats going on, whether the python folks 
>>> dropped this or what.
>>>
>>>       
>
> Looks like Fedora has split this off into python-test? But the module is 
> now named _testcapimodule.so?
>
> ref:
> http://rpmfind.net/linux/RPM/fedora/9/ppc/python-test-2.5.1-25.fc9.ppc.html
>
>   
Should i file a bug against this problem and create a PR?

All the best,
Hao Liu


More information about the lsb-discuss mailing list