[issue37387] test_compileall fails randomly on Windows when tests are run in parallel
Tim Peters
report at bugs.python.org
Fri Apr 30 14:48:41 EDT 2021
Tim Peters <tim at python.org> added the comment:
Yes, test_compileall can still fail for this reason on Windows. From a run just now with -j0 (same as -j10 on this box, which has 8 logical cores: a -j value <= 0 is treated the same as "2 + number of logical cores"):
"""
Compiling 'C:\\Code\\Python\\lib\\types.py'...
*** PermissionError: [WinError 5] Access is denied: 'C:\\Code\\Python\\lib\\__pycache__\\types.cpython-310.pyc.2205988433776' -> 'C:\\Code\\Python\\lib\\__pycache__\\types.cpython-310.pyc'
"""
I did nothing in particular to try to provoke it. "It's random." So is the specific .py fail it fails on.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37387>
_______________________________________
More information about the Python-bugs-list
mailing list