From 5db20e7221e8aad83da504c520bd30d8b1ce2e10 Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 4 Jul 2025 00:46:12 +0300 Subject: [PATCH 1/2] prepare v7.3.20 release --- pages/checksums.rst | 21 ++++++ pages/download.rst | 17 ++--- pages/download_advanced.rst | 92 ++++++++++---------------- posts/2025/07/pypy-v7320-release.rst | 99 ++++++++++++++++++++++++++++ 4 files changed, 158 insertions(+), 71 deletions(-) create mode 100644 posts/2025/07/pypy-v7320-release.rst diff --git a/pages/checksums.rst b/pages/checksums.rst index fbc1d110b..f345961d3 100644 --- a/pages/checksums.rst +++ b/pages/checksums.rst @@ -7,6 +7,27 @@ .. description: Here are the checksums +pypy3.11-v7.3.20 sha256:: + + 9347fe691a07fd9df17a1b186554fb9d9e6210178ffef19520a579ce1f9eb741 pypy3.11-v7.3.20-aarch64.tar.bz2 + d08ce15dd61e9ace5e010b047104f0137110a258184e448ea8239472f10cf99b pypy3.11-v7.3.20-linux32.tar.bz2 + 1410db3a7ae47603e2b7cbfd7ff6390b891b2e041c9eb4f1599f333677bccb3e pypy3.11-v7.3.20-linux64.tar.bz2 + 84a48e09c97f57df62cc9f01b7a6d8c3e306b6270671d871aa8ab8c06945940d pypy3.11-v7.3.20-macos_arm64.tar.bz2 + bb3ae80cf5fca5044af2e42933e7692c7c5e76a828ce0eb6404a5d5da83b313c pypy3.11-v7.3.20-macos_x86_64.tar.bz2 + 7786dda760003e2ea7409c1037e50200c578ec427ce0245ac4cd758710b206fb pypy3.11-v7.3.20-src.tar.bz2 + 76d93e4f04aa266591e8db1b81c6f70746d4568483489fc7f37ac0f6d7a4a28a pypy3.11-v7.3.20-src.zip + a8d36f6ceb1d9be6cf24a73b0ba103e7567e396b2f7a33426b05e4a06330755b pypy3.11-v7.3.20-win64.zip + +pypy2.7-v7.3.20 sha256:: + + f22a1be607deeaa4f9be6bc63aae09fe4fb5b990d6a23aa4e7c5960dc5d93c96 pypy2.7-v7.3.20-aarch64.tar.bz2 + 9d554c5efcb6ef80146bb82965f5d8404d6848e6f04b25c378852a095768a69c pypy2.7-v7.3.20-linux32.tar.bz2 + aa3bb92dbb529fa2d4920895b16d67a810b0c709207857d56cfe4a6e3b41e02a pypy2.7-v7.3.20-linux64.tar.bz2 + be3ffbb243316b1ffbf63ac60d72e099d5b64702e4429eeeb18a0608fb3b8dcc pypy2.7-v7.3.20-macos_arm64.tar.bz2 + 9e7cf34e9d4c8d890439fcd10b09a2c0825d8709c63dd4cbf85645711bfb15b7 pypy2.7-v7.3.20-macos_x86_64.tar.bz2 + bf958498445f7bf78338723c8d86bd6711e8792461725d2481df77a9566a3e62 pypy2.7-v7.3.20-src.tar.bz2 + aca2a3295ac0263419c29213d2f243ff4a3c54b9c3dfb11c94908873cb7eadf9 pypy2.7-v7.3.20-src.zip + 76d02853601ef8d3c9dd821a9faa84cabf9bc469d6b77797b21ed311b25d5419 pypy2.7-v7.3.20-win64.zip pypy3.11-v7.3.19 sha256:: diff --git a/pages/download.rst b/pages/download.rst index 9be45dc09..d81c02092 100644 --- a/pages/download.rst +++ b/pages/download.rst @@ -7,10 +7,7 @@ .. description: -We provide pre-compiled binaries for many platforms and OSes. Please note -that we are `sunsetting conda-forge support`_ and will no longer officially -publish PyPy3.10 and above on it. - +We provide pre-compiled binaries for many platforms and OSes. .. note:: Our `nightly binary builds`_ have the most recent bugfixes and performance improvements, though they can be less stable than the official releases. See @@ -19,7 +16,6 @@ publish PyPy3.10 and above on it. .. _`nightly binary builds`: https://buildbot.pypy.org/nightly/ .. _`other versions`: https://downloads.python.org/pypy/ -.. _`sunsetting conda-forge support`: /posts/2024/08/conda-forge-proposes-dropping-support-for-pypy.html .. include:: pages/download_advanced.rst :start-after: table start @@ -35,15 +31,12 @@ Source .. class:: download_menu * `3.11 Source (tar.bz2)`__; `3.11 Source (zip)`__. -* `3.10 Source (tar.bz2)`__; `3.10 Source (zip)`__. * `2.7 Source (tar.bz2)`__; `2.7 Source (zip)`__. -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-src.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-src.zip -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-src.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-src.zip -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-src.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-src.zip +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-src.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-src.zip +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-src.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-src.zip More information diff --git a/pages/download_advanced.rst b/pages/download_advanced.rst index 60d676f8e..2e14fa991 100644 --- a/pages/download_advanced.rst +++ b/pages/download_advanced.rst @@ -11,11 +11,9 @@ We provide pre-compiled binaries for many platforms and OSes: -* the Python2.7 compatible release — **PyPy2.7 v7.3.19** +* the Python2.7 compatible release — **PyPy2.7 v7.3.20** -* the Python3.10 compatible release — **PyPy3.10 v7.3.19** - -* the Python3.11 compatible release — **PyPy3.11 v7.3.19** +* the Python3.11 compatible release — **PyPy3.11 v7.3.20** .. note:: @@ -33,23 +31,20 @@ We provide pre-compiled binaries for many platforms and OSes: Anonymous tags work, this kind of tag doesn't ``Download `` .. list-table:: `PyPy latest`_ - :widths: 20 15 15 15 35 + :widths: 20 15 15 35 :header-rows: 1 * - OS - PyPy3.11 - - PyPy3.10 - PyPy2.7 - Notes * - **Linux x86 64 bit** - - Download__ - Download__ - Download__ - compatible with CentOS7 and later. * - **Windows 64 bit** - - Download__ - Download__ - Download__ - compatible with any windows 64-bit @@ -57,14 +52,12 @@ We provide pre-compiled binaries for many platforms and OSes: * - **MacOS arm64** - - Download__ - Download__ - Download__ - MacOS >= 11. Not signed, for signed packages use Homebrew_. * - **MacOS x86_64** - - Download__ - Download__ - Download__ - MacOS >= 10.15, not for Mojave and below. Not signed, for signed @@ -72,32 +65,26 @@ We provide pre-compiled binaries for many platforms and OSes: * - **Linux ARM64** - - Download__ - Download__ - Download__ - compatible with CentOS7 and later. -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-linux64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-linux64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-linux64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-linux64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-win64.zip -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-win64.zip -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-win64.zip +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-win64.zip +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-win64.zip -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-macos_arm64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-macos_arm64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-macos_arm64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-macos_arm64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-macos_arm64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-macos_x86_64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-macos_x86_64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-macos_x86_64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-macos_x86_64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-macos_x86_64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-aarch64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-aarch64.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-aarch64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-aarch64.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-aarch64.tar.bz2 -.. _`PyPy latest`: https://doc.pypy.org/en/latest/release-v7.3.19.html +.. _`PyPy latest`: https://doc.pypy.org/en/latest/release-v7.3.20.html .. _`vcredist.x64.exe`: https://www.microsoft.com/en-us/download/details.aspx?id=52685 .. @@ -105,25 +92,22 @@ We provide pre-compiled binaries for many platforms and OSes: .. list-table:: Other Platforms - :widths: 20 15 15 15 35 + :widths: 20 15 15 35 :header-rows: 1 * - OS - PyPy3.11 - - PyPy3.10 - PyPy2.7 - Notes * - **Linux x86 32 bit** - - Download__ - Download__ - Download__ - compatible with CentOS7 and later -.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-linux32.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-linux32.tar.bz2 -.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-linux32.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-linux32.tar.bz2 +.. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux32.tar.bz2 .. _`Default (with a JIT Compiler)`: @@ -299,13 +283,11 @@ Building from source Alternatively, get one of the following smaller packages for the source at the same revision as the above binaries: - * `pypy3.11-v7.3.19-src.tar.bz2`__ (sources, PyPy 3.10 only) - * `pypy3.10-v7.3.19-src.tar.bz2`__ (sources, PyPy 3.10 only) - * `pypy2.7-v7.3.19-src.tar.bz2`__ (sources, PyPy 2.7 only) + * `pypy3.11-v7.3.20-src.tar.bz2`__ (sources, PyPy 3.10 only) + * `pypy2.7-v7.3.20-src.tar.bz2`__ (sources, PyPy 2.7 only) - .. __: https://downloads.python.org/pypy/pypy3.11-v7.3.19-src.tar.bz2 - .. __: https://downloads.python.org/pypy/pypy3.10-v7.3.19-src.tar.bz2 - .. __: https://downloads.python.org/pypy/pypy2.7-v7.3.19-src.tar.bz2 + .. __: https://downloads.python.org/pypy/pypy3.11-v7.3.20-src.tar.bz2 + .. __: https://downloads.python.org/pypy/pypy2.7-v7.3.20-src.tar.bz2 2. Make sure you **installed the dependencies.** See the list here__. @@ -418,26 +400,18 @@ It is recommended to use package.py because custom scripts will invariably become out-of-date. If you want to write custom scripts anyway, note an easy-to-miss point: some modules are written with CFFI, and require some compilation. If you install PyPy as root without -pre-compiling them, normal users will get errors: - -* PyPy 2.5.1 or earlier: normal users would see permission errors. - Installers need to run ``pypy -c "import gdbm"`` and other similar - commands at install time; the exact list is in `package.py`_. Users - seeing a broken installation of PyPy can fix it after-the-fact if they - have sudo rights, by running once e.g. ``sudo pypy -c "import gdbm``. - -* PyPy 2.6 and later: anyone would get ``ImportError: no module named - _gdbm_cffi``. Installers need to run ``pypy _gdbm_build.py`` in the - ``lib_pypy`` directory during the installation process (plus others; - see the exact list in `package.py`_). Users seeing a broken - installation of PyPy can fix it after-the-fact, by running ``pypy - /path/to/lib_pypy/_gdbm_build.py``. This command produces a file - called ``_gdbm_cffi.pypy-41.so`` locally, which is a C extension - module for PyPy. You can move it at any place where modules are - normally found: e.g. in your project's main directory, or in a - directory that you add to the env var ``PYTHONPATH``. - -.. _`package.py`: https://github.com/pypy/pypy/blob/release-pypy3.11-v7.3.19/pypy/tool/release/package.py +pre-compiling them, normal users will get errors like +``ImportError: no module named _gdbm_cffi``. Installers need to run ``pypy +_gdbm_build.py`` in the ``lib_pypy`` directory during the installation process +(plus others; see the exact list in `package.py`_). Users seeing a broken +installation of PyPy can fix it after-the-fact, by running ``pypy +/path/to/lib_pypy/_gdbm_build.py``. This command produces a file +called ``_gdbm_cffi.pypy-41.so`` locally, which is a C extension +module for PyPy. You can move it at any place where modules are +normally found: e.g. in your project's main directory, or in a +directory that you add to the env var ``PYTHONPATH``. + +.. _`package.py`: https://github.com/pypy/pypy/blob/release-pypy3.11-v7.3.20/pypy/tool/release/package.py Checksums --------- diff --git a/posts/2025/07/pypy-v7320-release.rst b/posts/2025/07/pypy-v7320-release.rst new file mode 100644 index 000000000..86a129697 --- /dev/null +++ b/posts/2025/07/pypy-v7320-release.rst @@ -0,0 +1,99 @@ +.. title: PyPy v7.3.20 release +.. slug: pypy-v7320-release +.. date: 2025-07-06 12:00:00 UTC +.. tags: release +.. category: +.. link: +.. description: +.. type: rst +.. author: mattip + +========================================= +PyPy v7.3.20: release of python 2.7, 3.11 +========================================= + +The PyPy team is proud to release version 7.3.20 of PyPy after the previous +release on Feb 26, 2025. The release fixes some subtle bugs in ctypes and +``OrderedDict`` and makes PyPy3.11 compatible with an upcoming release of +Cython. + +The release includes two different interpreters: + +- PyPy2.7, which is an interpreter supporting the syntax and the features of + Python 2.7 including the stdlib for CPython 2.7.18+ (the ``+`` is for + backported security updates) + +- PyPy3.11, which is an interpreter supporting the syntax and the features of + Python 3.11, including the stdlib for CPython 3.11.13. + +The interpreters are based on much the same codebase, thus the double +release. This is a micro release, all APIs are compatible with the other 7.3 +releases. + +We recommend updating. You can find links to download the releases here: + + https://pypy.org/download.html + +We would like to thank our donors for the continued support of the PyPy +project. If PyPy is not quite good enough for your needs, we are available for +`direct consulting`_ work. If PyPy is helping you out, we would love to hear +about it and encourage submissions to our blog_ via a pull request +to https://github.com/pypy/pypy.org + +We would also like to thank our contributors and encourage new people to join +the project. PyPy has many layers and we need help with all of them: bug fixes, +`PyPy`_ and `RPython`_ documentation improvements, or general `help`_ with +making RPython's JIT even better. + +If you are a python library maintainer and use C-extensions, please consider +making a HPy_ / CFFI_ / cppyy_ version of your library that would be performant +on PyPy. In any case, both `cibuildwheel`_ and the `multibuild system`_ support +building wheels for PyPy. + +.. _`PyPy`: https://doc.pypy.org/ +.. _`RPython`: https://rpython.readthedocs.org +.. _`help`: https://doc.pypy.org/en/latest/project-ideas.html +.. _CFFI: https://cffi.readthedocs.io +.. _cppyy: https://cppyy.readthedocs.io +.. _`cibuildwheel`: https://github.com/joerick/cibuildwheel +.. _blog: https://pypy.org/blog +.. _HPy: https://hpyproject.org/ +.. _direct consulting: https://www.pypy.org/pypy-sponsors.html + +What is PyPy? +============= + +PyPy is a Python interpreter, a drop-in replacement for CPython +It's fast (`PyPy and CPython`_ performance +comparison) due to its integrated tracing JIT compiler. + +We also welcome developers of other `dynamic languages`_ to see what RPython +can do for them. + +We provide binary builds for: + +* **x86** machines on most common operating systems + (Linux 32/64 bits, Mac OS 64 bits, Windows 64 bits) + +* 64-bit **ARM** machines running Linux (``aarch64``) and macos (``macos_arm64``). + +PyPy supports Windows 32-bit, Linux PPC64 big- and little-endian, Linux ARM +32 bit, RISC-V RV64IMAFD Linux, and s390x Linux but does not release binaries. +Please reach out to us if you wish to sponsor binary releases for those +platforms. Downstream packagers provide binary builds for debian, Fedora, +conda, OpenBSD, FreeBSD, Gentoo, and more. + +.. _`PyPy and CPython`: https://speed.pypy.org +.. _`dynamic languages`: https://rpython.readthedocs.io/en/latest/examples.html + +What else is new? +================= + +For more information about the 7.3.20 release, see the `full changelog`_. + +Please update, and continue to help us make pypy better. + +Cheers, +The PyPy Team + +.. _`full changelog`: https://doc.pypy.org/en/latest/release-v7.3.20.html#changelog From f32545ecb58a6d0c987dd115676d45c1a99c22a6 Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 4 Jul 2025 00:55:18 +0300 Subject: [PATCH 2/2] remove multibuild --- posts/2025/07/pypy-v7320-release.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/posts/2025/07/pypy-v7320-release.rst b/posts/2025/07/pypy-v7320-release.rst index 86a129697..f9546e943 100644 --- a/posts/2025/07/pypy-v7320-release.rst +++ b/posts/2025/07/pypy-v7320-release.rst @@ -47,8 +47,7 @@ making RPython's JIT even better. If you are a python library maintainer and use C-extensions, please consider making a HPy_ / CFFI_ / cppyy_ version of your library that would be performant -on PyPy. In any case, both `cibuildwheel`_ and the `multibuild system`_ support -building wheels for PyPy. +on PyPy. In any case, `cibuildwheel`_ supports building wheels for PyPy. .. _`PyPy`: https://doc.pypy.org/ .. _`RPython`: https://rpython.readthedocs.org