linopy icon indicating copy to clipboard operation
linopy copied to clipboard

Remove numpy pin

Open glatterf42 opened this issue 1 year ago • 3 comments

Gurobipy v11.0.3 was released on July 16 and seems to be compatible with numpy >= 2.0.0. At least locally, running the tests via pytest . and an editable install from this branch with numpy 2.0.1 and gurobipy 11.0.3, all tests are passing :)

The only thing I can't quite make sense of is this warning:

test/test_io.py::test_model_to_netcdf
  <frozen importlib._bootstrap>:488: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility. Expected 16 from C header, got 96 from PyObject

glatterf42 avatar Jul 24 '24 08:07 glatterf42