NREL / rdtools

PV Analysis Tools in Python
https://rdtools.readthedocs.io/
MIT License
146 stars 61 forks source link

Update repo to work with numpy 2.0 #422

Open martin-springer opened 2 weeks ago

martin-springer commented 2 weeks ago

Describe the bug The eager update strategy causes an error for numpy 2.0

Full error message and traceback ERROR rdtools/test - ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!

To Reproduce Loosen version requirement of numpy in setup.py

Expected behavior Numpy 2.0 should not cause any issues