Skip to content

MAINT: compensate for dot exceptions #22726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

tylerjereddy
Copy link
Contributor

* Fixes scipygh-22720.

* This patch adds a few floating point exception
handling shims to compensate for the upstream
change for `np.dot` at numpy/numpy#28442,
merged five days ago. This allows the Scipy testsuite to pass
again locally on x86_64 Linux against NumPy `main`.
@tylerjereddy tylerjereddy added the maintenance Items related to regular maintenance tasks label Mar 21, 2025
@tylerjereddy tylerjereddy added this to the 1.16.0 milestone Mar 21, 2025
@andyfaff
Copy link
Contributor

Going to merge this to free up CI. Am not sure if the contextmanager is threadsafe, but we can mark the test if it comes to it.

@andyfaff andyfaff merged commit 360a2d9 into scipy:main Mar 22, 2025
41 checks passed
@tylerjereddy tylerjereddy deleted the treddy_issue_22720 branch March 24, 2025 02:31
@tylerjereddy tylerjereddy mentioned this pull request Apr 21, 2025
6 tasks
@tylerjereddy tylerjereddy modified the milestones: 1.16.0, 1.15.3 Apr 23, 2025
@tylerjereddy tylerjereddy added backport-candidate This fix should be ported by a maintainer to previous SciPy versions. and removed backport-candidate This fix should be ported by a maintainer to previous SciPy versions. labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.optimize scipy.sparse.linalg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MAINT, CI: floating point exceptions activated in NumPy
2 participants