Skip to content

BUG: Fix assumed length f2py regression - #24299

Merged
mattip merged 5 commits into
numpy:mainfrom
HaoZeke:gh24008_regression_f2py
Aug 25, 2023
Merged

mattip merged 5 commits into
numpy:mainfrom
HaoZeke:gh24008_regression_f2py

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Jul 31, 2023

Copy link
Copy Markdown
Member

Closes #24008. Many thanks to @Akahan12 for narrowing down the problematic commit.

@charris this will need a backport.

@HaoZeke
HaoZeke requested a review from melissawm July 31, 2023 06:35
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jul 31, 2023
@HaoZeke
HaoZeke force-pushed the gh24008_regression_f2py branch from ae81cf9 to 3b862dd Compare August 5, 2023 19:53
@HaoZeke

HaoZeke commented Aug 5, 2023

Copy link
Copy Markdown
Member Author

Travis build failure seems unrelated.

@mattip

mattip commented Aug 24, 2023

Copy link
Copy Markdown
Member

Which test run covers f2py + slow tests?

Closes numpygh-24008. Essentially, array and length setup needs to be done
before the length defaults kick in.
Since it belongs logically to the tests where character array shapes and
types are determined
@HaoZeke

HaoZeke commented Aug 24, 2023 •

Copy link
Copy Markdown
Member Author

The ones with numpy.test(label='full') should cover the slow tests. That said these are no slower than anything else on the CI, so, I updated the tests. The remaining build failure is unrelated, something to do with pd in the doctests, hopefully a rebase will fix it.

@HaoZeke
HaoZeke force-pushed the gh24008_regression_f2py branch from e46cf48 to 9a44f54 Compare August 24, 2023 10:52
@HaoZeke

HaoZeke commented Aug 24, 2023

Copy link
Copy Markdown
Member Author

Should be good to go now, @mattip

@mattip
mattip merged commit b6b6f22 into numpy:main Aug 25, 2023
@mattip

mattip commented Aug 25, 2023

Copy link
Copy Markdown
Member

Thanks @HaoZeke

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Aug 25, 2023
@HaoZeke
HaoZeke deleted the gh24008_regression_f2py branch September 14, 2023 16:54
@HaoZeke
HaoZeke restored the gh24008_regression_f2py branch June 15, 2024 23:40
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.

BUG: f2py cannot compile files it used to be able to compile

3 participants