From 80572d0fa0c3499428ea1193b4ee5e695208dc5f Mon Sep 17 00:00:00 2001 From: Ebrahim Songhori Date: Wed, 13 Dec 2023 16:13:25 -0800 Subject: [PATCH] Using an older version of `typing-extensions` PiperOrigin-RevId: 590744190 Change-Id: Ic4f9ad181e6dd38a7f6e6baab8c56a740a5904d7 --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8babcf3f7..6c3c3c885 100644 --- a/setup.py +++ b/setup.py @@ -184,7 +184,10 @@ def get_required_packages(): 'six >= 1.10.0', 'protobuf >= 3.11.3', 'wrapt >= 1.11.1', - 'typing-extensions >= 3.7.4.3', + # Using an older version to avoid this bug + # https://github.com/tensorflow/tensorflow/issues/62217 + # while using tf 2.15.0 + 'typing-extensions == 4.5.0', # Used by gym >= 0.22.0. Only installed as a dependency when gym[all] is # installed or if gym[*] (where * is an environment which lists pygame as # a dependency).