Skip to content
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

Investigate possibly PyPy and Jython support #73

Closed
ib-lundgren opened this issue Nov 16, 2012 · 3 comments
Closed

Investigate possibly PyPy and Jython support #73

ib-lundgren opened this issue Nov 16, 2012 · 3 comments
Labels

Comments

@ib-lundgren
Copy link
Collaborator

Investigate whether it would be useful to add PyPy and Jython support and what would be necessary for it to happen. As far as the OAuthLib code goes neither should be an issue but that might not be the case for the dependencies.

The biggest concern is likely to be PyCrypto.

I vaguely remember seeing threads about issues with that combination but not sure about the current status.

Jython could be tricky, there might be wrappers or suitable alternatives but needs some research.

@dahlia
Copy link
Contributor

dahlia commented May 24, 2013

PyCrypto currently works on PyPy, and oauthlib also currently works on PyPy. (Tested on PyPy 2.0.2, Mac 10.8.3.)

$ tox -e pypy
GLOB sdist-make: /.../oauthlib/setup.py
pypy inst-nodeps: /.../oauthlib/.tox/dist/oauthlib-0.4.1.zip
pypy runtests: commands[0]
.....................................................................................................................................................
----------------------------------------------------------------------
Ran 149 tests in 0.846s

OK
___________________________________ summary ____________________________________
  pypy: commands succeeded
  congratulations :)

I think we could add pypy to tox.ini and .travis.yml files. (.travis.yml seems not to contain even 2.6, 3.2 and 3.3.)

@lepture
Copy link
Collaborator

lepture commented May 24, 2013

I don't think Jython worth the work.

@ib-lundgren
Copy link
Collaborator Author

@lepture Agreed, Jython is not going to be worth it.

@dahlia Cool to know that pypy seem to work tho, feel free to send a PR adding it to tox.ini =)

Travis is currently setup to run tox which tests 2.6, 2.7, 3.2 and 3.3, which is not obvious since the travis yaml file only mentions 2.7.

lepture added a commit to lepture/oauthlib that referenced this issue May 24, 2013
ib-lundgren added a commit that referenced this issue May 28, 2013
add more python version in travis and tox. #73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants