Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pybind11 for openSUSE:Factory
checked in at 2026-03-10 17:47:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pybind11 (Old)
and /work/SRC/openSUSE:Factory/.python-pybind11.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pybind11"
Tue Mar 10 17:47:36 2026 rev:26 rq:1337815 version:3.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pybind11/python-pybind11.changes
2025-09-19 15:33:36.383853695 +0200
+++
/work/SRC/openSUSE:Factory/.python-pybind11.new.8177/python-pybind11.changes
2026-03-10 17:47:59.074349851 +0100
@@ -1,0 +2,55 @@
+Thu Mar 5 08:12:23 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.0.2:
+ * Added helper functions to `py::array` that return shape and
+ strides as `std::span` when available.
+ * Added fallback locking for Python 3.13t where
+ `PyCriticalSection_BeginMutex` is unavailable.
+ * Fixed race condition in `py::make_key_iterator` with free-
+ threaded Python.
+ * Internals shutdown handling was refined in two iterations
+ before release: an initial finalization-time cleanup was
+ followed by a safety adjustment to avoid late-shutdown
+ `py::cast` segfaults.
+ * Fixed ambiguous `str(handle)` construction for
+ `object`-derived types like `kwargs` or `dict` by
+ templatizing the constructor with SFINAE.
+ * Fixed concurrency consistency for `internals_pp_manager`
+ under multiple-interpreters.
+ * Added per-interpreter storage for
+ `gil_safe_call_once_and_store` to make it safe under multi-
+ interpreters.
+ * A workaround for a GCC `-Warray-bounds` false positive in
+ `argument_vector` was added.
+ * Corrected a mistake where support for `__index__` was added,
+ but the type hints did not reflect acceptance of
+ `SupportsIndex` objects. Also fixed a long-standing bug: the
+ complex-caster did not accept `__index__` in `convert` mode.
+ * Fixed `*args/**kwargs` return types. Added type hinting to
+ `py::make_tuple`.
+ * Fixed compiler error in `type_caster_generic` when casting a
+ `T` implicitly convertible from `T*`.
+ * Updated `py::native_enum` bindings to unregister enum types
+ on destruction, preventing a use-after-free when returning a
+ destroyed enum instance.
+ * Fixed undefined behavior that occurred when importing
+ pybind11 modules from non-main threads created by C API
+ modules or embedded python interpreters.
+ * Fixed dangling pointer in
+ `internals::registered_types_cpp_fast`.
+ * Added support for `std::shared_ptr<T>` when loading module-
+ local or conduit types from other modules.
+ * Fixed thread-safety issues if types were concurrently
+ registered while `get_local_type_info()` was called in free
+ threaded Python.
+ * Fixed py::float_ casting and py::int_ and py::float_ type
+ hints.
+ * Fixed two `smart_holder` bugs in `shared_ptr` and
+ `unique_ptr` adoption with multiple/virtual inheritance:
+ * `shared_ptr` to-Python caster was updated to register the
+ correct subobject pointer (fixes #5786).
+ * `unique_ptr` adoption was updated to own the proper object
+ start while aliasing subobject pointers for registration,
+ which fixed MSVC crashes during destruction.
+
+-------------------------------------------------------------------
Old:
----
pybind11-3.0.1.tar.gz
New:
----
pybind11-3.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pybind11.spec ++++++
--- /var/tmp/diff_new_pack.6XOxl3/_old 2026-03-10 17:47:59.910384362 +0100
+++ /var/tmp/diff_new_pack.6XOxl3/_new 2026-03-10 17:47:59.910384362 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pybind11
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,7 @@
%define plainpython python
%{?sle15_python_module_pythons}
Name: python-pybind11%{psuffix}
-Version: 3.0.1
+Version: 3.0.2
Release: 0
Summary: Module for operability between C++11 and Python
License: BSD-3-Clause
@@ -139,7 +139,7 @@
%check
export PYTHONPATH=${PWD}/build/tests/
# tests fail as python3-widget is not in distribuion
-ignore_tests="--ignore tests/test_embed/test_interpreter.py --ignore
tests/test_embed/test_trampoline.py"
+ignore_tests="--ignore tests/test_embed/test_interpreter.py --ignore
tests/test_embed/test_trampoline.py --ignore
tests/test_with_catch/test_interpreter.py --ignore
tests/test_with_catch/test_trampoline.py"
# no isolated build env with builddep wheels available
ignore_tests="$ignore_tests --ignore tests/extra_python_package/test_files.py"
%pytest $ignore_tests
++++++ pybind11-3.0.1.tar.gz -> pybind11-3.0.2.tar.gz ++++++
++++ 12577 lines of diff (skipped)