summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-07-21 13:09:45 +0300
committerKhem Raj <raj.khem@gmail.com>2025-07-21 10:10:46 -0700
commitd34206160f88d356a3b68a1abc08b702a3bb9f4b (patch)
treef7d50ba5465e1700c4cfd74766e8045c286aa57f /meta-python
parent6c21bee92a251a8105f74e58e1503bce979d76ad (diff)
downloadmeta-openembedded-d34206160f88d356a3b68a1abc08b702a3bb9f4b.tar.gz
python3-nanobind: Upgrade 2.7.0 -> 2.8.0
Upgrade to release 2.8.0: - Added :cpp:class:`nb::fallback <fallback>` wrapper type, which is a :cpp:class:`nb::handle <handle>` that always requires implicit conversion during casting. This is convenient when adding catch-all overloads that must handle arbitrary Python objects, without interfering with implicit conversion of arguments in other overloads. - The nanobind::literals namespace now includes _s to create a Python string from source code literals. - Added :cpp:func:`nb::dict::empty() <dict::empty>`, :cpp:func:`nb::list::empty() <list::empty>`, :cpp:func:`nb::set::empty() <set::empty>`, and :cpp:func:`nb::tuple::empty() <tuple::empty>` convenience methods. - Added a :cpp:func:`nb::dict::get() <dict::get>` function to perform dictionary lookups with a fallback value in case of failures. - Nanobind now uses multi-phase (as opposed to single-phase) initialization API when registering modules. However, multi-interpreter extensions remain unsupported. - Added :cpp:class:`nb::frozenset` that wraps the Python frozenset type. - Miscellaneous fixes and improvements. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-nanobind_2.8.0.bb (renamed from meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.8.0.bb
index 3cb75cba09..370130af69 100644
--- a/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-nanobind_2.8.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/wjakob/nanobind"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c"
6 6
7SRC_URI[sha256sum] = "f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34" 7SRC_URI[sha256sum] = "94e7bf6aa1d7dff9566eddc15252aba94fdadbf67a99a169bfab34b708427cd8"
8 8
9inherit pypi python_setuptools_build_meta cmake lib_package 9inherit pypi python_setuptools_build_meta cmake lib_package
10 10