We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2295bca commit 7535d92Copy full SHA for 7535d92
setup.py
@@ -132,7 +132,7 @@
132
"packaging>=20.0",
133
"parameterized",
134
"phonemizer",
135
- "protobuf",
+ "protobuf<=3.20.1",
136
"psutil",
137
"pyyaml>=5.1",
138
"pydantic",
@@ -293,6 +293,7 @@ def run(self):
293
"nltk",
294
"GitPython",
295
"hf-doc-builder",
296
+ "protobuf", # Can be removed once we can unpin protobuf
297
"sacremoses",
298
"rjieba"
299
)
src/transformers/dependency_versions_table.py
@@ -38,7 +38,7 @@
38
"packaging": "packaging>=20.0",
39
"parameterized": "parameterized",
40
"phonemizer": "phonemizer",
41
- "protobuf": "protobuf",
+ "protobuf": "protobuf<=3.20.1",
42
"psutil": "psutil",
43
"pyyaml": "pyyaml>=5.1",
44
"pydantic": "pydantic",
0 commit comments