Open tobin-ford opened 1 month ago
numpy
, scipy
, and pvlib
To unrestrict the package versions we will need to modify the calc_letid_outdoor
test. PVLib issues made the result vary slightly and cause the test to fail.
It would be wise to stay up to date on dependencies.
PVLib V0.11.0 Breaking LETID Tests
To Reproduce install
pvlib=0.11.0
andnumpy=2.0.0
,python=3.9.19
Expected behavior test_calc_injection_outdoors fails due to different values in the check (nan at 88 when it should not have been, following values are slightly different.
pvlib=0.10.3
andnumpy=1.26.4
fix the issue.Screenshots https://github.com/NREL/PVDegradationTools/pull/97#issuecomment-2200755120 - screenshot here
Desktop (please complete the following information):
SciPy 1.14.0 Breaking Tests
To Reproduce install
scipy=1.14.0
and run tests.python=3.9.19
Expected behavior many pvdeg tests will fail because the function signature for
scipy.integrate.simpson
was changed slightly. Reverting toscipy<1.14.0
fixes the issue.https://github.com/NREL/PVDegradationTools/pull/97#issuecomment-2218779560 - more info here
Desktop Same as above