emukit icon indicating copy to clipboard operation
emukit copied to clipboard

Issues with numpy 1.24

Open apaleyes opened this issue 2 years ago • 1 comments

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 avatar Apr 21 '23 11:04 apaleyes

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

apaleyes avatar Apr 21 '23 16:04 apaleyes

GPy was updated, and this was addressed in #460

apaleyes avatar Apr 28 '24 22:04 apaleyes