This should let us drop numpy as a build-time requirement. This involved a minor edit to the get_field c-function written in grackle_wrapper.pyx (we now use Cython's built-in typed memory-view functionality instead. While I was there, I made a minor tweak to the function so that it will perform proper error-checking for a plausible failure-mode.
I have not actually modified setup.py to remove numpy from the list of build-requirements. I quickly tried to do that, but got an opaque setuptools-related error. I decided not to deal with this since we are transitioning to scikit-build-core.
This should let us drop numpy as a build-time requirement. This involved a minor edit to the
get_field
c-function written ingrackle_wrapper.pyx
(we now use Cython's built-in typed memory-view functionality instead. While I was there, I made a minor tweak to the function so that it will perform proper error-checking for a plausible failure-mode.I have not actually modified
setup.py
to removenumpy
from the list of build-requirements. I quickly tried to do that, but got an opaque setuptools-related error. I decided not to deal with this since we are transitioning to scikit-build-core.