[issue34177] test_site fails in macOS-PR VSTS builds for 3.7 branch

INADA Naoki report at bugs.python.org
Tue Jul 24 05:33:33 EDT 2018


INADA Naoki <songofacandy at gmail.com> added the comment:

Maybe, vsts machine installs Homebrew's Python.
Homebrew's Python installes /usr/local/lib/python3.7/sitecustomize.py

https://github.com/Homebrew/homebrew-core/blob/0ce9a5a481b3472608fe4e4188cb5d243deebb99/Formula/python.rb#L295-L329

When running tests, it is imported.
It causes test_startup_imports fail.

Maybe, we can use random prefix instead of default /usr/local to avoid this conflict.

----------
nosy: +inada.naoki

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34177>
_______________________________________


More information about the Python-bugs-list mailing list