Update vendored pybind11 to 3.0.4 - #193
Open
dellaert wants to merge 2 commits into
Open
Conversation
d03662f0 build: support Eigen 5 (#6036)
3d8aabc0 Bump version from v3.0.3 → v3.0.4
2c1b3911 [skip ci] docs: add v3.0.4 changelog updates. (#6041)
804e2c1b fix: segfault when moving `scoped_ostream_redirect` (#6033)
a15579cb ci: bump setup-uv to maintained tag scheme (#6035)
e2fdf436 Handle result from PyObject_VisitManagedDict (#6032)
98003e29 chore(deps): update pre-commit hooks (#6029)
ab392bd8 fix: avoid copy constructor instantiation in shared_ptr fallback cast (#6028)
ad5bc9e8 chore(deps): bump the actions group with 2 updates (#6027)
1b499083 docs: add v3.0.3 ~and v3.1.0~ changelog updates. (#6023)
c066c762 fix: add missing PYBIND11_ALWAYS_INLINE macro for v3.0.3 backports
76efcb37 Bump version from v3.0.2 → v3.0.3
0f416357 chore(deps): bump pygments from 2.17.2 to 2.20.0 in /docs (#6024)
54a4615e chore(deps): bump requests from 2.32.4 to 2.33.0 in /docs (#6013)
d12037cd chore(deps): update pre-commit hooks (#6002)
64eecc4c chore(deps): bump the actions group with 3 updates (#6000)
c0ea8fcd Fix heap-buffer-overflow in `pythonbuf` with undersized buffers (#6019)
8d621d61 fix: detect virtual inheritance in add_base to prevent pointer offset crash (#6017)
b6a616e5 fix: strdup `"self"` arg in `def_property_static`, partially revert #6010 (gh-5976) (#6015)
0184c021 Harden `PYBIND11_MODULE_PYINIT` and `get_internals()` against crashes during module init (#6018)
ec875b63 Fix TSS key exhaustion in implicitly_convertible() (gh-5975) (#6020)
bb786681 Fix `static_pointer_cast` build failure with virtual inheritance in `holder_caster_foreign_helpers.h` (#6014)
3cb5a763 fix: bind noexcept and ref-qualified methods from unregistered base classes (#5992)
c0cfa965 Fix crash in def_readwrite for non-smart-holder properties of smart-holder classes (v2) (#6008)
463168a9 Resolve ambiguous factory spec. with nvcc+GCC (#6011)
16ef2e30 Fix memory leak: clear managed dict in pybind11_object_dealloc on Python 3.13+ (#5999)
7db5e992 gh-5991: Fix segfault during finalization related to function_record (#6010)
fb143835 chore: some minor CPython API cleanup (#6005)
1bf20ea7 Re-enable Android tests in CIBW workflow (#6001)
a896f615 Move tomlkit dependency to dev group (#5990)
f6198fb2 [ci skip] fix(tests): make async callback test deterministic (#5986)
45fab408 Update version number to v3.0.2 (final) and set release date in changelog.md to February 16, 2026 (#5985)
44a0cd24 [ci skip] docs/changelog.md updates for 3.0.2, to account for 5 additional PRs (#5984)
3ae5a173 Add fallback implementation of `PyCriticalSection_BeginMutex` for Python 3.13t (#5981)
5f2c6789 Add helpers to array that return the size and strides as a std::span (#5974)
8f68ecd3 chore(deps): update pre-commit hooks (#5982)
4d7d02a8 Fix race condition with py::make_key_iterator in free threading (#5971)
e7754de0 Revert internals destruction and add test for internals recreation (#5972)
0080cae3 chore(deps): bump jwlawson/actions-setup-cmake in the actions group (#5978)
95d4af7f Fix CI issue: numpy requirement for Python 3.14 on ARM64 Windows (#5977)
4f81a125 Fix deadlock in test with free threading (#5973)
6c836071 Changelog updates (#5967)
5a6edc99 Exclude MSVC up to 19.16 from using std::launder (#5968)
53ccc32f fix: cross-compilation updates (#5829)
a8e223d0 Directly check if/which interpreter is active before doing CLEAR in destructor (#5965)
da6e0710 Destruct internals during interpreter finalization (#5958)
e44aae22 chore: bump CMake max policy to 4.2 (#5944)
ca1d9964 chore(deps): bump urllib3 from 2.6.0 to 2.6.3 in /docs (#5954)
cc551ada Appease MSVC Warning C4866: compiler may not enforce left-to-right evaluation order (#5955)
d36f5dd5 Appease MSVC Warning C4866: compiler may not enforce left-to-right evaluation order (#5953)
745e5688 Fix longdouble complex docstring to clongdouble (#5952)
10f87089 Change function calls to use vectorcall (#5948)
c761608a chore(deps): update pre-commit hooks (#5951)
2c9191e9 chore(deps): bump egor-tensin/setup-clang in the actions group (#5950)
b93c0f7e Fix ambiguous `str(handle)` constructor for object-derived types (#5949)
fee2527d Fix concurrency consistency for `internals_pp_manager` under multiple-interpreters (#5947)
0057e494 Add per-interpreter storage for `gil_safe_call_once_and_store` (#5933)
799f591e Re-enable Move Subinterpreter test for free-threaded Python 3.14 (#5940)
7ae61bfb Avoid LNK2001 in c++20 when /GL (Whole program optimization) is on with MSVC Update pybind11.h (#5939)
78381e5e Improve C++ test infrastructure: progress reporter, timeouts, and skip hanging Move Subinterpreter test (#5942)
3aeb113b chore(deps): bump the actions group across 1 directory with 5 updates (#5941)
d4f9cfbc Modernize NVHPC CI job (to make it working again): Ubuntu-24.04 runner, NVHPC 25.11 (#5935)
5b379161 Apply clang-tidy fixes to subinterpreter support code (#5929)
10069334 chore: also use typos (#5931)
41a4d0c4 Add Windows arm tests (#5932)
032e73d5 Replace C-style casts to static_cast and reinterpret_cast (#5930)
228f5636 Skip cross module exception translation on FreeBSD (#5925)
3ebbecb8 Add more readability tidy rules (#5924)
66515309 Enforce more ruff rules (#5922)
1c1d01c8 Use well-known labels in `project.urls` (#5921)
1dc76208 chore(deps): bump urllib3 from 2.5.0 to 2.6.0 in /docs (#5920)
d810d4f0 chore(deps): update pre-commit hooks (#5918)
55e4bb91 Work around GCC -Warray-bounds false positive in argument_vector (#5908)
734c29b2 Point main README.rst to CI for supported platforms and compilers (#5910)
ab9ac90f Replace deprecated macos-13 runners with macos-15-intel (#5916)
28ecc9b6 Disable Android cibuildwheel tests only on `ubuntu-latest` (#5915)
1fa9fad6 chore(deps): bump the actions group with 5 updates (#5912)
665461d0 Remove enum from bold in doc (#5903)
af796d0a Don't allow keep_alive or call_guard on properties (#5533)
42cda757 Fix `*args/**kwargs` return types. Add type hinting to `py::make_tuple` (#5881)
8ecf10e8 Fix crash in `gil_scoped_acquire` (#5828)
b30e72c6 Replace env.deprecated_call() with pytest.deprecated_call() (#5893)
3370fe14 Enhance: edit doc py::native_enum feature in upgrade.rst (#5885)
1ccaad5b chore: log_level is better than log_cli_level (#5890)
9f1187f9 Add `typing.SupportsIndex` to `int`/`float`/`complex` type hints (#5891)
73da78c3 chore(deps): update pre-commit hooks (#5888)
e6984c80 native_enum: add capsule containing enum information and cleanup logic (#5871)
15943963 fix dangling thread state issue (#5870)
1e5bc66e Factor out readable function signatures to avoid duplication (#5857)
cc36ac51 type_caster_generic: fix compiler error when casting a T that is implicitly convertible from T* (#5873)
a2c59711 type_caster_generic: add cast_sources abstraction (#5866)
fc423c94 Fix dangling pointer in internals::registered_types_cpp_fast from #5842 (#5867)
c7b4f66a type_caster_generic: add set_foreign_holder method for subclasses to implement (#5862)
9f752021 Fix thread-safety in `get_local_type_info()` (#5856)
aa4259b4 chore(deps): update pre-commit hooks (#5820)
1cf0948d Avoid a heap allocation on every legacy py::enum_ load (#5860)
cae4ae08 docs: clarify to what extent bindings are actually global (#5859)
32620001 Add fast_type_map, use it authoritatively for local types and as a hint for global types (ABI breaking) (#5842)
9ea19762 Use new 3.14 C APIs when available (#5854)
4dc33d65 Fix `smart_holder` multiple/virtual inheritance bugs in `shared_ptr` and `unique_ptr` to-Python conversions (#5836)
0161da9d [skip ci] .gitignore: exclude __pycache__ directories (#5838)
81ffb1d5 Add 90 minute limit for tests (#5851)
8ed0dab6 Add float type caster and revert type hint changes to int_ and float_ (#5839)
30748f86 Avoid heap allocation for function calls with a small number of args (#5824)
326b1063 Use thread_local instead of thread_specific_storage for internals (#5834)
d4d555d9 Restore `runs-on: windows-latest` (#5835)
937552f0 Use thread_local for loader_life_support to improve performance (#5830)
68cbae66 tests: add or delete copy/move ctors where needed to make type traits match reality (#5833)
a6581eee pytypes.h: constrain accessor::operator= templates so that they do not obscure special members (#5832)
7fb54e30 chore(deps): bump the actions group with 3 updates (#5831)
852a4b50 s/windows-2022/windows-latest/ in .github/workflows/{ci,pip}.yml (#5826)
ef0f1ff5 chore(deps): bump the actions group across 1 directory with 2 updates (#5818)
bf2d56e8 Fix the first example in the first steps guide not compiling (#5823)
cd56888c Bring CI back to all-working condition (#5822)
3878c23f Fix typo in error message (#5817)
3c0ee897 Fix compiler detection with clang-cl (#5816)
6e0d1c24 chore: back to work
git-subtree-dir: pybind11
git-subtree-split: d03662f0984f652b60e7ddce53d3868002275197
…date-pybind11-3.0.4
dellaert
marked this pull request as ready for review
August 8, 2026 21:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
conda run -n py312 python -m pytest tests --no-cov— 110 passed.cmake -S . -B build— configured successfully.make -C build -j6— completed successfully.git diff --check— passed.Notes
The update preserves pybind11 internals ABI version 11; it does not include the 3.1.0 ABI bump. The upstream subtree sync also updates files under
pybind11/.github; these are pybind11’s vendored workflow/metadata files and do not change wrap’s root CI workflows.