Skip to content

Commit 438917f

Browse files
authored
fix protobuf version to 3.20.0 (#6612)
The python pip deps resolver is not stable, I am fixing the protobuf version to 3.20.0 to avoid conflicts.
1 parent 4939453 commit 438917f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tfjs-converter/python/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ py_wheel(
4848
license = "Apache 2.0",
4949
python_tag = "py3",
5050
requires = [
51+
"protobuf==3.20.0",
5152
"tensorflow>=2.1.0,<3",
5253
"six>=1.12.0,<2",
5354
"tensorflow-hub>=0.7.0,<0.13",

tfjs-converter/python/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
protobuf==3.20.0
12
tensorflow>=2.1.0,<3
23
numpy~=1.19.2
34
six>=1.12.0,<2

0 commit comments

Comments
 (0)