-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
MAINT,BUG: Never import distutils above 3.12 [f2py] #25123
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
Conversation
I think this could do with a backport @charris :) |
Is there a test that failed before/passes after this PR? Maybe one that calls |
Yup, done :) cc @mattip |
764d6e6
to
58566b9
Compare
After #25181, needs a rebase |
58566b9
to
8027635
Compare
This has a conflict, can you rebase @HaoZeke?
This is an actual bug fix and quite small (most of the diff is a code move, the actual fixes are easy to identify). I'm seeing |
8027635
to
b72339f
Compare
b72339f
to
324693a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, in it goes. Thanks @HaoZeke & reviewers.
Closes gh-24838. There were two locations in
f2py
where the options passed in would trigger an import ofdistutils
. This simply guards them via anif
.