Skip to content

Commit e949364

Browse files
authored
fix(deps): allow protobuf 3.19.5 (#459)
* fix(deps): allow protobuf 3.19.5 * explicitly exclude protobuf 4.21.0 * chore: use a compatible version of protobuf for testing
1 parent 4420055 commit e949364

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
release_status = "Development Status :: 5 - Production/Stable"
3131
dependencies = [
3232
"googleapis-common-protos >= 1.56.2, < 2.0dev",
33-
"protobuf >= 3.20.2, <5.0.0dev",
33+
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
3434
"google-auth >= 1.25.0, < 3.0dev",
3535
"requests >= 2.18.0, < 3.0.0dev",
3636
]

testing/constraints-3.7.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
77
# Then this file should have foo==1.14.0
88
googleapis-common-protos==1.56.2
9-
protobuf==3.20.2
9+
protobuf==3.19.5
1010
google-auth==1.25.0
1111
requests==2.18.0
1212
packaging==14.3

testing/constraints-3.8.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
googleapis-common-protos==1.56.3
2-
protobuf==4.21.5
2+
protobuf==4.21.6

0 commit comments

Comments
 (0)