You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEV CI failing with AttributeError: np.float_was removed in the NumPy 2.0 release. Usenp.float64 instead. from within libpysal/graph/base.py
UNEXPECTED EXCEPTION: AttributeError('`np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.')
Traceback (most recent call last):
File "/home/runner/micromamba/envs/test/lib/python3.11/doctest.py", line 1355, in __run
exec(compile(example.source, filename, "single",
File "<doctest mapclassify.classifiers.MapClassifier.plot[0]>", line 1, in <module>
File "/home/runner/micromamba/envs/test/lib/python3.11/site-packages/libpysal/__init__.py", line 27, in <module>
from . import cg, examples, graph, io, weights
File "/home/runner/micromamba/envs/test/lib/python3.11/site-packages/libpysal/graph/__init__.py", line 1, in <module>
from .base import Graph, read_parquet, read_gal, read_gwt # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test/lib/python3.11/site-packages/libpysal/graph/base.py", line 56, in <module>
class Graph(SetOpsMixin):
File "/home/runner/micromamba/envs/test/lib/python3.11/site-packages/libpysal/graph/base.py", line 2023, in Graph
y: np.typing.NDArray[np.float_] | pd.Series,
^^^^^^^^^
File "/home/runner/micromamba/envs/test/lib/python3.11/site-packages/numpy/__init__.py", line 397, in __getattr__
raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
/home/runner/work/mapclassify/mapclassify/mapclassify/classifiers.py:1075: UnexpectedException
The text was updated successfully, but these errors were encountered:
DEV CI failing with
AttributeError:
np.float_was removed in the NumPy 2.0 release. Use
np.float64instead.
from withinlibpysal/graph/base.py
The text was updated successfully, but these errors were encountered: