Skip to content

Commit 9c723bb

Browse files
MengqingCaoedoakes
authored andcommitted
[Build][Bugfix] Fix protobuf version (#54910)
This pr fixes the `AttributeError: 'str' object has no attribute 'DESCRIPTOR'` when packaging message to dict using `protobuf` Closes #54849 Signed-off-by: MengqingCao <[email protected]> Co-authored-by: Edward Oakes <[email protected]> Signed-off-by: sampan <[email protected]>
1 parent 35e7a3a commit 9c723bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ filelock
1313
jsonschema
1414
msgpack<2.0.0,>=1.0.0
1515
packaging
16-
protobuf!=3.19.5,>=3.15.3
16+
protobuf>=3.20.3
1717
pyyaml
1818
requests
1919
watchfiles

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def get_packages(self):
383383
"jsonschema",
384384
"msgpack >= 1.0.0, < 2.0.0",
385385
"packaging",
386-
"protobuf >= 3.15.3, != 3.19.5",
386+
"protobuf>=3.20.3",
387387
"pyyaml",
388388
"requests",
389389
]

0 commit comments

Comments
 (0)