pysal/spopt

`numpy>=2.0` failures -- [2024-06-19]

Closed this issue · 0 comments

numpy>=2.0 failures to fix before #455

FAILED spopt/tests/test_maxp.py::TestMaxPHeuristic::test_maxp_heuristic_complex - AttributeError: `np.Inf` was removed in the NumPy 2.0 release. Use `np.inf` instead.. Did you mean: 'inf'?
FAILED spopt/tests/test_maxp.py::TestMaxPHeuristic::test_maxp_one_var - AttributeError: `np.Inf` was removed in the NumPy 2.0 release. Use `np.inf` instead.. Did you mean: 'inf'?