Skip to content

BUG: Fix f2py derived types in modules#29044

Merged
charris merged 3 commits intonumpy:maintenance/2.3.xfrom
charris:backport-29040
May 23, 2025
Merged

BUG: Fix f2py derived types in modules#29044
charris merged 3 commits intonumpy:maintenance/2.3.xfrom
charris:backport-29040

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented May 23, 2025

Backport of #29040.

Closes #29037.
The issue is a result of #27695 in v2.2.0.

Before 2.2.0, modules that are used in a use statement are skipped. In v2.2.0 (#27695), an additional check was added to only skip modules that contain a common block. With that, modules with derived types are no longer skipped. This PR adds a check to see if the module contains derived types, and skip it if it does.

@charris charris added this to the 2.3.0 release milestone May 23, 2025
@charris charris merged commit b0b0ae4 into numpy:maintenance/2.3.x May 23, 2025
75 checks passed
@charris charris deleted the backport-29040 branch May 23, 2025 17:13
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.

2 participants