Skip to content

Commit 2cb99e9

Browse files
rtg0795Responsible ML Infra Team
authored andcommitted
Update to TF 2.12 and protobuf to 3.20.3
PiperOrigin-RevId: 522383342
1 parent 80c2a28 commit 2cb99e9

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
## Bug Fixes and Other Changes
88

9+
* Depends on `tensorflow>=2.12.0,<2.13`.
10+
* Depends on `protobuf>=3.20.3,<5`.
11+
912
## Breaking Changes
1013

1114
## Deprecations

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
from setuptools import setup
2222

2323

24-
if sys.version_info >= (3, 10):
25-
sys.exit('Sorry, Python >= 3.10 is not supported')
24+
if sys.version_info >= (3, 11):
25+
sys.exit('Sorry, Python >= 3.11 is not supported')
2626

2727

2828
def select_constraint(default, nightly=None, git_master=None):
@@ -38,7 +38,7 @@ def select_constraint(default, nightly=None, git_master=None):
3838
return default
3939

4040
REQUIRED_PACKAGES = [
41-
'tensorflow>=2.11.0,<2.12',
41+
'tensorflow>=2.12.0,<2.13',
4242
'tensorflow-hub>=0.8.0,<1.0.0',
4343
'tensorflow-data-validation' + select_constraint(
4444
default='>=1.12.0,<1.13.0',
@@ -49,7 +49,7 @@ def select_constraint(default, nightly=None, git_master=None):
4949
nightly='>=0.44.0.dev',
5050
git_master='@git+https://github.com/tensorflow/model-analysis@master'),
5151
'witwidget>=1.4.4,<2',
52-
'protobuf>=3.13,<4',
52+
'protobuf>=3.20.3,<5',
5353
]
5454

5555
# Get version from version module.

tensorboard_plugin/setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
from setuptools import setup
2626

2727

28-
if sys.version_info >= (3, 10):
29-
sys.exit('Sorry, Python >= 3.10 is not supported')
28+
if sys.version_info >= (3, 11):
29+
sys.exit('Sorry, Python >= 3.11 is not supported')
3030

3131

3232
def select_constraint(default, nightly=None, git_master=None):
@@ -42,9 +42,9 @@ def select_constraint(default, nightly=None, git_master=None):
4242
return default
4343

4444
REQUIRED_PACKAGES = [
45-
'protobuf>=3.13,<4',
45+
'protobuf>=3.20.3,<5',
4646
'tensorboard>=2.8.0,<3',
47-
'tensorflow>=2.11,<3',
47+
'tensorflow>=2.12,<3',
4848
'tensorflow-model-analysis' + select_constraint(
4949
default='>=0.43,<0.44',
5050
nightly='>=0.44.0.dev',

tensorboard_plugin/tensorboard_plugin_fairness_indicators/RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
## Bug Fixes and Other Changes
88

9+
* Depends on `tensorflow>=2.12,<2.13`.
10+
* Depends on `protobuf>=3.20.3,<5`.
11+
912
## Breaking Changes
1013

1114
## Deprecations

0 commit comments

Comments
 (0)