Skip to content

Conversation

@charris
Copy link
Member

@charris charris commented Feb 26, 2019

Backport of #13019.

Alternative to #12994

As discussed in #12667 by @rgommers, this may have the advantage of not bricking SciPy / ecosystem projects since it confines the "guaranteed" openblas-related DLL load to numpy/core instead of the distutils machinery change.

* add an Azure CI test to mimic recent
Anaconda DLL path resolution restrictions
that prevent NumPy imports

* patch numpy.core initialization to use
absolute DLL path loading to overcome
the scenario described above
* Test for DLL pollution in numpy/.libs/ in Azure
CI Windows Python 3.6 builds

* emit a warning with DLL names when > 1 are present
in numpy/.libs/
@charris charris added this to the 1.16.2 release milestone Feb 26, 2019
@charris charris merged commit fa8816f into numpy:maintenance/1.16.x Feb 26, 2019
@charris charris deleted the backport-13019 branch February 26, 2019 14:04
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