|
| 1 | +.. title: PyPy v7.3.6: release of python 2.7, 3.7, and 3.8 |
| 2 | +.. slug: pypy-v736-release |
| 3 | +.. date: 2021-10-17 05:53:45 UTC |
| 4 | +.. tags: release |
| 5 | +.. category: |
| 6 | +.. link: |
| 7 | +.. description: |
| 8 | +.. type: rest |
| 9 | +.. author: The PyPy Team |
| 10 | + |
| 11 | +===================================================== |
| 12 | +PyPy v7.3.6: release of python 2.7, 3.7, and 3.8-beta |
| 13 | +===================================================== |
| 14 | + |
| 15 | +The PyPy team is proud to release version 7.3.6 of PyPy, which includes |
| 16 | +three different interpreters: |
| 17 | + |
| 18 | + - PyPy2.7, which is an interpreter supporting the syntax and the features of |
| 19 | + Python 2.7 including the stdlib for CPython 2.7.18+ (the ``+`` is for |
| 20 | + backported security updates) |
| 21 | + |
| 22 | + - PyPy3.7, which is an interpreter supporting the syntax and the features of |
| 23 | + Python 3.7, including the stdlib for CPython 3.7.12. |
| 24 | + |
| 25 | + - PyPy3.8, which is an interpreter supporting the syntax and the features of |
| 26 | + Python 3.8, including the stdlib for CPython 3.8.12. Since this is our |
| 27 | + first release of the interpreter, we relate to this as "beta" quality. We |
| 28 | + welcome testing of this version, if you discover incompatibilites, please |
| 29 | + report them so we can gain confidence in the version. |
| 30 | + |
| 31 | +The interpreters are based on much the same codebase, thus the multiple |
| 32 | +release. This is a micro release, all APIs are compatible with the other 7.3 |
| 33 | +releases. Highlights of the release, since the release of 7.3.5 in May 2021, |
| 34 | +include: |
| 35 | + |
| 36 | + - We have merged a backend for HPy_, the better C-API interface. The backend |
| 37 | + implements HPy version 0.0.3. |
| 38 | + - Translation of PyPy into a binary, known to be slow, is now about 40% |
| 39 | + faster. On a modern machine, PyPy3.8 can translate in about 20 minutes. |
| 40 | + - PyPy Windows 64 is now available on conda-forge_, along with nearly 700 |
| 41 | + commonly used binary packages. This new offering joins the more than 1000 |
| 42 | + conda packages for PyPy on Linux and macOS. Many thanks to the conda-forge |
| 43 | + maintainers for pushing this forward over the past 18 months. |
| 44 | + - Speed improvements were made to ``io``, ``sum``, ``_ssl`` and more. These |
| 45 | + were done in response to user feedback. |
| 46 | + - The 3.8 version of the release contains a beta-quality improvement to the |
| 47 | + JIT to better support `compiling huge Python functions`_ by breaking them |
| 48 | + up into smaller pieces. |
| 49 | + - The release of Python3.8 required a concerted effort. We were greatly |
| 50 | + helped by @isidentical (Batuhan Taskaya) and other new contributors. |
| 51 | + - The 3.8 package now uses the same layout as CPython, and many of the |
| 52 | + PyPy-specific changes to ``sysconfig``, ``distutils.sysconfig``, and |
| 53 | + ``distutils.commands.install.py`` have been removed. The ``stdlib`` now |
| 54 | + is located in ``<base>/lib/pypy3.8`` on ``posix`` systems, and in |
| 55 | + ``<base>/Lib`` on Windows. The include files on windows remain the same. |
| 56 | + On ``posix`` they are in ``<base>/include/pypy3.8``. Note we still use the |
| 57 | + ``pypy`` prefix to prevent mixing the files with CPython (which uses |
| 58 | + ``python``. |
| 59 | + |
| 60 | +.. _`compiling huge Python functions`: https://www.pypy.org/posts/2021/09/jit-auto-generated-code.html |
| 61 | + |
| 62 | + |
| 63 | +We recommend updating. You can find links to download the v7.3.6 releases here: |
| 64 | + |
| 65 | + https://pypy.org/download.html |
| 66 | + |
| 67 | +We would like to thank our donors for the continued support of the PyPy |
| 68 | +project. If PyPy is not quite good enough for your needs, we are available for |
| 69 | +direct consulting work. If PyPy is helping you out, we would love to hear about |
| 70 | +it and encourage submissions to our blog_ via a pull request |
| 71 | +to https://github.com/pypy/pypy.org |
| 72 | + |
| 73 | +We would also like to thank our contributors and encourage new people to join |
| 74 | +the project. PyPy has many layers and we need help with all of them: `PyPy`_ |
| 75 | +and `RPython`_ documentation improvements, tweaking popular modules to run |
| 76 | +on PyPy, or general `help`_ with making RPython's JIT even better. Since the |
| 77 | +previous release, we have accepted contributions from 7 new contributors, |
| 78 | +thanks for pitching in, and welcome to the project! |
| 79 | + |
| 80 | +If you are a python library maintainer and use C-extensions, please consider |
| 81 | +making a CFFI_ / cppyy_ version of your library that would be performant on PyPy. |
| 82 | +In any case both `cibuildwheel`_ and the `multibuild system`_ support |
| 83 | +building wheels for PyPy. |
| 84 | + |
| 85 | +.. _`PyPy`: index.html |
| 86 | +.. _`RPython`: https://rpython.readthedocs.org |
| 87 | +.. _`help`: project-ideas.html |
| 88 | +.. _CFFI: https://cffi.readthedocs.io |
| 89 | +.. _cppyy: https://cppyy.readthedocs.io |
| 90 | +.. _`multibuild system`: https://github.com/matthew-brett/multibuild |
| 91 | +.. _`cibuildwheel`: https://github.com/joerick/cibuildwheel |
| 92 | +.. _blog: https://pypy.org/blog |
| 93 | +.. _`conda-forge`: https://conda-forge.org/blog//2020/03/10/pypy |
| 94 | +.. _HPy: https://hpyproject.org/ |
| 95 | + |
| 96 | + |
| 97 | +What is PyPy? |
| 98 | +============= |
| 99 | + |
| 100 | +PyPy is a Python interpreter, a drop-in replacement for CPython 2.7, 3.7, and |
| 101 | +soon 3.8. It's fast (`PyPy and CPython 3.7.4`_ performance |
| 102 | +comparison) due to its integrated tracing JIT compiler. |
| 103 | + |
| 104 | +We also welcome developers of other `dynamic languages`_ to see what RPython |
| 105 | +can do for them. |
| 106 | + |
| 107 | +This PyPy release supports: |
| 108 | + |
| 109 | + * **x86** machines on most common operating systems |
| 110 | + (Linux 32/64 bits, Mac OS X 64 bits, Windows 64 bits, OpenBSD, FreeBSD) |
| 111 | + |
| 112 | + * big- and little-endian variants of **PPC64** running Linux, |
| 113 | + |
| 114 | + * **s390x** running Linux |
| 115 | + |
| 116 | + * 64-bit **ARM** machines running Linux. |
| 117 | + |
| 118 | +PyPy does support Windows 32-bit and ARM 32 bit processors, but does not |
| 119 | +release binaries. Please reach out to us if you wish to sponsor releases for |
| 120 | +those platforms. |
| 121 | + |
| 122 | +.. _`PyPy and CPython 3.7.4`: https://speed.pypy.org |
| 123 | +.. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | +What else is new? |
| 128 | +================= |
| 129 | + |
| 130 | +For more information about the 7.3.6 release, see the `full changelog`_. |
| 131 | + |
| 132 | +Please update, and continue to help us make PyPy better. |
| 133 | + |
| 134 | +Cheers, |
| 135 | +The PyPy team |
| 136 | + |
| 137 | +.. _`full changelog`: https://doc.pypy.org/en/latest/release-v7.3.6.html#changelog |
0 commit comments