Skip to content

BUG: fix f2py tests to work with v2 API #26971

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
Jul 17, 2024

Conversation

charris
Copy link
Member

@charris charris commented Jul 17, 2024

Backport of #26935.

Fixes #26917. I've also modernised/improved the code in the relevant test files.

CI was failing prior to a4bd4a8 due to compiler errors in CI. Obviously not ideal reinstating this, but locally on my macOS 14.5 arm64 all tests pass with spin test -m full.

This is a clear bug which CI unfortunately doesn't see because it just skips the f2py test if compilation fails (which it does here).

The error is slightly more precise now, but not precise enough to avoid that issue.

This is a clear bug which CI unfortunately doesn't see because it
just skips the f2py test if compilation fails (which it does here).

The error is slightly more precise now, but not precise enough to
avoid that issue.
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 17, 2024
@charris charris added this to the 2.0.1 release milestone Jul 17, 2024
@charris charris merged commit 9be6ad6 into numpy:maintenance/2.0.x Jul 17, 2024
59 of 60 checks passed
@charris charris deleted the backport-26935 branch July 17, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants