summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pybind11: Upgrade 2.13.6 -> 3.0.1Leon Anavi2025-11-211-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Build with -DPYBIND11_USE_CROSSCOMPILING=ONKhem Raj2025-03-221-1/+1
| | | | | | Since we are cross-compiling this option is required with 3.13+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Upgrade 2.12.0 -> 2.13.6Leon Anavi2025-03-221-0/+33
Upgrade to release 2.13.6: - A new self._pybind11_conduit_v1_() method is automatically added to all py::class_-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 versions with different PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2, 2.12.1, and 2.13.6+. - Using __cpp_nontype_template_args instead of __cpp_nontype_template_parameter_class. - Properly translate C++ exception to Python exception when creating Python buffer from wrapped object. - Adds an answer (FAQ) for "What is a highly conclusive and simple way to find memory leaks?". Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>