ci: try disabling parallel pip installs on windows
This commit is contained in:
parent
ad52e131a0
commit
54e6fe6ab5
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue