Skip to content

MAINT: update scipy-openblas to 0.3.34.237.2 - #26447

Merged
andyfaff merged 1 commit into
scipy:mainfrom
mattip:scipy-openblas-0.3.34.237.2
Nov 1, 2026
Merged

andyfaff merged 1 commit into
scipy:mainfrom
mattip:scipy-openblas-0.3.34.237.2

Conversation

@mattip

@mattip mattip commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Reference issue

numpy/numpy#27989: threading issue in OpenBLAS on windows with large machines

What does this implement/fix?

Update the version of scipy-openblas to latest. This picks up the fix for windows, and also an additional change to scipy-openblas on posix platforms. The library now statically links to only use parts of libgfortran.a, which both shrinks the library and removes the dependence on the problematic libquadmath.so which is licensed with LGPL3. Note that libgfortran.so that ships with manylinux2_39 already drops that dependency, but we are still building with manylinux2_28.

Additional information

This will break scipyscipy-release until the dependency is matched there. The PR to fix that should drop the libquadmath license file and note that libgfortran is now statically linked, like numpy/numpy-release#70

AI Generation Disclosure

None used

@mattip
mattip requested a review from rgommers as a code owner October 19, 2026 05:14
@github-actions github-actions Bot added the maintenance Items related to regular maintenance tasks label Oct 19, 2026
@mattip

mattip commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

It seems I submitted this too early, the uv lock update requires that the package be 7 days old and I released scipy-openblas only two days ago. Revisit this in a week.

Comment thread pyproject.toml
]
openblas64 = [
"scipy-openblas64==0.3.34.237.0",
"scipy-openblas64==0.3.34.237.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you recommend that I also "backport" this bump for SciPy 1.18.2? Currently, in gh-26199, we're proposing to bump from 0.3.31.22.0 -> 0.3.34.237.0, which I thought included the important patches.

We can't actually backport this PR, because the release branch maintains OpenBLAS version pins the "old way," but I'm just asking if 0.3.34.237.2 makes sense there as well, instead of 0.3.34.237.0.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think so, since .0 -> .2 adds a bug fix and shrinks the wheel size

@tylerjereddy tylerjereddy added this to the 2.0.0 milestone Oct 19, 2026
@rgommers

Copy link
Copy Markdown
Member

It's more than 7 days now, do you want to open the SciPy-release PR @mattip ?

@mattip

mattip commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

do you want to open the SciPy-release PR @mattip?

Running tools/update_lock.sh there does not pick up the new scipy-openblas, this need to be merged first? Also running tools/update_lock.sh --upgrade does way more than just update scipy-openblas ...

@andyfaff andyfaff closed this Nov 1, 2026
@andyfaff andyfaff reopened this Nov 1, 2026
@andyfaff

andyfaff commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

This needs to be merged first, because scipy-release goes off this repo's pyproject.toml.
Once this is merged we use tools/update_lock.sh in scipy-release. It's fine that lots of pins get updated when that happens.

@andyfaff

andyfaff commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Test fail is unrelated.

@andyfaff
andyfaff merged commit 060a225 into scipy:main Nov 1, 2026
104 of 117 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants