Skip to content

Commit

Permalink
fix(deps): allow protobuf >=3.18.0 for python 3 users (#305)
Browse files Browse the repository at this point in the history
https://github.com/protocolbuffers/protobuf/releases/tag/v3.18.0 dropped Python 2 support. Python 3 users can continue to use the latest version of protobuf.
  • Loading branch information
busunkim96 authored Nov 8, 2021
1 parent 49cdc1d commit 286347e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 286347e

Please sign in to comment.