From ddab870f378f56565c47c00444a4794e75674089a4b3d9ffb1428defd883f47a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Dec 2021 10:47:37 +0000 Subject: [PATCH] - udpate to 2.8.1: * The simple namespace creation shortcut added in 2.8.0 was deprecated due to usage of CPython internal API, and will be removed soon. * Add C++ Exception type to throw and catch ``AttributeError``. * Fixed the potential for dangling references when using properties with ``std::optional`` types. * Modernize usage of ``PyCodeObject`` on Python 3.9+ (moving toward support for Python 3.11a1) * A long-standing bug in ``eigen.h`` was fixed (originally PR #3343). The bug was unmasked by newly added ``static_assert``'s in the Eigen 3.4.0 release. * Support multiple raw inclusion of CMake helper files * Fix harmless warning on upcoming CMake 3.22. * Fix 2.8.0 regression with MSVC 2017 + C++17 mode + Python 3. * Fix 2.8.0 regression that caused undefined behavior (typically segfaults) in ``make_key_iterator``/``make_value_iterator`` if dereferencing the iterator returned a temporary value instead of a reference. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=30 --- pybind11-2.8.0.tar.gz | 3 --- pybind11-2.8.1.tar.gz | 3 +++ python-pybind11.changes | 20 ++++++++++++++++++++ python-pybind11.spec | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 pybind11-2.8.0.tar.gz create mode 100644 pybind11-2.8.1.tar.gz diff --git a/pybind11-2.8.0.tar.gz b/pybind11-2.8.0.tar.gz deleted file mode 100644 index 0966b71..0000000 --- a/pybind11-2.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ca7770fc5453b10b00a4a2f99754d7a29af8952330be5f5602e7c2635fa3e79 -size 688544 diff --git a/pybind11-2.8.1.tar.gz b/pybind11-2.8.1.tar.gz new file mode 100644 index 0000000..4ec23d6 --- /dev/null +++ b/pybind11-2.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1bcc07caa568eb312411dde5308b1e250bd0e1bc020fae855bf9f43209940cc +size 693075 diff --git a/python-pybind11.changes b/python-pybind11.changes index 38bd741..f85ce83 100644 --- a/python-pybind11.changes +++ b/python-pybind11.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Dec 6 10:07:33 UTC 2021 - Dirk Müller + +- udpate to 2.8.1: + * The simple namespace creation shortcut added in 2.8.0 was deprecated due to + usage of CPython internal API, and will be removed soon. + * Add C++ Exception type to throw and catch ``AttributeError``. + * Fixed the potential for dangling references when using properties with + ``std::optional`` types. + * Modernize usage of ``PyCodeObject`` on Python 3.9+ (moving toward support for + Python 3.11a1) + * A long-standing bug in ``eigen.h`` was fixed (originally PR #3343). The bug + was unmasked by newly added ``static_assert``'s in the Eigen 3.4.0 release. + * Support multiple raw inclusion of CMake helper files + * Fix harmless warning on upcoming CMake 3.22. + * Fix 2.8.0 regression with MSVC 2017 + C++17 mode + Python 3. + * Fix 2.8.0 regression that caused undefined behavior (typically + segfaults) in ``make_key_iterator``/``make_value_iterator`` if dereferencing + the iterator returned a temporary value instead of a reference. + ------------------------------------------------------------------- Sat Oct 16 20:47:43 UTC 2021 - Stefan Schubert diff --git a/python-pybind11.spec b/python-pybind11.spec index cad24a9..97b2f99 100644 --- a/python-pybind11.spec +++ b/python-pybind11.spec @@ -24,7 +24,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pybind11 -Version: 2.8.0 +Version: 2.8.1 Release: 0 Summary: Module for operability between C++11 and Python License: BSD-3-Clause