Explicitly declare the usage of distutils from Python stdlib for tests
setuptools 60+ bundles distutils which then have an impact on the test environment, causing test_with_pip to fail.
This commit is contained in:
parent
19a49e8637
commit
db335e1e44
1 changed files with 5 additions and 0 deletions
|
|
@ -23,5 +23,10 @@ export OPENSSL_CONF=/non-existing-file
|
|||
# https://bugs.python.org/issue35045
|
||||
# https://bugs.python.org/issue38815
|
||||
|
||||
# setuptools 60+ uses its own copy of distutils by default
|
||||
# this setting must be overriden with the environment variable for
|
||||
# Python tests to use the standard library's distutils
|
||||
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
|
||||
$PYTHON -m test.pythoninfo
|
||||
$PYTHON -m test -wW -j$JOBS $X
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue