EmuKit / emukit

A Python-based toolbox of various methods in decision making, uncertainty quantification and statistical emulation: multi-fidelity, experimental design, Bayesian optimisation, Bayesian quadrature, etc.
https://emukit.github.io/emukit/
Apache License 2.0
605 stars 128 forks source link

Issues with numpy 1.24 #443

Closed apaleyes closed 6 months ago

apaleyes commented 1 year ago

Apparently np.bool alias was deprecated in 1.24 for good: https://numpy.org/devdocs/release/1.24.0-notes.html . Using it now gives an error. We don't use it, but GPy does (https://github.com/SheffieldML/GPy/search?q=np.bool , as of this post the search returns 4 files). There is even an open PR in GPy repo to address this issue https://github.com/SheffieldML/GPy/pull/1011.

Until this PR is merged and new version of GPy is released, we restrict numpy to <1.24.

apaleyes commented 1 year ago

Example of a failed build: https://github.com/EmuKit/emukit/actions/runs/4760128212/jobs/8465886441

apaleyes commented 6 months ago

GPy was updated, and this was addressed in #460