Skip to content

Commit

Permalink
ci/macos/install_macos_deps: delete all symlinks before brew install
Browse files Browse the repository at this point in the history
Signed-off-by: Bindea Cristian <cristian.bindea@analog.com>
  • Loading branch information
bindea-cristian committed Dec 16, 2024
1 parent c926a94 commit e76d7ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/macOS/install_macos_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ source ${REPO_SRC}/ci/macOS/before_install_lib.sh
install_packages() {

# Workaround: Homebrew fails to upgrade Python's 2to3 due to conflicting symlinks https://github.com/actions/runner-images/issues/6817
rm /usr/local/bin/2to3 || true
rm /usr/local/bin/idle3 || true
rm /usr/local/bin/pydoc3 || true
rm /usr/local/bin/python3 || true
rm /usr/local/bin/python3-config || true
rm -v /usr/local/bin/2to3* || true
rm -v /usr/local/bin/idle3* || true
rm -v /usr/local/bin/pydoc3* || true
rm -v /usr/local/bin/python3* || true
rm -v /usr/local/bin/python3-config || true

brew update
# Workaround for brew taking a long time to upgrade existing packages
Expand Down

0 comments on commit e76d7ab

Please sign in to comment.