Skip to content

Commit 10ff67f

Browse files
dansuh17tensorflower-gardener
authored andcommitted
Bump up dependent packages for model-optimization repo to be compatible with tensorflow 2.9.1.
Build failure occurred due to the requirement `absl-py>=1.0.0` from tensorflow 2.9.1 failed to be compatible with `absl-py~=0.7.0` specified in `requirements.txt`. This change bumps up dependent packages specified in `requirements.txt` to match the compatibility requirements for tensorflow~=2.9.1. PiperOrigin-RevId: 463248167
1 parent c93195d commit 10ff67f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
absl-py~=0.7
2-
numpy~=1.14
3-
six~=1.10
1+
absl-py~=1.2.0
2+
numpy~=1.23.0
3+
six~=1.14
44
scipy
55
enum34~=1.1
66
mock

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
# also installs the gpu package if they need gpu support. The latter allows
3434
# us (and our dependents) to maintain a single package instead of two.
3535
REQUIRED_PACKAGES = [
36-
'numpy~=1.14',
37-
'six~=1.10',
36+
'absl-py~=1.2',
37+
'numpy~=1.23',
38+
'six~=1.14',
3839
'enum34~=1.1;python_version<"3.4"',
3940
'dm-tree~=0.1.1',
4041
]
@@ -58,6 +59,7 @@ class BinaryDistribution(Distribution):
5859
def has_ext_modules(self):
5960
return False
6061

62+
6163
setup(
6264
name=project_name,
6365
version=__version__,

0 commit comments

Comments
 (0)