PyPy support
See original GitHub issueIt would be nice to enable pypy tests on travis, mention pypy support in the docs and benchmark a couple of spiders.
What is currently broken in tests:
- #2030 - there are failing signals tests under PyPy (old signals also didn’t work under PyPy) - probably it’s better to fix them after the merge, since the PR is already big.
- There are some failures with encoding (different number of <?> inserted), filed https://bitbucket.org/pypy/pypy/issues/2389/different-behavior-of-bytesdecode-utf8
- Failure in
ImagesPipelineTestCase.test_convert_image
looks like a Pillow bug under PyPy? - There are some failures in tests that rely on implementations differences or bugs that are absent on PyPy - here just the tests must be updated.
Other tasks:
- Test and document installation under PyPy (there can be more issues than for CPython due to missing or outdated binary wheels, e.g. https://github.com/pyca/cryptography/issues/2138)
Status: 1 failure in https://github.com/rootAvish/scrapy/compare/signal-rewrite...lopuhin:pypy?expand=1
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
PyPy
Compatibility: PyPy is highly compatible with existing python code. It supports cffi, cppyy, and can run popular python libraries like twisted, and django....
Read more >PyPy support - PyO3 user guide
Using PyPy is supported via cpyext. Support is only provided for building Rust extension for code running under PyPy. This means that PyPy...
Read more >The PyPy plugin — uWSGI 2.0 documentation - Read the Docs
A new PyPy plugin based on cffi is available since uWSGI 1.9.11. The old slow cpyext-based one has been removed from the tree....
Read more >PyPy - Wikipedia
PyPy does not have full compatibility with more recent versions of the CPython ecosystem. While it claims compatibility with Python 2.7, 3.7, 3.8...
Read more >PyPy Is Faster than Python, but at What Cost?
The reason for this is that most machine learning libraries use C API that is not supported by PyPy. Some people have requested...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like this is ready to be closed - any more pull requests @lopuhin? 😃
@kmike the failure is already resolved (probably by Pillow), but docs are worth updating, that’s a good catch! I can work on it before next Monday.