numbbo / coco

Numerical Black-Box Optimization Benchmarking Framework
https://numbbo.github.io/coco
Other
261 stars 86 forks source link

[Bug report] `cocopp` is incomaptible with numpy >= 2.0.0 #2306

Closed olafmersmann closed 3 months ago

olafmersmann commented 3 months ago

cocopp uses some deprecated NumPy functions and constants (np.Inf f. e.). We should clean that up before the next release.

olafmersmann commented 3 months ago

Temporarily force numpy < 2.0.0 with commit 82d1575c68da737c7394009bbc6e4074bd168cdf.

nikohansen commented 3 months ago
ruff check cocopp --select NPY201  

does not complain anymore.