I think NumPy has always tried to have effectively no install dependencies at least when installed from source (minimal install from git only requires Cython). This seems like a good goal to me and there are scenarios where extra packages are a burden (e.g., Amazon Lambda). AFAICT pretty much every package in the numerical python ecosystem excludes test dependencies from setup requires or install requires. Kevin From: Bennet Fauber I just installed NumPy using pip and Python 3.9.7 on CentOS 7.9. Installation went fine, but when I ran >>> import numpy >>> numpy.test() I got a traceback, and this summary. =========================== short test summary info ============================ ERROR - ModuleNotFoundError: No module named 'hypothesis' !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! It seems that both hypothesis and pytest are needed to run numpy.test(). We like to be able to run all the tests even after a pip install, and being able to run some of the tests from pip-installed numpy is useful as well. May I suggest you add those two packages as dependencies for NumPy at PyPi? Neither are particularly large, both are generally useful, and I think the potential utility for those who would ike to check on their own system for anomalies outweighs the minimal impact on the majority of users who would not use it but would also probably not notice their presence. If adding them as dependencies seems to heavy weight, or is otherwised deemed undesirable, perhaps just a note in the Project Description at https://pypi.org/project/numpy/ to say that, if you want to run tests, those two packages will be needed? Thanks, -- bennet _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: kevin.k.shepp...@gmail.com |
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com