Issue 12125: test_sysconfig fails on OpenIndiana because of test_packaging (original) (raw)
Created on 2011-05-20 00:08 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (5)
Author: STINNER Victor (vstinner) *
Date: 2011-05-20 00:08
It looks like a test of test_packaging removes some data from sysconfig._SCHEMES:
====================================================================== ERROR: test_build_ext (packaging.tests.test_command_build_ext.BuildExtTestCase)
Traceback (most recent call last): File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_command_build_ext.py", line 58, in test_build_ext cmd.ensure_finalized() File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/command/cmd.py", line 104, in ensure_finalized self.finalize_options() File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/command/build_ext.py", line 159, in finalize_options py_include = sysconfig.get_path('include') File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/sysconfig.py", line 436, in get_path return get_paths(scheme, vars, expand)[name] KeyError: 'include'
...
====================================================================== ERROR: test_get_path (test.test_sysconfig.TestSysConfig)
Traceback (most recent call last): File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_sysconfig.py", line 110, in test_get_path res = get_path(name, scheme) File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/sysconfig.py", line 436, in get_path return get_paths(scheme, vars, expand)[name] KeyError: 'confdir'
I fixed a cleanup function in Lib/packaging/tests/test_command_install_data.py: commit [6267a4645f5f]. Let see if it does fix the bug or not.
Author: STINNER Victor (vstinner) *
Date: 2011-05-23 00:32
Issue #12150 has been marked as a duplicate of this issue:
====================================================================== ERROR: test_get_path (test.test_sysconfig.TestSysConfig)
Traceback (most recent call last): File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test_sysconfig.py", line 110, in test_get_path res = get_path(name, scheme) File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/sysconfig.py", line 436, in get_path return get_paths(scheme, vars, expand)[name] KeyError: 'stdlib'
====================================================================== ERROR: test_user_similar (test.test_sysconfig.TestSysConfig)
Traceback (most recent call last): File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test_sysconfig.py", line 281, in test_user_similar global_path = get_path(name, 'posix_prefix') File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/sysconfig.py", line 436, in get_path return get_paths(scheme, vars, expand)[name] KeyError: 'stdlib'
Author: Roundup Robot (python-dev)
Date: 2011-05-23 17:08
New changeset f86fdca477e3 by Tarek Ziade in branch 'default': Issue #12125: fixed the failures under Solaris due to improper test cleanup. http://hg.python.org/cpython/rev/f86fdca477e3
Author: Jesús Cea Avión (jcea) *
Date: 2011-05-30 11:37
Tarek, can you confirm that the bug is closed?. It is reported as "open" in the tracker.
Could you possibly close it, if appropiate?.
Author: Tarek Ziadé (tarek) *
Date: 2011-05-30 16:49
I fixed it
History
Date
User
Action
Args
2022-04-11 14:57:17
admin
set
github: 56334
2011-05-30 16:49:34
tarek
set
status: open -> closed
resolution: fixed
messages: +
2011-05-30 11:37:11
jcea
set
assignee: tarek ->
messages: +
2011-05-23 17:08:06
python-dev
set
nosy: + python-dev
messages: +
2011-05-23 17:07:43
tarek
set
assignee: tarek
2011-05-23 10:24:18
eric.araujo
set
nosy: + eric.araujo
2011-05-23 00:47:21
jcea
set
nosy: + jcea
2011-05-23 00:32:36
vstinner
set
messages: +
2011-05-20 00:08:50
vstinner
create