14
0

Accepting request 935976 from devel:languages:python

- 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/request/show/935976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybind11?expand=0&rev=15
This commit is contained in:
2021-12-09 18:45:14 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ca7770fc5453b10b00a4a2f99754d7a29af8952330be5f5602e7c2635fa3e79
size 688544

3
pybind11-2.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1bcc07caa568eb312411dde5308b1e250bd0e1bc020fae855bf9f43209940cc
size 693075

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Dec 6 10:07:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <schubi@suse.de> Sat Oct 16 20:47:43 UTC 2021 - Stefan Schubert <schubi@suse.de>

View File

@@ -24,7 +24,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pybind11 Name: python-pybind11
Version: 2.8.0 Version: 2.8.1
Release: 0 Release: 0
Summary: Module for operability between C++11 and Python Summary: Module for operability between C++11 and Python
License: BSD-3-Clause License: BSD-3-Clause