The PyPy team released PyPy v8.1.1 on 3 December 2026. PyPy is an alternative Python interpreter with a tracing JIT compiler, and it’s a drop-in replacement for CPython in many projects. This release is worth a closer look because it changes more than the version number suggests. Python 3.11 support is gone, the C API layer moved closer to CPython (which changes the binary ABI), and PyPy3.12 can now import cp312-abi3 extension modules.

This guide explains what changed, what it means for your packages, and how to try it safely. We downloaded the Linux x86-64 build and checked the details below on a real machine.

What’s in the release

According to the official release notes, v8.1.1 ships two interpreters:

  • PyPy2.7, with the CPython 2.7.18+ standard library (the + means backported security fixes).
  • PyPy3.12, with the standard library from CPython 3.12.16.

The previous release, v8.0.1 on 14 October 2026, still included PyPy3.11. That line is now dropped, so 3.12 is the only Python 3 version PyPy releases.

The team explains why the version jumped to 8.1. Better compatibility with CPython’s C API changed some of the structs in the C headers. In the same cycle, people fuzzed and analysed the interpreter with various tools, which led to many edge-case compatibility fixes and crash protections.

Install and check it

Download builds from pypy.org/download.html. Binaries are provided for Linux (32 and 64-bit x86, plus aarch64), macOS (x86-64 and arm64) and 64-bit Windows. On Linux:

curl -LO https://downloads.python.org/pypy/pypy3.12-v8.1.1-linux64.tar.gz
tar xzf pypy3.12-v8.1.1-linux64.tar.gz
./pypy3.12-v8.1.1-linux64/bin/pypy3 -c "import sys; print(sys.version)"

On our machine this printed:

3.12.15 (332f95ac5277, Dec 03 2026, 09:59:46)
[PyPy 8.1.1 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]

Note that the version string says 3.12.15, even though the release notes say the standard library was updated to 3.12.16. If your code or CI checks sys.version_info for a minimum patch level, check sys.pypy_version_info as well:

import sys, platform

print(platform.python_implementation())   # PyPy
print(sys.implementation.name)            # pypy
print(sys.pypy_version_info[:3])          # (8, 1, 1)

Then create a virtual environment as usual. PyPy comes with ensurepip:

./pypy3.12-v8.1.1-linux64/bin/pypy3 -m venv .venv-pypy
source .venv-pypy/bin/activate
python -m pip install -r requirements.txt

The ABI change: why some wheels won’t install

This is the part most likely to surprise you. Binary wheels for PyPy are tagged with the PyPy ABI version. On PyPy 8.1.1 the extension suffix is now:

pypy3 -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"
# pypy312-pp81-x86_64-linux-gnu

So the most specific wheel tag pip looks for is pp312-pypy312_pp81-.... Wheels built for the earlier PyPy ABI carry a different tag, so they won’t match. When no compatible wheel exists, pip falls back to building from source.

We saw this in practice. Installing a pure-Python package like requests worked straight away. But installing orjson, which is written in Rust, made pip try a source build, which failed because the machine had no Rust toolchain set up.

What to do:

  1. Pure-Python dependencies are not affected.
  2. C or Rust extensions need wheels built for the new ABI, or a working compiler toolchain in your build environment.
  3. If you maintain a library, rebuild your PyPy wheels. The release notes point out that cibuildwheel supports building wheels for PyPy.

cp312-abi3 wheels now work on PyPy3.12

There’s a big piece of good news alongside the ABI change. The changelog says PyPy3.12 now allows importing cp312-abi3 C-extension modules. These are extensions built against CPython’s limited API, which promises a stable ABI. On Windows, PyPy builds a python3.dll mapping library for this, and PyPy adjusts the wheel tags it supports so that pip and similar tools accept these wheels.

We confirmed the second part. Listing the tags pip will accept on PyPy 8.1.1 shows cp312-abi3 entries:

from pip._vendor.packaging import tags

supported = [str(t) for t in tags.sys_tags()]
print(supported[0])                                  # pp312-pypy312_pp81-manylinux_2_41_x86_64
print([t for t in supported if "abi3" in t][:2])
# ['cp312-abi3-manylinux_2_41_x86_64', 'cp312-abi3-manylinux_2_40_x86_64']

So if a package publishes a cp312-abi3 wheel, pip can pick it on PyPy instead of building from source. The release notes still recommend CFFI for library maintainers who want the best performance on PyPy. Abi3 wheels are a compatibility fallback, not the fastest path.

The C API work behind this is broad. Among other things, the notes mention Py_LIMITED_API support in the headers, buffer strides and shape as pointers to view-owned data for ABI3 compatibility, a vectorcall fast path, and newly implemented PyFrame_GetCode and PyFrame_GetBack.

Speedups and other fixes

The changelog lists several performance improvements:

  • Big integers: shift loops are now vectorisable, bitwise and/or/xor are vectorised, and arithmetic and float conversion were improved.
  • JIT: improved integer-bound arithmetic, and more integer comparison optimisations moved to the rule DSL.
  • Windows: faster GIL handoffs between threads.
  • Strings: an ASCII fast path for str.splitlines() that scans bytes without decoding.

The notes give no benchmark figures for these changes, so measure your own workload. Bug fixes include a set-corruption fix when __eq__ mutates the set during difference_update, several aarch64 JIT fixes, many Windows fixes, and an update to libexpat 2.9.0.

Should you upgrade?

  • Already on PyPy3.12 (8.0.x)? Yes, the team recommends updating. Plan time to rebuild or re-download any binary dependencies because of the ABI change.
  • On PyPy3.11? You’ll need to move to 3.12 to stay on supported releases. Test your code on Python 3.12 semantics first.
  • On CPython, curious about PyPy? It’s a good time to try, since abi3 wheels widen what installs cleanly. Start with a long-running, pure-Python workload, where the JIT helps most.

A simple CI job that runs your tests under both interpreters is the safest way to adopt it.

Takeaway

PyPy v8.1.1 narrows the gap with CPython: one Python 3 line (3.12), a closer C API and support for stable-ABI cp312-abi3 wheels. The trade-off is a new ABI tag (pp81), so older PyPy wheels won’t install and some packages will need fresh builds. Download it from pypy.org and read the full v8.1.1 release notes before switching production workloads.