-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
The current setup.py
lists:
install_requires=["numpy>=1.0.0"],
tests_require=["scipy>=1.0.0"],
setup_requires=["numpy>=1.20.0"],
This means pip
will try to install the current version on lapjv
even if numpy
is older than 1.20. It will build against numpy 1.20, install it in your environment with older numpy, and import lapjv
will fail with:
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: numpy.core.multiarray failed to import
Please sync install_requires
with setup_requires
as building with one version and running with another does NOT work.
Metadata
Metadata
Assignees
Labels
No labels