-
Notifications
You must be signed in to change notification settings - Fork 421
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
cryptography 1.0 broke pypy builders #297
Comments
I can confirm this for Python as well, I don't think it's pypy related. A workaround is to pin |
@or I'm not sure I understand. cryptography 1.0 should work fine with pyopenssl on environments that aren't pypy < 2.6. Do you have a reproducer? |
@reaperhulk You're right, I think my way to look at this was off. I guess pyopenssl isn't to blame at all, if it can work with those versions. But in my case and in @hynek's case there's a dependency on an older cffi around and that breaks things. So since pyopenssl doesn't need a newer cryptography, pinning it to 0.8.2 works. (At least it did for me, I'm not using pypy.) |
Ah, yeah that will do it. You can pin to 0.9.3 until the older cffi dependency goes away (1.0 is the first release requiring cffi 1.1+). If you control the library that has the older cffi dep you can (likely) unpin it as well, as cffi 1.x supports the cffi 0.x APIs. |
(Just for reference, the benefit of using cryptography 1.0 with pyopenssl is over 50x faster import times and ~20MB decrease in heap usage on import). |
Since the pypy on Travis’ infrastructure is 2.5 and bundles an old cffi, our pypy builders are failing now.
I’m not sure what to do but I’m tending to make pypy unsupported. cryptography itself does a huge dance with pyenv which I’m not willing to adapt. If others have the time, patches welcome. :-/ Until then we’re kind of stuck now.
@alex @reaperhulk
The text was updated successfully, but these errors were encountered: