diff --git a/.github/workflows/houdini.yml b/.github/workflows/houdini.yml index 84b0ca4f35..8252cf5473 100644 --- a/.github/workflows/houdini.yml +++ b/.github/workflows/houdini.yml @@ -160,6 +160,12 @@ jobs: cd $HOME/houdini_install && tar -xzf hou.tar.gz && cd - - name: install_deps run: | + # Remove Python3 symlinks in /usr/local/bin as workaround to brew update issues + # https://github.com/actions/setup-python/issues/577 + rm /usr/local/bin/2to3* || : + rm /usr/local/bin/idle3* || : + rm /usr/local/bin/pydoc* || : + rm /usr/local/bin/python3* || : brew update brew install bash gnu-getopt cmake boost glfw googletest openexr pybind11 llvm@15 cppunit echo "/usr/local/opt/gnu-getopt/bin" >> $GITHUB_PATH diff --git a/ci/install_macos.sh b/ci/install_macos.sh index d87920db00..39d89ba191 100755 --- a/ci/install_macos.sh +++ b/ci/install_macos.sh @@ -2,6 +2,13 @@ set -x +# Remove Python3 symlinks in /usr/local/bin as workaround to brew update issues +# https://github.com/actions/setup-python/issues/577 +rm /usr/local/bin/2to3* || : +rm /usr/local/bin/idle3* || : +rm /usr/local/bin/pydoc* || : +rm /usr/local/bin/python3* || : + brew update brew install bash gnu-getopt # for CI scripts brew install boost