From 7fe651285471e25ebd3fc81b5b34c0f62ab958e6 Mon Sep 17 00:00:00 2001 From: tenzen-y Date: Thu, 4 Jan 2024 05:42:00 +0900 Subject: [PATCH] Install typing-extensions v4.6.3 for Optuna Signed-off-by: tenzen-y --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 523fe44dfe6..8cf6d414823 100755 --- a/Makefile +++ b/Makefile @@ -165,6 +165,10 @@ prepare-pytest: pip install --prefer-binary -r cmd/suggestion/pbt/v1beta1/requirements.txt pip install --prefer-binary -r cmd/earlystopping/medianstop/v1beta1/requirements.txt pip install --prefer-binary -r cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt + # The sqlalchemy on which optuna depends requires typing-extensions>=4.6.0. + # 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 prepare-pytest-testdata: ifeq ("$(wildcard $(TEST_TENSORFLOW_EVENT_FILE_PATH))", "")