aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2023-05-24 10:39:13 +0100
committerTensorFlow Release Automation <jenkins@tensorflow.org>2023-06-02 16:29:58 +0000
commit7e7e43ae07316c96aca496fdf2d9a0db7eeb5fbd (patch)
tree805e3b5862e6937077bf082ec0a0aa1e6563f6c9
parent57633696be6c5cd93ae6832e81338a31b10428b8 (diff)
downloadtensorflow-7e7e43ae07316c96aca496fdf2d9a0db7eeb5fbd.tar.gz
Limit typing_extensions to less than 4.6.0 until it worksupstream-r2.13-8817a75d402
There is a unit test failure when run as a pip test with typing_extensions >= 4.6.0 so limit the installed version to below that until the issue is resolved.
-rw-r--r--tensorflow/tools/pip_package/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py
index 39021d9fdb8..4c88bbe8b45 100644
--- a/tensorflow/tools/pip_package/setup.py
+++ b/tensorflow/tools/pip_package/setup.py
@@ -97,7 +97,7 @@ REQUIRED_PACKAGES = [
'setuptools',
'six >= 1.12.0',
'termcolor >= 1.1.0',
- 'typing_extensions >= 3.6.6',
+ 'typing_extensions>=3.6.6,<4.6.0',
'wrapt >= 1.11.0',
'tensorflow-io-gcs-filesystem >= 0.23.1;platform_machine!="arm64" or ' +
'platform_system!="Darwin"',