Skip to content

Force binary-only numba/llvmlite installs in the macOS release build - #13

Merged
fnavarrov merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Oct 23, 2026
Merged

fnavarrov merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The build-macos (macos-15-intel, x86_64, 3.14) release job fails at dependency install. pip resolves the latest numba (0.68.0) and llvmlite (0.50.0), neither of which publishes a macOS x86_64 wheel for Python 3.14. pip then builds llvmlite from source, which fails with Could not find a package configuration file provided by "LLVM" (llvm-config.cmake) because the runner has no LLVM.

Change (.github/workflows/release-upload.yml, "Install dependencies" step in build-macos):

-          pip install -r requirements.txt
+          pip install --only-binary=numba,llvmlite -r requirements.txt
  • With source builds disallowed for these two packages, pip backtracks to the newest numba/llvmlite release that has a prebuilt wheel for the platform. This avoids needing LLVM on the runner.
  • The arm64 job is also affected by the flag. It already resolves to wheels, so I expect no change there.

Review notes

  • I haven't confirmed which numba version pip will pick. If no release has a cp314 macOS x86_64 wheel, the step will now fail with a "no matching distribution" error instead of the LLVM build error. In that case the fix is to pin numba or drop 3.14 for the Intel job.
  • Not validated locally. It needs a workflow run to confirm.

Co-authored-by: fnavarrov <19564+fnavarrov@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build-macos (macos-15-intel, x86_64, 3.14) Force binary-only numba/llvmlite installs in the macOS release build Oct 23, 2026
Copilot AI requested a review from fnavarrov October 23, 2026 19:09
@fnavarrov
fnavarrov marked this pull request as ready for review October 23, 2026 19:14
@fnavarrov
fnavarrov merged commit 8ca4772 into main Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants