File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,6 @@ jobs:
221221 # llvm@14 because llvm is newer than llvm@14.
222222 brew uninstall llvm || :
223223
224- # We can remove this when we drop support for
225- # macos-latest. because macos-14 or later uses /opt/homebrew/
226- # not /usr/local/.
227- #
228224 # Ensure updating python@XXX with the "--overwrite" option.
229225 # If python@XXX is updated without "--overwrite", it causes
230226 # a conflict error. Because Python 3 installed not by
@@ -233,10 +229,10 @@ jobs:
233229 # tries to replace /usr/local/bin/2to3 and so on and causes
234230 # a conflict error.
235231 brew update
236- for python_package in $(brew list | grep python@ | sort -r ); do
232+ for python_package in $(brew list | grep python@); do
237233 brew install --overwrite ${python_package}
238234 done
239- brew install --overwrite python3
235+ brew install --overwrite python
240236
241237 if [ "$(uname -m)" = "arm64" ]; then
242238 # pkg-config formula is deprecated but it's still installed
You can’t perform that action at this time.
0 commit comments