Skip to content

CI: replace retired macos-14 runner and fix stub for NumPy 2.5.4 - #123

Merged
ngoldbaum merged 7 commits into
numpy:mainfrom
SwayamInSync:ci-v1.1
Nov 24, 2026
Merged

ngoldbaum merged 7 commits into
numpy:mainfrom
SwayamInSync:ci-v1.1

Conversation

@SwayamInSync

Copy link
Copy Markdown
Member

macOS wheels

  • Replace the retired macos-14 runner: build on macos-15 (arm64, target 14.0) and macos-15-intel (target 15.0).
  • Bundle conda-forge's llvm-openmp, built for macOS 11, installed with micromamba (tools/ci/configure_macos_env.sh). Homebrew's libomp on macos-15 requires macOS 15.0, which made delocate reject the 14.0 arm64 wheels.
  • Add tools/ci/check_macos_wheels.py. It fails the job if a wheel doesn't bundle libomp, or if the bundled libomp needs a newer macOS than the target.

Inspired by NumPy's and scikit-learn's wheel builds.

Type check

  • Drop the names override from the QuadPrecDType stub. NumPy 2.5.4 turned dtype.names into a settable property, which the override no longer matches.

@jorenham jorenham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stub changes make sense and stubtest passes, so lgtm

@ngoldbaum
ngoldbaum merged commit e6f118a into numpy:main Nov 24, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants