Skip to content

Commit 37c1909

Browse files
qlzh727tensorflower-gardener
authored andcommitted
Update the numpy version used by Keras to be consistent with TF.
The scipy also get updated due to its dependency to numpy. PiperOrigin-RevId: 547007715
1 parent f3b338a commit 37c1909

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

requirements.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# The rest of the packages are mostly used for testing purpose.
33
pandas
44
pydot
5-
scipy ~= 1.7.2
5+
scipy ~= 1.9.2
66
# Remove once both TensorFlow and Keras nightly builds pass.
77
# Temporarily enforce 3.20.3 version, as the only version which is compatible
88
# with both new and old protobuf stubs. This is needed to resolve
@@ -13,9 +13,7 @@ tf-nightly
1313
portpicker
1414
pyyaml
1515
Pillow
16-
# TF uses a different NumPy version for Python 3.10 and lower; b/262592253
17-
numpy ~= 1.22.0; python_version < '3.11'
18-
numpy ~= 1.23.2; python_version >= '3.11' # Sync with the numpy version used in TF
16+
numpy ~= 1.24.3 # Sync with the numpy version used in TF
1917
black==22.3.0
2018
isort==5.10.1
2119
flake8==4.0.1

0 commit comments

Comments
 (0)