Skip to content

Conversation

@jared321
Copy link
Contributor

@jared321 jared321 commented Jan 13, 2026

This addresses

Pending task

  • Generate and commit new matern_covmat.c using new version of numpy

Tentative PR Self-Review

  • Carefully review all changes made here
  • Run oldest tox task locally and confirm that it reports failures and successes as expected
  • Intentionally break oldest version checking to confirm that action correctly detects and reports failures
  • Review logs of altered actions to confirm that they run correct test setups & sanity check new test setups
  • Confirm all actions passing

Note that the action that builds wheels for releases is only run on commits in main. After merging, we'll have to confirm that that action runs through.

Ran this successfully with tox locally.  I intentionally set all version checks
with wrong versions to confirm that tox complains and returns a nonzero exit
code in such cases.  When fixed, it runs through successfully with zero exit
code.
@jared321 jared321 self-assigned this Jan 13, 2026
Our Jupyer book is not compatible with Jupyterbook v2's backend.  Fix that
later.  macos-13 is deprecated by Apple and GitHub actions.  This leaves us with
no testing on Intel-based macs.
Note that Python 3.13 fails with the standard macos-15 runner.
The upper limits on numpy and scipy were set due to issues with the macos-13
runner, which is no longer available.  See if we can reset those upper limits.
It looks like prebuilt numpy wheels exist for direct installation.
Updated the cythonize tox task so that it builds the C file using the same numpy
version that is presently specified in pyproject.toml.  It ran through and
generated a different C file.  Hard to tell if the differences are substantial.
The test suite ran successfully locally with that file.
We are moving forward with using numpy v2.1.2 for builds.  This has a bug fix
for building numpy from source with macOS.  Prebuilt numpy wheels exist for
Windows with Python 3.13, but not 3.14.
I'm hoping that we will be able to build 3.14 wheels for everything but Windows.
This included using the latest version of Cython.  All tox tasks passing with
the new version of the file.
Hopefully the update to numpy v2.1.2 for builds should enable this.
Set all oldest versions to versions that are too old.  pip currently updates the
version automatically to satisfy surmise's requirements.  This should trigger an
error in the action since the oldest venv is not as desired/expected.
The action failed as expected.
The previous action failed as expected.
The previous action failed as expected.
All actions failed as intended due to injected bugs.
@jared321 jared321 requested a review from mosesyhc January 28, 2026 21:49
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