ci: try disabling parallel pip installs on windows

This commit is contained in:
Sean Breckenridge 2022-11-11 21:48:52 -08:00 committed by karlicoss
parent ad52e131a0
commit 54e6fe6ab5

View file

@ -376,7 +376,9 @@ def module_install(*, user: bool, module: Sequence[str], parallel: bool=False) -
] ]
cmds = [] cmds = []
if parallel: # disable parallel on windows, sometimes throws a
# '[WinError 32] The process cannot access the file because it is being used by another process'
if parallel and sys.platform not in ['win32', 'cygwin']:
# todo not really sure if it's safe to install in parallel like this # todo not really sure if it's safe to install in parallel like this
# but definitely doesn't hurt to experiment for e.g. mypy pipelines # but definitely doesn't hurt to experiment for e.g. mypy pipelines
# pip has '--use-feature=fast-deps', but it doesn't really work # pip has '--use-feature=fast-deps', but it doesn't really work