The CI is failing on all macOS matrix entries with:
RuntimeError: Cannot find tempo2 install location.
during pip install -e ., even though install_tempo2.sh completes successfully.
Root causes (multiple compounding issues):
macos-latest is now macOS 15 arm64. The runner architecture changed in 2025. Python 3.8 and 3.9 have no arm64 builds, so actions/setup-python fails for those versions.
- No
TEMPO2_PREFIX set after install. install_tempo2.sh installs to $HOME/.local/, but setup.py has to guess the location. Under pip's modern build isolation, this search can fail.
brew unlink gcc && brew link gcc is fragile. This assumes gcc is already Homebrew-installed. On newer macOS images the pre-installed packages differ, and this line can fail before install_tempo2.sh even runs.
actions/checkout@v2 and actions/setup-python@v2 are 4+ years old and don't handle newer macOS runners properly.
install_tempo2.sh has a sed quoting bug on macOS. The variable sed_in_place="-i ''" doesn't word-split correctly when expanded inside double quotes — macOS BSD sed requires -i and '' as separate arguments.
Affected: All macOS CI jobs. Ubuntu jobs are unaffected.
The CI is failing on all macOS matrix entries with:
RuntimeError: Cannot find tempo2 install location.during
pip install -e ., even though install_tempo2.sh completes successfully.Root causes (multiple compounding issues):
macos-latestis now macOS 15 arm64. The runner architecture changed in 2025. Python 3.8 and 3.9 have no arm64 builds, so actions/setup-python fails for those versions.TEMPO2_PREFIXset after install.install_tempo2.shinstalls to$HOME/.local/, butsetup.pyhas to guess the location. Under pip's modern build isolation, this search can fail.brew unlink gcc && brew link gccis fragile. This assumes gcc is already Homebrew-installed. On newer macOS images the pre-installed packages differ, and this line can fail beforeinstall_tempo2.sheven runs.actions/checkout@v2andactions/setup-python@v2are 4+ years old and don't handle newer macOS runners properly.install_tempo2.shhas a sed quoting bug on macOS. The variablesed_in_place="-i ''"doesn't word-split correctly when expanded inside double quotes — macOS BSDsedrequires-iand''as separate arguments.Affected: All macOS CI jobs. Ubuntu jobs are unaffected.