Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: make the import-time check for old Accelerate more specific #25450

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
Dec 21, 2023

Conversation

rgommers
Copy link
Member

This avoids triggering a hard import error on any warning; something that may be due to other reasons than using old Accelerate (e.g., gh-25433 is for a specific combination of Clang, macOS and OpenBLAS).

Closes gh-25433

This avoids triggering a hard import error on any warning; something
that may be due to other reasons than using old Accelerate (e.g.,
numpygh-25433 is for a specific combination of Clang, macOS and OpenBLAS).

Closes numpygh-25433
@rgommers rgommers added 03 - Maintenance 09 - Backport-Candidate PRs tagged should be backported labels Dec 21, 2023
@rgommers rgommers added this to the 2.0.0 release milestone Dec 21, 2023
@rgommers
Copy link
Member Author

Okay, second time the dumb linter fails and it doesn't reproduce locally. It doesn't make sense here to make these lines even shorter, and they were already too long to begin with, so I'll just ignore that.

@rgommers
Copy link
Member Author

@climbfuji this should fix the issue you were seeing on spack/spack#41742

@climbfuji
Copy link

Thanks @rgommers ! Looking forward to trying that out when the next release of numpy finds its way into spack.

@charris charris merged commit 11e90ed into numpy:main Dec 21, 2023
@charris
Copy link
Member

charris commented Dec 21, 2023

Thanks Ralf.

@rgommers rgommers deleted the narrower-accelerate-warning branch December 21, 2023 23:51
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: false positive in the heuristic for old Accelerate
3 participants