[pypy-issue] [issue1164] Call to get_python_lib(standard_lib=1) fails a test in current rope tests
Ian Delaney
tracker at bugs.pypy.org
Mon Jun 11 10:12:58 CEST 2012
New submission from Ian Delaney <della5 at iinet.com.au>:
This appears a pypy flaw, not a rope flaw. On running the test suites of
rope-0.9.4, on last 3 pypy versions
ERROR: test_unknown_return_object (ropetest.builtinstest.BuiltinTypesTest)
----------------------------------------------------------------------
................................................................
File "/usr/lib64/pypy1.8/lib-python/modified-2.7/distutils/sysconfig_pypy.py",
line 44, in get_python_lib
"calls to get_python_lib(standard_lib=1) cannot succeed")
DistutilsPlatformError: calls to get_python_lib(standard_lib=1) cannot succeed
So; checking what occurs in a pypy interpreter;
$ pypy-c1.8
Python 2.7.2 (2346207d99463f299f09f3e151c9d5fa9158f71b, Jun 08 2012, 16:07:25)
[PyPy 1.8.0 with GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``exarkun: "the part that I thought
was going to be hard was trivial, so now I just have this part that I didn't
even think of that is hard"''
>>>> import distutils.sysconfig as Sysc
>>>> Sysc.get_python_version()
'2.7'
>>>> Sysc.get_python_lib()
'/usr/lib64/pypy1.8/site-packages'
>>>> Sysc.get_python_lib(standard_lib=1)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lib64/pypy1.8/lib-python/modified-2.7/distutils/sysconfig_pypy.py",
line 44, in get_python_lib
"calls to get_python_lib(standard_lib=1) cannot succeed")
DistutilsPlatformError: calls to get_python_lib(standard_lib=1) cannot succeed
So that confirms it running from the gentoo ebuild and from a pypy interpreter
itself. The idential result also with pypy-1.9
----------
messages: 4401
nosy: idella5, pypy-issue
priority: performance bug
status: unread
title: Call to get_python_lib(standard_lib=1) fails a test in current rope tests
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1164>
________________________________________
More information about the pypy-issue
mailing list