4 ms·
I'd be perfectly happy with homebrew if it didn't auto-update all packages when installing something new. E.g. I do `brew install ffmpeg`, and as part of that i
by maliker 6y ago
I'd be perfectly happy with homebrew if it didn't auto-update all packages when installing something new. E.g. I do `brew install ffmpeg`, and as part of that it upgrades python from 3.8 to 3.9 (???), breaking imports in all my scripts. I know how to work around this, but still, surprising choice for the default behavior.
- ArchOversight 6y agoThat's what the author is talking about. The Python that comes with HomeBrew is not for you, it's only for the dependencies in the HomeBrew world.
- maliker 6y agoEverything in homebrew auto-updates on new installs, not just python. Databases, CLI tools, etc.
- mdaniel 6y ago> I know how to work around this For others similarly curious, it appears setting [`$HOMEBREW_NO_AUTO_UPDATE=1`](https://github.com/Homebrew/brew/blob/2.7.7/docs/Manpage.md#environment https://github.com/Homebrew/brew/blob/2.7.7/docs/Manpage.md#...) is the magic sauce (or the perhaps more accurate link: https://github.com/Homebrew/brew/blob/2.7.7/Library/Homebrew/env_config.rb#L201 https://github.com/Homebrew/brew/blob/2.7.7/Library/Homebrew... )