Remove all mac conflicts

This commit is contained in:
Matthias 2022-12-26 08:57:01 +01:00
parent 18709406c5
commit 9a556d2639

View File

@ -149,8 +149,18 @@ jobs:
run: | run: |
brew update brew update
# homebrew fails to update python due to unlinking failures # homebrew fails to update python due to unlinking failures
# Ignore brew update failures - https://github.com/actions/runner-images/issues/6817 # https://github.com/actions/runner-images/issues/6817
brew link --overwrite python@3.10 python@3.11 rm /usr/local/bin/2to3 || true
rm /usr/local/bin/2to3-3.11 || true
rm /usr/local/bin/idle3 || true
rm /usr/local/bin/idle3.11 || true
rm /usr/local/bin/pydoc3 || true
rm /usr/local/bin/pydoc3.11 || true
rm /usr/local/bin/python3 || true
rm /usr/local/bin/python3.11 || true
rm /usr/local/bin/python3-config || true
rm /usr/local/bin/python3.11-config || true
brew install hdf5 c-blosc brew install hdf5 c-blosc
python -m pip install --upgrade pip wheel python -m pip install --upgrade pip wheel
export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH