Pin protobuf<3.18 for Python<3.6

Our Google Cloud log upload role relies on google-cloud-storage,
which in turn needs protobuf. Unfortunately, protobuf dropped Python
2.7 and 3.5 support in its 3.18.0 release, so we use an environment
marker to pin it in our test requirements.

Change-Id: I89caf4e36850fc4a912b76d75f368144ddb5e15f
This commit is contained in:
Jeremy Stanley 2021-09-16 19:15:12 +00:00
parent 23867c2cf8
commit f8f1d1c271

View File

@ -33,6 +33,8 @@ requestsexceptions
bs4
# For upload-logs-google
google-cloud-storage
# google-cloud-storage needs protobuf which dropped py27/35 support in 3.18.0
protobuf<3.18;python_version<'3.6'
# For upload-logs-s3
boto3