-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install riak fails on python3 [JIRA: CLIENTS-51] #284
Comments
We don't support python3 yet (also, protobuf is out of our control!) |
But is there some wip-branch or plans or nothing abot pthon3 rightnow? |
@mikhailsedletsky I intend to look at it after the Riak 2.0 features are landed, probably in early January. Any assistance in the meantime is appreciated, but I really want compatibility with both 2.6/2.7 and 3 if possible. We have customers using 2.x. |
Since google's protobuf does not support python 3 yet... the only compatible fork is https://github.com/openx/python3-protobuf I can use that to see if there is anything in the riak-python-client code base that fails py3 requirements. This is probably the last library that I need to port to python3 for projects I'm doing. |
Okay, using python3-protobuf (with tens patches over riak & riak_pb) I built it for python3, but even ping doesn't work (who would doubt). At this point it looks far from production state for python3 (maybe as much as python3 itself). |
Does Python 3 work with the http client? Shuhao
|
No, but there is no big troubles with, I think. Just need to be ported & moved to http.client. |
Protocol Buffers v2.6 supports python 3. |
@yvsong That's great news! I was wrapping up work on on porting the Python client to use https://pypi.python.org/pypi/python3-protobuf, but if the official client supports Python 3, that would be much better. I'll investigate. |
Sadly it looks like Google's 2.6.1 still isn't Python 3 friendly, so we'll stick with |
I don't know the details but doesn't the last line in the following page say "Support for Python 3"? |
@yvsong It sure does. I tried to install 2.6.1 both from PyPI and from source, but the installer is still 2.x-based. It looks like Python 3.x support is not quite ready yet: protocolbuffers/protobuf#7 |
The Python 3 issue has been addressed by #379 and will be featured in a forthcoming release |
Python 3.3.1
The text was updated successfully, but these errors were encountered: