Uh oh!
There was an error while loading. Please reload this page.
gh-109615: Fix test_tools.test_freeze SRCDIR - #109935
Conversation
vstinner
commented
Sep 26, 2023
!buildbot s390x SLES |
bedevere-bot
commented
Sep 26, 2023
vstinner
commented
Sep 26, 2023
!buildbot s390x Debian |
bedevere-bot
commented
Sep 26, 2023
vstinner
commented
Sep 26, 2023
I'm not sure why previously, a subprocess was spawned to run "python -c sysconfig.get_config_var(...)", rather than using directly sysconfig.get_config_var(). The frozen app can target a different Python program? |
vstinner
commented
Sep 26, 2023
@ericsnowcurrently: You added |
vstinner
commented
Sep 26, 2023
!buildbot s390x SLES |
bedevere-bot
commented
Sep 26, 2023
vstinner
commented
Sep 26, 2023
!buildbot s390x Debian |
bedevere-bot
commented
Sep 26, 2023
ericsnowcurrently
commented
Sep 26, 2023
I don't recall. I may have copied it from somewhere, or had trouble using sysconfig, or something else. Sorry. Wish I remembered. |
2c0ff04 to
9c111beComparevstinner
commented
Sep 27, 2023
!buildbot wasm32-wasi |
bedevere-bot
commented
Sep 27, 2023
vstinner
commented
Sep 27, 2023
!buildbot s390x Debian |
bedevere-bot
commented
Sep 27, 2023
Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable.
9c111be to
458a4d4Comparemiss-islington
commented
Sep 27, 2023
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington
commented
Sep 27, 2023
Sorry, @vstinner, I could not cleanly backport this to |
miss-islington
commented
Sep 27, 2023
Sorry, @vstinner, I could not cleanly backport this to |
Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable. (cherry picked from commit 1512d6c)
GH-109950 is a backport of this pull request to the 3.12 branch. |
Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable. (cherry picked from commit 1512d6c)
Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable. (cherry picked from commit 1512d6c)
GH-109951 is a backport of this pull request to the 3.11 branch. |
gh-109615: Fix test_tools.test_freeze SRCDIR (#109935) Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable. (cherry picked from commit 1512d6c)
Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable.
gh-109615: Fix test_tools.test_freeze SRCDIR (#109935) Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable. (cherry picked from commit 1512d6c)
Fix copy_source_tree() function of test_tools.test_freeze: * Don't copy SRC_DIR/build/ anymore. This directory is modified by other tests running in parallel. * Add test.support.copy_python_src_ignore(). * Use sysconfig to get the source directory. * Use sysconfig.get_config_var() to get CONFIG_ARGS variable.
Uh oh!
There was an error while loading. Please reload this page.