pybind11 breaking changes
pybind11 3.0.0 is its newest release with breaking changes, 13 of them. The first: Removes support for pybind11 v2 internals versions 4, 5 and 6. Every breaking API change we have recorded in pybind11 on vcpkg: 25 breaking changes in 2 versions. Below, its 2 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. Source repository
Its 3.0.0 release drops Python 3.7. Python end of life dates.
pybind11 3.0.0 breaking changes
- Removed
Internals versions 4, 5 and 6 are no longer supported because the internals version was bumped for v3. github.com - Removed
CMake versions below 3.15 are no longer supported; CMake 3.15 or newer is required. github.com - 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
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 is removed because the PyPI package now uses scikit-build-core. github.com - Removed
PYBIND11_NUMPY_1_ONLY
The legacy-mode option PYBIND11_NUMPY_1_ONLY has been removed. github.com - Renamed
PYBIND11_SUBINTERPRETER_SUPPORT
PYBIND11_SUBINTERPRETER_SUPPORT is renamed to PYBIND11_HAS_SUBINTERPRETER_SUPPORT. github.com - Behavior changed
The internals pointer-to-pointer implementation changed, which is a breaking change to internals behavior. github.com - Behavior changed
The ABI version is bumped to 10, so extensions built against older versions must be rebuilt. github.com - Behavior changed
py.slice
The default constructor of py::slice now matches Python's :: slice. github.com - Behavior changed
PYBIND11_MODULE
Modules are initialized in multiple phases (PEP 489) behind the scenes, which can change module init behavior. github.com - Default changed
CMake uses FindPython mode by default; a COMPAT mode is available to ease the transition. github.com
pybind11 3.0.0rc1 breaking changes
- Removed
Support for PyPy 3.8 and 3.9 was dropped. github.com - Removed
CMake versions older than 3.15 are no longer supported. github.com - Removed
Support for Python 3.7 was removed. github.com - Removed
make_simple_namespace
make_simple_namespace was removed in this release; stop calling it. github.com - Removed
PYBIND11_GLOBAL_SDIST
PYBIND11_GLOBAL_SDIST has been removed. github.com - Removed
PYBIND11_NUMPY_1_ONLY
The legacy-mode option PYBIND11_NUMPY_1_ONLY has been removed. github.com - Behavior changed
The ABI version was bumped and support for pybind11 v2 internals versions 4, 5 and 6 was removed; extensions must be rebuilt. github.com - Behavior changed
The PyPI pybind11 build backend changed to scikit-build-core and PYBIND11_GLOBAL_SDIST was removed. github.com - Behavior changed
py.class_
Restoring pickles now updates the existing dict instead of assigning a replacement dict. github.com - Behavior changed
py.slice
The default constructor of py::slice now behaves like :: in Python instead of previous behavior. github.com
And 2 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.