This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2022-03-14.16:15:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647274517.54.0.662379672888.issue47013@roundup.psfhosted.org>
In-reply-to
Content
Reproduce:

$ ./configure --prefix /opt/py310 && make clean && make && make install 
$ cd /somewhere/else/
$ /opt/py310/bin/python3 -m test -v test_bdb
...
FAIL: test_skip (test.test_bdb.StateTestCase)
...
$ /opt/py310/bin/python3 -m test -v test_distutils 
...
ModuleNotFoundError: No module named 'distutils.tests'
...

setuptools installs this file:

$ cat /opt/py310/lib/python3.10/site-packages/distutils-precedence.pth
import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get(var, 'local') == 'local'; enabled and __import__('_distutils_hack').add_shim();
History
Date User Action Args
2022-03-14 16:15:17vstinnersetrecipients: + vstinner
2022-03-14 16:15:17vstinnersetmessageid: <1647274517.54.0.662379672888.issue47013@roundup.psfhosted.org>
2022-03-14 16:15:17vstinnerlinkissue47013 messages
2022-03-14 16:15:17vstinnercreate