Skip to content

Commit 496730b

Browse files
committed
Limit typing_extensions to less than 4.6.0 until it works
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.
1 parent d82420a commit 496730b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/tools/pip_package/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def standard_or_nightly(standard, nightly):
108108
'setuptools',
109109
'six >= 1.12.0',
110110
'termcolor >= 1.1.0',
111-
'typing_extensions >= 3.6.6',
111+
'typing_extensions>=3.6.6,<4.6.0',
112112
# TODO(b/266362323): wrapt==1.15.0rc0 incompatible with TF 2.12.0 RC0 (and
113113
# nightly, but works with TF 2.11)
114114
'wrapt >= 1.11.0, <1.15',

0 commit comments

Comments
 (0)