diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-11-21 15:17:36 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-21 07:23:31 -0800 |
| commit | 3d7894aa32c077be1acbab2c5e55e3f2610e2433 (patch) | |
| tree | e6605f03bf6a6c2d709354b338cca8d6d495ef2f /meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb | |
| parent | 5ac890daa0e6da4709b6e05e4c0c1393cb7da8e6 (diff) | |
| download | meta-openembedded-3d7894aa32c077be1acbab2c5e55e3f2610e2433.tar.gz | |
python3-pybind11: Upgrade 2.13.6 -> 3.0.1
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb b/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb new file mode 100644 index 0000000000..cc2f0c66dc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "Seamless operability between C++11 and Python" | ||
| 2 | HOMEPAGE = "https://github.com/pybind/pybind11" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" | ||
| 5 | DEPENDS = "\ | ||
| 6 | python3-cmake-native \ | ||
| 7 | python3-ninja-native \ | ||
| 8 | " | ||
| 9 | |||
| 10 | SRCREV = "f5fbe867d2d26e4a0a9177a51f6e568868ad3dc8" | ||
| 11 | SRC_URI = "\ | ||
| 12 | git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ | ||
| 13 | " | ||
| 14 | |||
| 15 | |||
| 16 | inherit cmake python_setuptools_build_meta | ||
| 17 | |||
| 18 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF -DPYBIND11_USE_CROSSCOMPILING=ON" | ||
| 19 | |||
| 20 | do_configure:append() { | ||
| 21 | cmake_do_configure | ||
| 22 | } | ||
| 23 | |||
| 24 | do_compile:append() { | ||
| 25 | cmake_do_compile | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install:append() { | ||
| 29 | cmake_do_install | ||
| 30 | } | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native nativesdk" | ||
