Skip to content

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

Merged
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26935
Jul 17, 2024
Merged

BUG: fix f2py tests to work with v2 API#26971
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26935

Conversation

@charris
Copy link
Copy Markdown
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
@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