macOS: Permission denied: '/usr/local/LICENSE_BSD_3'
Since the 3.24.0 release, I see the following issue on macOS in my CI:
python3 -m pip install -U pip setuptools wheel pytest
python3 -m pip install -U cmake
...
packages: cmake
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/local/LICENSE_BSD_3
Consider using the `--user` option or check the permissions.
Reproducer GH Action:
name: 🍏 macOS
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-macos
cancel-in-progress: true
jobs:
appleclang:
name: [email protected] w/o MPI
runs-on: macos-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v2
- name: Build & Install
run: |
brew update
brew install gfortran || true
brew install libomp || true
brew install open-mpi || true
python3 -m pip install -U pip setuptools wheel pytest
python3 -m pip install -U cmake
More details:
- worked with earlier releases, up to ~~3.23.3~~ 3.24.0
--userdoes not work as a work around
@ax3l,
I can't reproduce with 3.24.0 however I do reproduce this with 3.24.1 Is that a mistake when reporting the issue or am I missing something else ?
@henryiii,
I will tag 3.24.1.1 once I have confirmation from @ax3l that there's nothing wrong with 3.24.0 in case I'm missing something else. I'll also yank 3.24.1 in PyPI.
Sounds good!
Thank you for the quick fix!
I did a detailed test again and you are right:
- 3.23.3 works
- 3.24.0 works
- 3.24.1 breaks macOS