pybind11 breaking changes
pybind11 3.0.0 (July 10, 2025) is its newest release with breaking changes, 11 of them. The first: pybind11 3.0.0 drops support for Python 3.7. Every breaking API change we have recorded in pybind11 on PyPI: 25 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.0, released August 6, 2026.
Its 3.0.0 release drops Python 3.7. Python end of life dates.
pybind11 3.0.0 breaking changes
- Removed
Python 3.7 is no longer supported, so code must run on a newer Python version. github.com - Removed
PyPy 3.8 and 3.9 are no longer supported. github.com - Removed
Internals versions 4, 5 and 6 from pybind11 v2 are no longer supported. github.com - Removed
CMake versions older than 3.15 are no longer supported; use CMake 3.15 or newer. github.com - Removed
make_simple_namespace
make_simple_namespace was deprecated in 2.8.1 and is now removed. github.com - Removed
PYBIND11_GLOBAL_SDIST
The PYBIND11_GLOBAL_SDIST option was removed along with the move to scikit-build-core as build backend. github.com - Removed
PYBIND11_NUMPY_1_ONLY
The legacy-mode option PYBIND11_NUMPY_1_ONLY no longer exists. github.com - Renamed
PYBIND11_SUBINTERPRETER_SUPPORT
PYBIND11_SUBINTERPRETER_SUPPORT is renamed to PYBIND11_HAS_SUBINTERPRETER_SUPPORT. github.com - Behavior changed
The ABI version was bumped, so extensions built against earlier pybind11 versions must be rebuilt. github.com - Behavior changed
py.slice
The default constructor of py::slice now behaves like :: in Python. github.com - Default changed
FindPython mode is now enabled by default; a COMPAT mode sets some old variables to ease transition. github.com
pybind11 3.0.0rc4 breaking changes
- Behavior changed
Release candidate 4 with no further breaking items in pybind11 3.0.0rc4 github.com
pybind11 3.0.0rc1 breaking changes
- Removed
Support for PyPy 3.8 and 3.9 was dropped. github.com - Removed
Support for pybind11 v2 internals versions (4, 5, 6) was removed; the internals version number was bumped for v3. github.com - Removed
CMake versions older than 3.15 are no longer supported; 3.15 to 4.0 are supported. github.com - Removed
Python 3.7 support was removed. github.com - Removed
make_simple_namespace
make_simple_namespace was removed; it was deprecated in 2.8.1. github.com - Removed
PYBIND11_NUMPY_1_ONLY
The legacy-mode option PYBIND11_NUMPY_1_ONLY has been removed. github.com - Behavior changed
__file__
__file__ is set on submodules, except on embedded modules. github.com - Behavior changed
py.class_
Restoring pickles now updates the existing dict rather than assigning a replacement dict. github.com - Behavior changed
py.slice
The default constructor of py::slice now matches Python's :: slice. github.com - Behavior changed
PYBIND11_EMBEDDED_MODULE
PYBIND11_EMBEDDED_MODULE now performs multi-phase module initialization behind the scenes. github.com
And 3 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.