Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nanobind for openSUSE:Factory 
checked in at 2026-07-06 12:29:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nanobind (Old)
 and      /work/SRC/openSUSE:Factory/.python-nanobind.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nanobind"

Mon Jul  6 12:29:17 2026 rev:10 rq:1363726 version:2.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nanobind/python-nanobind.changes  
2026-04-02 17:42:24.802447180 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nanobind.new.1982/python-nanobind.changes    
    2026-07-06 12:30:57.316521711 +0200
@@ -1,0 +2,10 @@
+Thu Jul  3 18:09:35 UTC 2026 - Friedrich Haubensak <[email protected]>
+
+- update to release 2.13.0
+  * for details about changes see
+    github.com/wjakob/nanobind/blob/master/docs/changelog.rst
+- adapt nanobind-installationpath.patch to fit 2.13.0
+- add nanobind-typing-cache.patch from upstream to fix abort
+  after running tests
+
+-------------------------------------------------------------------

Old:
----
  nanobind-2.12.0.tar.gz

New:
----
  nanobind-2.13.0.tar.gz
  nanobind-typing-cache.patch

----------(New B)----------
  New:- adapt nanobind-installationpath.patch to fit 2.13.0
- add nanobind-typing-cache.patch from upstream to fix abort
  after running tests
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nanobind.spec ++++++
--- /var/tmp/diff_new_pack.xb5six/_old  2026-07-06 12:30:57.960544063 +0200
+++ /var/tmp/diff_new_pack.xb5six/_new  2026-07-06 12:30:57.964544202 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-nanobind
-Version:        2.12.0
+Version:        2.13.0
 Release:        0
 Summary:        Tiny And Efficient C++/Python Bindings
 License:        BSD-3-Clause
@@ -26,6 +26,8 @@
 Source:         
https://github.com/wjakob/nanobind/archive/refs/tags/v%{version}.tar.gz#/nanobind-%{version}.tar.gz
 # PATCH-FEATURE-OPENSUSE nanobind-installationpath.patch
 Patch1:         nanobind-installationpath.patch
+# PATCH-FIX-UPSTREAM nanobind-typing-cache.patch
+Patch2:         nanobind-typing-cache.patch
 BuildRequires:  cmake
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module testsuite}

++++++ nanobind-2.12.0.tar.gz -> nanobind-2.13.0.tar.gz ++++++
++++ 12740 lines of diff (skipped)

++++++ nanobind-installationpath.patch ++++++
--- /var/tmp/diff_new_pack.xb5six/_old  2026-07-06 12:30:58.336557113 +0200
+++ /var/tmp/diff_new_pack.xb5six/_new  2026-07-06 12:30:58.348557529 +0200
@@ -31,6 +31,6 @@
 -    return os.path.join(os.path.abspath(os.path.dirname(__file__)), "cmake")
 +    return "/usr/share/nanobind/cmake"
  
- __version__ = "2.12.0"
+ __version__ = "2.13.0"
  
 

++++++ nanobind-typing-cache.patch ++++++

see github.com/wjakob/nanobind/issues/1387


>From 2965ecd22f7ea845a2de56b786ae331ccc85ef3d Mon Sep 17 00:00:00 2001
From: Wenzel Jakob <[email protected]>
Date: Thu, 18 Jun 2026 20:57:48 +0200
Subject: [PATCH] tests: avoid typing cache holding Foo

---
 tests/test_typing.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_typing.cpp b/tests/test_typing.cpp
index f4cb20230..8039b3067 100644
--- a/tests/test_typing.cpp
+++ b/tests/test_typing.cpp
@@ -127,7 +127,7 @@ NB_MODULE(test_typing_ext, m) {
 #if PY_VERSION_HEX >= 0x030B0000
     m.attr("T5") = nb::type_var_tuple("T5"
 #if PY_VERSION_HEX >= 0x030D0000
-      , "default"_a = 
nb::typing().attr("Unpack")[nb::builtins()["tuple"][nb::make_tuple(nb::type<Foo>(),
 nb::ellipsis())]]
+      , "default"_a = 
nb::typing().attr("Unpack")[nb::builtins()["tuple"][nb::make_tuple("Foo"_s, 
nb::ellipsis())]]
 #endif
     );
 #endif

Reply via email to