Skip to content

Commit

Permalink
fix protobuf version to 3.20.0 (#6612)
Browse files Browse the repository at this point in the history
The python pip deps resolver is not stable, I am fixing the protobuf version to 3.20.0 to avoid conflicts.
  • Loading branch information
pyu10055 authored Jul 7, 2022
1 parent 4939453 commit 438917f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tfjs-converter/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ py_wheel(
license = "Apache 2.0",
python_tag = "py3",
requires = [
"protobuf==3.20.0",
"tensorflow>=2.1.0,<3",
"six>=1.12.0,<2",
"tensorflow-hub>=0.7.0,<0.13",
Expand Down
1 change: 1 addition & 0 deletions tfjs-converter/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
protobuf==3.20.0
tensorflow>=2.1.0,<3
numpy~=1.19.2
six>=1.12.0,<2
Expand Down

0 comments on commit 438917f

Please sign in to comment.