Closed sandorkertesz closed 3 months ago
It seems using numpy 2 causes a problem for cf_units and the tests fail:
cf_units
../_temp/venv/lib/python3.10/site-packages/cf_units/__init__.py:23: in <module> from cf_units import _udunits2 as _ud _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject cf_units/_udunits2.pyx:1: ValueError
Until this problem is fixed in cf_units we restrict numpy to versions < 2.0.0.
It seems using numpy 2 causes a problem for
cf_units
and the tests fail:Until this problem is fixed in cf_units we restrict numpy to versions < 2.0.0.