Running the tests in a GitHub Workflow on Windows using Python 3.10 results in Numpy/Scipy import errors:
ImportError while importing test module 'D:\a\exactdiag\exactdiag\tests\test_basis.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\hostedtoolcache\windows\Python\3.10.7\x64\lib\importlib\__init__.py:1[26](https://github.com/dylanljones/exactdiag/actions/runs/3226005826/jobs/5279006230#step:6:27): in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests\test_basis.py:11: in <module>
from exactdiag import basis
exactdiag\__init__.py:[27](https://github.com/dylanljones/exactdiag/actions/runs/3226005826/jobs/5279006230#step:6:28): in <module>
from .matrix import (
exactdiag\matrix.py:11: in <module>
from scipy.sparse import spmatrix
C:\hostedtoolcache\windows\Python\3.10.7\x64\lib\site-packages\scipy\sparse\__init__.py:267: in <module>
from ._csr import *
C:\hostedtoolcache\windows\Python\3.10.7\x64\lib\site-packages\scipy\sparse\_csr.py:10: in <module>
from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks,
E ImportError: numpy.core.multiarray failed to import
------------------------------- Captured stderr -------------------------------
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe