diff mbox series

[meta-python,2/2] python3-pybind11: Upgrade 2.13.6 -> 3.0.1

Message ID 20251121131736.2998314-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/2] python3-lief: Upgrade 0.16.7 -> 0.17.1 | expand

Commit Message

Leon Anavi Nov. 21, 2025, 1:17 p.m. UTC
Upgrade to version 3.0.1:

- Fixed compilation error in `type_caster_enum_type` when casting
  pointer-to-enum types. Added pointer overload to handle
  dereferencing before enum conversion.
- Implement binary version of `make_index_sequence` to reduce
  template depth requirements for functions with many parameters.
- Subinterpreter-specific exception handling code was removed to
  resolve segfaults.
- Fixed issue that caused ``PYBIND11_MODULE`` code to run again if
  the module was re-imported after being deleted from
  ``sys.modules``.
- Prevent concurrent creation of sub-interpreters as a workaround
  for stdlib concurrency issues in Python 3.12.
- Fixed potential crash when using `cpp_function` objects with
  sub-interpreters.
- Fixed non-entrant check in `implicitly_convertible()`.
- Support C++20 on platforms that have older c++ runtimes.
- Fix compilation with clang on msys2.
- Avoid `nullptr` dereference warning with GCC 13.3.0 and python
  3.11.13.
- Fix potential warning about number of threads being too large.
- Fix gcc 11.4+ warning about serial compilation using CMake.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-pybind11_2.13.6.bb => python3-pybind11_3.0.1.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pybind11_2.13.6.bb => python3-pybind11_3.0.1.bb} (92%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb b/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
rename to meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb
index 7d71767297..cc2f0c66dc 100644
--- a/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
+++ b/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb
@@ -7,7 +7,7 @@  DEPENDS = "\
     python3-ninja-native \
 "
 
-SRCREV = "a2e59f0e7065404b44dfe92a28aca47ba1378dc4"
+SRCREV = "f5fbe867d2d26e4a0a9177a51f6e568868ad3dc8"
 SRC_URI = "\
     git://github.com/pybind/pybind11.git;branch=stable;protocol=https \
 "