Skip to content

Commit f54be42

Browse files
navinsoninavinns
andauthored
fix: pin protobuf to < 4.0 to fix breaking change (#3138)
Co-authored-by: Navin Soni <[email protected]>
1 parent fdc36ee commit f54be42

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ def read_requirements(filename):
4848
# Declare minimal set for installation
4949
required_packages = [
5050
"attrs==20.3.0",
51-
"boto3>=1.20.21",
51+
"boto3>=1.20.21,<2.0",
5252
"google-pasta",
53-
"numpy>=1.9.0",
54-
"protobuf>=3.1",
55-
"protobuf3-to-dict>=0.1.5",
53+
"numpy>=1.9.0,<2.0",
54+
"protobuf>=3.1,<4.0",
55+
"protobuf3-to-dict>=0.1.5,<1.0",
5656
"smdebug_rulesconfig==1.0.1",
57-
"importlib-metadata>=1.4.0",
57+
"importlib-metadata>=1.4.0,<2.0",
5858
"packaging>=20.0",
5959
"pandas",
6060
"pathos",

0 commit comments

Comments
 (0)