[New-bugs-announce] [issue12141] --multiprocessing fails with packaging.tests.test_command_build_ext

Tarek Ziadé report at bugs.python.org
Sun May 22 00:32:31 CEST 2011

New submission from Tarek Ziadé <ziade.tarek at gmail.com>:

this test module looks for sysconfig.get_config_var('srcdir') which in turns uses the sys,executable path.

multiprocess seems to change it in every process, leading to the errors.

To reproduce:

./python Lib/test/regrtest.py -j2 -v test_packaging

A workaround is to skip the test in case the file is not found, but we need to fix it because it boils down to sysconfig being broken in multiprocess

assignee: pitrou
messages: 136483
nosy: pitrou, tarek
priority: normal
severity: normal
status: open
title: --multiprocessing fails with packaging.tests.test_command_build_ext

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list