[Stackless] Preparing Stackless Python 3.1a2

Carlos Eduardo de Paula carlosedp at gmail.com
Fri May 22 04:01:33 CEST 2009


I installed and tested the created DMG. Only two tests failed:

302 tests OK.
2 tests failed:
    test_distutils test_lib2to3
26 tests skipped:
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_curses test_dbm_gnu
    test_epoll test_largefile test_nis test_normalization
    test_ossaudiodev test_pep277 test_socketserver test_startfile
    test_tcl test_timeout test_tk test_ttk_guionly test_ttk_textonly
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_xmlrpc_net test_zipfile64
4 skips unexpected on darwin:
    test_ttk_guionly test_tcl test_ttk_textonly test_tk


test_distutils error:

======================================================================
FAIL: test_get_platform (distutils.tests.test_util.utilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/tests/test_util.py",
line 99, in test_get_platform
    self.assertEquals(get_platform(), 'macosx-10.3-i386')
AssertionError: 'macosx-10.3-fat' != 'macosx-10.3-i386'

----------------------------------------------------------------------


test_lib2to3 error:

Traceback (most recent call last):
  File "Lib/test/test_lib2to3.py", line 3, in <module>
    from lib2to3.tests import test_fixers, test_pytree, test_util, test_refactor
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/lib2to3/tests/__init__.py",
line 22, in <module>
    __import__("",globals(),locals(),[t],level=1)
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/lib2to3/tests/test_refactor.py",
line 21, in <module>
    _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/lib2to3/refactor.py",
line 88, in get_fixers_from_package
    for fix_name in get_all_fix_names(pkg_name, False)]
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/lib2to3/refactor.py",
line 36, in get_all_fix_names
    pkg = __import__(fixer_pkg, [], [], ["*"])


I dont know why this appeared because running the tests on the version
compiled with ./configure && make everything passes.

Carlos


On Thu, May 21, 2009 at 2:19 PM, Carlos Eduardo de Paula
<carlosedp at gmail.com> wrote:
> The problem happens only when building Stackless, when I build stock
> Python i didn't remove the --with-computed-gotos parameter and it
> built correctly.
>
> Thanks Richard
>
> On Thu, May 21, 2009 at 9:45 AM, Richard Tew <richard.m.tew at gmail.com> wrote:
>> On Thu, May 21, 2009 at 8:25 AM, Carlos Eduardo de Paula
>> <carlosedp at gmail.com> wrote:
>>> I have found the problem that prevented build-installer.py script
>>> generate the DMG installer for MacOS.
>>>
>>> The script calls ./configure with "--with-computed-gotos" parameter.
>>> This enables the #define USE_COMPUTED_GOTOS on pyconfig.py and
>>> generates the error described in my last message.
>>>
>>> Removing the parameter from ./configure, the script build the DMG but
>>> I haven't installed/tested it yet (yesterday, I finished the tests too
>>> late).
>>>
>>> As soon as I can test it, I can make the DMG available for someone
>>> else test it as well.
>>
>> Thanks for persevering Carlos.  I should look into that precomputed
>> gotos shenanigans and see if I mismerged it in some way when I get the
>> chance.
>>
>> Cheers,
>> Richard.
>>
>
>
>
> --
> -----------------------------------------
> Carlos Eduardo de Paula
> carlosedp at gmail.com
> http://twitter.com/carlosedp
> -----------------------------------------
>



-- 
-----------------------------------------
Carlos Eduardo de Paula
carlosedp at gmail.com
http://twitter.com/carlosedp
-----------------------------------------




More information about the Stackless mailing list