Skip to content

Commit

Permalink
unpin protobuf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
djaddis committed Oct 28, 2022
1 parent bb4ec2a commit 7c05e3f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@
from version import get_version
from commands import setup_timeseries, build_messages

install_requires = ['six >= 1.8.0', 'basho_erlastic >= 2.1.1', 'protobuf == 3.20.3']
install_requires = ['six >= 1.8.0', 'basho_erlastic >= 2.1.1']
requires = ['six(>=1.8.0)', 'basho_erlastic(>= 2.1.1)']

if sys.version_info[:3] <= (2, 7, 9):
install_requires.append("pyOpenSSL >= 0.14")
requires.append("pyOpenSSL(>=0.14)")

if sys.version_info[:3] <= (3, 0, 0):
install_requires.append('protobuf >=2.4.1, <2.7.0')
requires.append('protobuf(>=2.4.1, <2.7.0)')
else:
install_requires.append('protobuf >=3.0.0, <4.0.0')
requires.append('protobuf(>=3.0.0, <4.0.0)')

with codecs.open('README.md', 'r', 'utf-8') as f:
readme_md = f.read()

Expand Down

0 comments on commit 7c05e3f

Please sign in to comment.