Bug 1220163 - [SciPy, OpenBLAS] python-scipy no longer builds with OpenBLAS 0.3.26
Summary: [SciPy, OpenBLAS] python-scipy no longer builds with OpenBLAS 0.3.26
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Matej Cepl
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-21 15:59 UTC by Egbert Eich
Modified: 2024-02-29 19:02 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch (2.37 KB, patch)
2024-02-21 15:59 UTC, Egbert Eich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Egbert Eich 2024-02-21 15:59:42 UTC
Created attachment 872907 [details]
Patch

SciPy tests fail with the latest version of OpenBLAS (0.3.26). This prevents us from updating OpenBLAS in Factory.
Background: 
A recent patch to Netlib's LAPACK has lessened restrictions on input variables to some LAPACK functions to handle some corner cases:
https://github.com/Reference-LAPACK/lapack/pull/942
This would change the API in a backward compatible way, except that Scipy creates 'signatures' of LaPACK functions to 'wrap' these in order to verify the input values before passing these on. Since the tested conditions no longer match the conditions of the underlying interface errors are produced even though the values are correct.
OpenBLAS has picked up these changes from LAPACK although LAPACK itself has not provided a release which include these changes.
This has led to failures in the SpiPy test suite which have also proliferated to 
python-networkx and python-scikit-learn:
https://build.opensuse.org/request/show/1140298

A patch is available by the SciPy project:
https://github.com/scipy/scipy/pull/19909/commits/8c96a1f742335bca283aae418763aaba62c03378
This patch has been merged but has not been released, yet.
The patch is backward compatible to older version of OpenBLAS in the sense that it will not trigger issues - this has been verified with version 0.3.25. 
It may flag some input variable as valid which may not be valid for that version.
Comment 1 Egbert Eich 2024-02-27 18:47:13 UTC
Submitted an update to python-scipy to devel:languages:python:numeric.
Comment 2 Egbert Eich 2024-02-28 18:08:24 UTC
Request: https://build.opensuse.org/request/show/1152470
Comment 3 OBSbugzilla Bot 2024-02-29 11:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1220163) was mentioned in
https://build.opensuse.org/request/show/1153127 Factory / python-scipy
Comment 4 Egbert Eich 2024-02-29 19:02:40 UTC
Fixed.