Skip to content

Commit 3f99c0f

Browse files
committed
Add upper limit to numpy version.
1 parent 645c946 commit 3f99c0f

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
@@ -66,7 +66,7 @@
6666
# mock comes with unittest.mock for python3, need to install for python2
6767
'mock >= 2.0.0;python_version<"3"',
6868
'numpy ~= 1.19.0;python_version<"3.7"',
69-
'numpy >= 1.20.0;python_version>="3.7"',
69+
'numpy >= 1.20.0, < 1.24;python_version>="3.7"',
7070
'opt_einsum >= 2.3.2',
7171
'six >= 1.10.0',
7272
'protobuf >= 3.6.1, < 4.0.0',

0 commit comments

Comments
 (0)