-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,13 @@ | ||
From 5fbf80906ab7cd1bfd429f40fb4ef95cd8ff370d Mon Sep 17 00:00:00 2001 | ||
From: "Uwe L. Korn" <[email protected]> | ||
Date: Tue, 6 Apr 2021 17:52:09 +0200 | ||
Subject: [PATCH 4/5] loosen requirements | ||
|
||
--- | ||
tensorflow/tools/pip_package/setup.py | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py | ||
index 65133afdafe..a749ec320f6 100644 | ||
index 18e24a4b3ef..c6918925e75 100644 | ||
--- a/tensorflow/tools/pip_package/setup.py | ||
+++ b/tensorflow/tools/pip_package/setup.py | ||
@@ -81,7 +81,7 @@ REQUIRED_PACKAGES = [ | ||
'google_pasta ~= 0.2', | ||
'h5py ~= 2.10.0', | ||
'keras_preprocessing ~= 1.1.2', | ||
@@ -78,7 +78,7 @@ REQUIRED_PACKAGES = [ | ||
# NOTE: As numpy has releases that break semver guarantees and several other | ||
# deps depend on numpy without an upper bound, we must install numpy before | ||
# everything else. | ||
- 'numpy ~= 1.19.2', | ||
+ 'numpy ~= 1.19', | ||
'opt_einsum ~= 3.3.0', | ||
'protobuf >= 3.9.2', | ||
'six ~= 1.15.0', | ||
@@ -118,7 +118,7 @@ if 'tf_nightly' in project_name: | ||
# BoringSSL support. | ||
# See https://github.com/tensorflow/tensorflow/issues/17882. | ||
if sys.byteorder == 'little': | ||
- REQUIRED_PACKAGES.append('grpcio ~= 1.32.0') | ||
+ REQUIRED_PACKAGES.append('grpcio ~= GRPCIO_VERSION') | ||
|
||
|
||
# Packages which are only needed for testing code. | ||
-- | ||
2.29.2.windows.3 | ||
|
||
# Install other dependencies | ||
'absl-py ~= 0.10', | ||
'astunparse ~= 1.6.3', |