#768: Update environment to python 3.12#774
#768: Update environment to python 3.12#774Matthew Mizielinski (matthew-mizielinski) merged 29 commits intomainfrom
python 3.12#774Conversation
|
In commit f21b5c4 I changed |
|
When fixing unit tests, this doctest was failing: In commit bde4ce9 i added some casting from numpy bools to python bools to fix this. Explanation: In numpy 2.0.0 bools went from being represented as More info on the numpy boolean change here numpy/numpy#26774 Edit:I had a similar issue here: In this case i tried casting the result of Hence i've just adjusted the docstring to expect a |
Matthew Mizielinski (matthew-mizielinski)
left a comment
There was a problem hiding this comment.
Following tests failed for me;
FAILED mip_convert/mip_convert/tests/test_functional/test_functional_cmip7/test_cmip7_fx_rootd_ti_u_hxy_lnd.py::TestCmip7_fx_rootd_ti_u_hxy_lnd::test_cmip7_fx_rootd
FAILED mip_convert/mip_convert/tests/test_functional/test_functional_cmip7/test_cmip7_fx_slthick_ti_sl_hxy_lnd.py::TestCmip7_fx_slthick_ti_sl_hxy_lnd::test_cmip7_efx_slthick
both due to presence of branded_variable attribute -- I think they just need updated reference data.
Have now fixed these and added the reference data so they're passing in 54a80de |
Matthew Mizielinski (matthew-mizielinski)
left a comment
There was a problem hiding this comment.
LGTM and all tests pass
5282269
into
main
Closes #768