Skip to content

BUG: Fix f2py directives and --lower casing#28175

Merged
charris merged 2 commits intonumpy:maintenance/2.2.xfrom
charris:backport-28056
Jan 18, 2025
Merged

BUG: Fix f2py directives and --lower casing#28175
charris merged 2 commits intonumpy:maintenance/2.2.xfrom
charris:backport-28056

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jan 17, 2025

Backport of #28056

Closes #28014 which snuck in over in #27728. Essentially, only the added f2py directives which take C-exprs noted here need to be skipped for the lowering logic (since C is case sensitive).

HaoZeke and others added 2 commits January 17, 2025 13:55
Co-authored-by: germasch <germasch@users.noreply.github.com>
@charris charris added this to the 2.2.2 release milestone Jan 17, 2025
@charris
Copy link
Copy Markdown
Member Author

charris commented Jan 17, 2025

Hmm, looks like MacOS with accelerate has hung again on Python 3.13t. @ngoldbaum Do you know of anything that might have fixed this in main?

@ngoldbaum
Copy link
Copy Markdown
Member

Maybe try backporting #27899 to at least get some timeouts and diagnostics.

The hang might also have been caused by the xerbla_override test that got a skip on the free-threaded build in that PR.

@charris charris merged commit dfdd35a into numpy:maintenance/2.2.x Jan 18, 2025
@charris charris deleted the backport-28056 branch January 18, 2025 00:41
@charris
Copy link
Copy Markdown
Member Author

charris commented Jan 18, 2025

the xerbla_override test

That does sound likely. I'll wait until 2.2.2 is out and then backport selected bits of that PR.

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.

3 participants