Skip to content

Commit 741238d

Browse files
authored
Install typing-extensions v4.10.0 to fix Python test error (#2504)
* update the version of typing-extensions Signed-off-by: helenxie-bit <[email protected]> * update comment Signed-off-by: helenxie-bit <[email protected]> --------- Signed-off-by: helenxie-bit <[email protected]>
1 parent 28e466e commit 741238d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ prepare-pytest:
160160
pip install --prefer-binary -r cmd/suggestion/pbt/v1beta1/requirements.txt
161161
pip install --prefer-binary -r cmd/earlystopping/medianstop/v1beta1/requirements.txt
162162
pip install --prefer-binary -r cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt
163-
# The sqlalchemy on which optuna depends requires typing-extensions>=4.6.0.
164-
# REF: https://github.com/kubeflow/katib/pull/2251
163+
# `TypeIs` was introduced in typing-extensions 4.10.0, and torch 2.6.0 requires typing-extensions>=4.10.0.
164+
# REF: https://github.com/kubeflow/katib/pull/2504
165165
# TODO (tenzen-y): Once we upgrade libraries depended on typing-extensions==4.5.0, we can remove this line.
166-
pip install typing-extensions==4.6.3
166+
pip install typing-extensions==4.10.0
167167

168168
prepare-pytest-testdata:
169169
ifeq ("$(wildcard $(TEST_TENSORFLOW_EVENT_FILE_PATH))", "")

0 commit comments

Comments
 (0)