MAINT,BUG: Never import distutils above 3.12 [f2py]#25123
Merged
rgommers merged 3 commits intonumpy:mainfrom Nov 22, 2023
Merged
MAINT,BUG: Never import distutils above 3.12 [f2py]#25123rgommers merged 3 commits intonumpy:mainfrom
rgommers merged 3 commits intonumpy:mainfrom
Conversation
mattip
reviewed
Nov 12, 2023
Member
Author
|
I think this could do with a backport @charris :) |
Member
|
Is there a test that failed before/passes after this PR? Maybe one that calls |
charris
reviewed
Nov 17, 2023
Member
Author
Yup, done :) cc @mattip |
764d6e6 to
58566b9
Compare
Member
|
After #25181, needs a rebase |
58566b9 to
8027635
Compare
Member
Author
Member
|
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
charris
pushed a commit
to charris/numpy
that referenced
this pull request
Dec 19, 2023
5 tasks
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes gh-24838. There were two locations in
f2pywhere the options passed in would trigger an import ofdistutils. This simply guards them via anif.