Skip to content

CI broken on macOS: Cannot find tempo2 install location on arm64 runners #83

@vhaasteren

Description

@vhaasteren

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):

  1. 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.
  2. 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.
  3. 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.
  4. actions/checkout@v2 and actions/setup-python@v2 are 4+ years old and don't handle newer macOS runners properly.
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions