Skip to content

Fix exception propagation logic for numpy 2.4#43

Merged
c-randall merged 3 commits intov1.1.xfrom
bug/np24except
Feb 3, 2026
Merged

Fix exception propagation logic for numpy 2.4#43
c-randall merged 3 commits intov1.1.xfrom
bug/np24except

Conversation

@c-randall
Copy link
Collaborator

Description

Environments with numpy 2.4 were not propagating Python exceptions correctly. This bugfix catches and re-raises the exception and is compatible with the new numpy release. The changes match PR#41 on main, which has already been applied.

Type of change

  • New feature (non-breaking change which adds functionality)
  • Optimization (back-end change that improves speed/readability/etc.)
  • Bug fix (non-breaking change which fixes an issue)
  • Chore (any other clean up, maintenance, etc.)

Key checklist

  • No style issues: $ nox -s linter [-- format]
  • Code is free of misspellings: $ nox -s codespell [-- write]
  • All tests pass: $ nox -s tests
  • Badges are updated: $ nox -s badges

Further checks:

  • The documentation builds: $ nox -s docs.
  • Code is commented, particularly in hard-to-understand areas.
  • Tests are added that prove fix is effective or that feature works.

@c-randall c-randall marked this pull request as ready for review February 3, 2026 17:09
@c-randall c-randall merged commit 5d1b361 into v1.1.x Feb 3, 2026
10 checks passed
@c-randall c-randall deleted the bug/np24except branch February 3, 2026 17:09
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.

1 participant

Comments