New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_sysconfig fails on OpenIndiana because of test_packaging #56334
Comments
It looks like a test of test_packaging removes some data from sysconfig._SCHEMES: ====================================================================== 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' ... ====================================================================== 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. |
Issue bpo-12150 has been marked as a duplicate of this issue: ====================================================================== 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' ====================================================================== 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' |
New changeset f86fdca477e3 by Tarek Ziade in branch 'default': |
Tarek, can you confirm that the bug is closed?. It is reported as "open" in the tracker. Could you possibly close it, if appropiate?. |
I fixed it |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: