Skip to content

Commit

Permalink
Fixup patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Aug 16, 2021
1 parent b6bd42e commit 8980e0b
Showing 1 changed file with 8 additions and 29 deletions.
37 changes: 8 additions & 29 deletions recipe/patches/0004-loosen-requirements.patch
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',

0 comments on commit 8980e0b

Please sign in to comment.