[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-15 Thread Jason R. Coombs

Jason R. Coombs  added the comment:

See https://github.com/pypa/setuptools/issues/3007#issuecomment-1068621865 
where I did a brief analysis and probable explanation.

What it boils down to: Setuptools needs to supply its own copy of distutils 
aggressively. It provides an opt out for this behavior and is able to offer 
built in opt out based on whatever signal is available. The default opt out is 
the SETUPTOOLS_USE_DISTUTILS=stdlib env var. for CPython, it also disables the 
behavior when ./pybuilddir.txt is present, but installed Pythons probably don’t 
have this config.

Can those test runners be updated to set this environment variable?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread Ned Deily


Ned Deily  added the comment:

(The buildbot failures were triggered by yesterday's merges for Issue46986 
which updated the bundled setuptools in ensurepip. I'm reverting those merges 
now to unblock planned releases.)

--
nosy: +jaraco, ned.deily
versions: +Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread STINNER Victor


STINNER Victor  added the comment:

> $ ./configure --prefix /opt/py310 && make clean && make && make install 
> $ cd /somewhere/else/
> $ /opt/py310/bin/python3 -m test -v test_bdb

I also reproduce test_bdb and test_distutils failures on the main branch.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread STINNER Victor


STINNER Victor  added the comment:

AMD64 Fedora Stable Clang Installed 3.x:
https://buildbot.python.org/all/#builders/350/builds/1621

2 re-run tests:
test_bdb test_distutils

--
title: test_bdb and test_distutils fail on installed Python 3.9 and 3.10 
(setuptools 60.9.3, pip 22.0.4) -> test_bdb and test_distutils fail on 
installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)
versions: +Python 3.11, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com