Skip to content

Commit

Permalink
Pin the numpy version v1.23.5
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
  • Loading branch information
tenzen-y committed Mar 10, 2024
1 parent d39e77a commit 3eb28f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ prepare-pytest:
# REF: https://github.com/kubeflow/katib/pull/2251
# TODO (tenzen-y): Once we upgrade libraries depended on typing-extensions==4.5.0, we can remove this line.
pip install typing-extensions==4.6.3
# This is a workaround to avoid the following error.
# AttributeError: module 'numpy' has no attribute 'int'
# See more: https://github.com/numpy/numpy/pull/22607
# TODO (tenzen-y): Once we remove skopt suggestion service, we can remove this line.
numpy==1.23.5

prepare-pytest-testdata:
ifeq ("$(wildcard $(TEST_TENSORFLOW_EVENT_FILE_PATH))", "")
Expand Down

0 comments on commit 3eb28f4

Please sign in to comment.