Skip to content

MAINT: add warning to numpy.distutils for LDFLAGS append behavior. - #12551

Merged
mattip merged 2 commits into
numpy:masterfrom
rgommers:append-warn
Dec 31, 2018
Merged

mattip merged 2 commits into
numpy:masterfrom
rgommers:append-warn

Conversation

@rgommers

Copy link
Copy Markdown
Member

See gh-7427.

@isuruf given that this is a tweak of your PR, would you mind looking this over?

@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Dec 16, 2018
@charris charris added this to the 1.16.0 release milestone Dec 16, 2018
@charris

charris commented Dec 16, 2018 •

Copy link
Copy Markdown
Member

Test needs fixing to ignore the warning.

EDIT: Not sure why it is failing.

@charris

charris commented Dec 18, 2018

Copy link
Copy Markdown
Member

Pushing this off until the test failure is resolved.

@mattip

mattip commented Dec 19, 2018

Copy link
Copy Markdown
Member

The failing test, test_fcompiler_flags, is getting tripped up on the new warning. It needs a warning-filter context manager.

@rgommers

Copy link
Copy Markdown
Member Author

All green finally.

@mattip

mattip commented Dec 29, 2018

Copy link
Copy Markdown
Member

Does the new warning need a mention in the release notes, i.e. does this cause new warnings in scipy or other users of f2py?

@rgommers

Copy link
Copy Markdown
Member Author

There's already a note on NPY_DISTUTILS_APPEND_FLAGS in the 1.16.0 release notes, and this should not give any warnings for builds of other packages by default, only for cases where users have defined LDFLAGS or another envvar.

@mattip
mattip merged commit 1a43137 into numpy:master Dec 31, 2018
@mattip

mattip commented Dec 31, 2018

Copy link
Copy Markdown
Member

Thanks Ralf

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.

4 participants