PyPy v8.1.0: release of python 2.7 and 3.12 released 2026-XX-XX

Note

This is a pre-release announcement. When the release actually happens, it will be announced on the PyPy blog

The PyPy team is proud to release version 8.1.0 of PyPy after the previous release on Oct 14, 2026. We have dropped 3.11. Increased compatibility with CPython’s C API changed some of the structs expoxed in the C headers, so we are bumping the version to 8.1. The past month has seen a lot of activity: people have been using various tools to fuzz and analyse the interpreter and this has led to a lot of churn for edge case compatibility and crash protection. We have also started passing many more tests on windows, and have removed the last vestiges of RPython unicode from the interpreter, allowing us to simplify RPython. This becomes important as the long-term effort to make RPython compatible with python3 (rpython3 )has move forward

The release includes three different interpreters:

  • PyPy2.7, 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.12, supporting the syntax and features of Python 3.12, including the stdlib for CPython 3.12.15.

The interpreters are based on much the same codebase, thus the triple release.

We recommend updating. You can find links to download the releases here:

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 CFFI version of your library that would be performant on PyPy. Failing that, PyPy will soon support the cp312-abi3 tag for limited ABI wheels. In any case, cibuildwheel supports building wheels for PyPy.

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.

Changelog

RPython3

For all python versions

  • Lazily import rpython.conftest (and hence pytest) during translation (#5654)
  • Make ruleopt generate more compact and faster code (#5655)

Bugfixes

  • aarch64: load float constants with a PC-relative LDR from a literal pool (#5649)

Speedups and enhancements

Python 3.12

  • Fix failing tests for windows64: -A test were not running at all, others were crashing

C API

Testing

  • ctypes tests: don’t call a non-variadic function with partial argtypes (#5652)
  • cffi tests: port test_ffi_new_allocator_1 (#5651)
  • Remove tests that replicate lib-python tests (#5672)
  • rmmap: untranslated macOS arm64 JIT memory uses mprotect, not MAP_JIT (#5662)

Other bugfixes including missing compatibility

  • Improve _ssl error types and handling
  • Normalize fsenc in get_special_char() so it does not return None (#5650)
  • _curses: declare the wide-character functions on darwin (#5661)
  • always use utf-8/surrogateescape for fsencode/fsdecode, fixes darwin failures (#5659)
  • time.strftime: only pass ASCII runs of the format to wcsftime() (#5665)
  • add fcopyfile() on darwin (#5670) that needed an rpython helper (#5671)
  • skip the codec lookup when decoding empty input outside dev mode (#5669)