Skip to content

Commit 38561bc

Browse files
committed
Updating Tensorflow dependency to ~=2.15
PiperOrigin-RevId: 615114177
1 parent 596b2c8 commit 38561bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
* Bumped the Ubuntu version on which `struct2tensor` is tested to 20.04
1010
(previously was 16.04).
11-
* Depends on `tensorflow>=2.15.0,<3`.
11+
* Depends on `tensorflow~=2.15.0`.
1212
* Bumped the minimum bazel version required to build `struct2tensor` to 6.1.0.
1313
* Depends on `protobuf>=4.25.2,<5` for Python 3.11 and on `protobuf>3.20.3,<5`
1414
for 3.9 and 3.10.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def select_constraint(default, nightly=None, git_master=None):
7979
'numpy>=1.22',
8080
'protobuf>=4.25.2,<5;python_version>="3.11"',
8181
'protobuf>=3.20.3,<5;python_version<"3.11"',
82-
'tensorflow>=2.15,<3',
82+
'tensorflow~=2.15',
8383
'tensorflow-metadata' + select_constraint(
8484
default='>=1.14.0,<1.15.0',
8585
nightly='>=1.15.0.dev',

0 commit comments

Comments
 (0)