fangyizhou <fangyi.z...@yuriko.moe> added the comment: Hello
This leads to build failures due to circular dependency At generate-posix-vars stage, unicodedata is imported (due to import pprint)but it has not been built due to it being a C module. However, building C modules happen after generate-posix-vars. See full message below. ./python.exe -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ fi Traceback (most recent call last): File "/Users/fangyi/cpython/Lib/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Users/fangyi/cpython/Lib/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/fangyi/cpython/Lib/sysconfig.py", line 700, in <module> _main() File "/Users/fangyi/cpython/Lib/sysconfig.py", line 688, in _main _generate_posix_vars() File "/Users/fangyi/cpython/Lib/sysconfig.py", line 350, in _generate_posix_vars import pprint File "/Users/fangyi/cpython/Lib/pprint.py", line 38, in <module> import re File "/Users/fangyi/cpython/Lib/re.py", line 123, in <module> import sre_compile File "/Users/fangyi/cpython/Lib/sre_compile.py", line 14, in <module> import sre_parse File "/Users/fangyi/cpython/Lib/sre_parse.py", line 16, in <module> import unicodedata ModuleNotFoundError: No module named 'unicodedata' generate-posix-vars failed ---------- nosy: +fangyizhou _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30688> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com