use link overwrite
This commit is contained in:
parent
9ea8792d3c
commit
18709406c5
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -147,16 +147,10 @@ jobs:
|
|||||||
- name: Installation - macOS
|
- name: Installation - macOS
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
# homebrew fails to update python 3.9.1 to 3.9.1.1 due to unlinking failure
|
brew update
|
||||||
rm /usr/local/bin/2to3 || true
|
# homebrew fails to update python due to unlinking failures
|
||||||
rm /usr/local/bin/2to3-3.11 || true
|
|
||||||
# homebrew fails to update python from 3.9 to 3.10 due to another unlinking failure
|
|
||||||
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
|
|
||||||
# Ignore brew update failures - https://github.com/actions/runner-images/issues/6817
|
# Ignore brew update failures - https://github.com/actions/runner-images/issues/6817
|
||||||
brew update || true
|
brew link --overwrite python@3.10 python@3.11
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user