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
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
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.
--
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