Message415158
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(); |
|
Date |
User |
Action |
Args |
2022-03-14 16:15:17 | vstinner | set | recipients:
+ vstinner |
2022-03-14 16:15:17 | vstinner | set | messageid: <1647274517.54.0.662379672888.issue47013@roundup.psfhosted.org> |
2022-03-14 16:15:17 | vstinner | link | issue47013 messages |
2022-03-14 16:15:17 | vstinner | create | |
|