Skip to content

Commit

Permalink
Limit the version of wrapt to be used to prevent unit test failures
Browse files Browse the repository at this point in the history
A change in the behaviour of wrapt ends up in a unit test failure
for TensorFlow.
This can be removed once mitigation in TensorFlow is in place.
tensorflow#60687
and
GrahamDumpleton/wrapt#231
This is an alternative and less intrusive fix to
tensorflow#60688 which was
inadvertently reverted by a mis-merge in another commit.
  • Loading branch information
elfringham committed Jul 25, 2023
1 parent be93649 commit bf0761a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tensorflow/tools/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,15 @@ def standard_or_nightly(standard, nightly):
'numpy >= 1.23.5',
'opt_einsum >= 2.3.2',
'packaging',
'protobuf>=3.20.3,<5.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5',
# pylint:disable=line-too-long
(
'protobuf>=3.20.3,<5.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5'
),
'setuptools',
'six >= 1.12.0',
'termcolor >= 1.1.0',
'typing_extensions >= 3.6.6',
'wrapt >= 1.11.0',
'wrapt >= 1.11.0, < 1.15',
# This looks worse as a wrapped line. pylint:disable=line-too-long
(
'tensorflow-io-gcs-filesystem >= 0.23.1;platform_machine!="arm64" or'
Expand Down

0 comments on commit bf0761a

Please sign in to comment.