Raysect's build requirements specify oldest-supported-numpy, which is 1.14, while install_requires sets the NumPy version to numpy>=1.14, which installs NumPy 2.0 in Python 3.9 and above. Since NumPy 2.0 and 1.x are not binary compatible, trying to run any Raysect code produces errors like this:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
I propose to constrain the NumPy version to 1.x in setup.py and make another post release.
Raysect's build requirements specify
oldest-supported-numpy
, which is 1.14, whileinstall_requires
sets the NumPy version tonumpy>=1.14
, which installs NumPy 2.0 in Python 3.9 and above. Since NumPy 2.0 and 1.x are not binary compatible, trying to run any Raysect code produces errors like this:I propose to constrain the NumPy version to 1.x in
setup.py
and make another post release.