You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the test pytestcases\test_5_seafloorgrid.py I get ImportError: numpy.core.multiarray failed to import in stripy in from . import _stripack in "spherical.py".
I'm using a pip venv with Python 3.12, stripy 2.3.3, numpy 2.2.0, pygplates 1.0.0rc1. And I'm on Windows 11.
It might be due to NumPy 2. Maybe stripy needs to be compiled against NumPy 2 in order to support both 1.x and 2.x. Or specify numpy<2.0 in its pyproject.toml/setup.py.
There's mention of stripy supporting Python 3.13 here, so maybe NumPy 2 is not the problem, though maybe that comment was meant for conda (and not pip).
By the way, I'm updating to pygplates>=1.0.0rc1 in #303, for which pyGPlates now supports NumPy 2.x (and 1.x).
So we may want to check our dependencies all support NumPy 2.x, otherwise I guess we'll need to specify numpy<2.0 for gplately 2.0 (if we're still encountering problems).
When I run the test
pytestcases\test_5_seafloorgrid.py
I getImportError: numpy.core.multiarray failed to import
in stripy infrom . import _stripack
in "spherical.py".I'm using a pip venv with Python 3.12, stripy 2.3.3, numpy 2.2.0, pygplates 1.0.0rc1. And I'm on Windows 11.
It might be due to NumPy 2. Maybe stripy needs to be compiled against NumPy 2 in order to support both 1.x and 2.x. Or specify
numpy<2.0
in its pyproject.toml/setup.py.There's mention of stripy supporting Python 3.13 here, so maybe NumPy 2 is not the problem, though maybe that comment was meant for conda (and not pip).
By the way, I'm updating to
pygplates>=1.0.0rc1
in #303, for which pyGPlates now supports NumPy 2.x (and 1.x).So we may want to check our dependencies all support NumPy 2.x, otherwise I guess we'll need to specify
numpy<2.0
for gplately 2.0 (if we're still encountering problems).This is probably a question for @brmather
The text was updated successfully, but these errors were encountered: