diff --git a/setup.py b/setup.py index f2cf6ee9..4b1b8414 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,8 @@ release_status = "Development Status :: 5 - Production/Stable" dependencies = [ "googleapis-common-protos >= 1.6.0, < 2.0dev", - "protobuf >= 3.12.0, < 3.18.0", + 'protobuf >= 3.12.0, < 3.18.0; python_version < "3"', + 'protobuf >= 3.12.0; python_version > "3"', "google-auth >= 1.25.0, < 2.0dev", "requests >= 2.18.0, < 3.0.0dev", "setuptools >= 40.3.0",