Set HOMEBREW_NO_INSTALL_CLEANUP to speedup brew installs#9713
Set HOMEBREW_NO_INSTALL_CLEANUP to speedup brew installs#9713JelleZijlstra merged 1 commit intopython:mainfrom
Conversation
|
Thanks! |
|
I don't know much about homebrew -- would it be worth adding the other two environment variables that were just added to CPython's workflow in https://github.com/python/cpython/pull/102074/files as well? |
Me neither, but here's the doc: https://docs.brew.sh/Manpage#environment |
Running stubtest on macOS in CI is consistently slowesr/more backed-up than the other two operating systems, so I'd be up for it tbh :p |
|
Also, same as CPython (python/cpython#102074 (comment)), we're probably somewhat atypical users of homebrew 😄 |
As the inline comment says: Speedup brew install. Environments are isolated, no need to cleanup old versions.
While working on a PR that touched pyaudio, I noticed this from runs like https://github.com/python/typeshed/actions/runs/4148676771/jobs/7176901691#step:5:54
I also moved the
NONINTERACTIVEunderenv