forked from pool/python-pybind11
- update to 2.10.3:
* Temporarily made our GIL status assertions (added in 2.10.2) disabled by default (re-enable manually by defining ``PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF``, will be enabled in 2.11). * Improved error messages when ``inc_ref``/``dec_ref`` are called with an invalid GIL state. * Some minor touchups found by static analyzers. * ``scoped_interpreter`` constructor taking ``PyConfig``. * ``pybind11/eigen/tensor.h`` adds converters to and from ``Eigen::Tensor`` and ``Eigen::TensorMap``. * ``PyGILState_Check()``'s were integrated to ``pybind11::handle`` ``inc_ref()`` & ``dec_ref()``. The added GIL checks are guarded by ``PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF``, which is the default only if ``NDEBUG`` is not defined. (Made non-default in 2.10.3, will be active in 2.11) * Add option for enable/disable enum members in docstring. * Fixed typing of ``KeysView``, ``ValuesView`` and ``ItemsView`` in ``bind_map``. * Fix segfault bug when passing foreign native functions to functional.h. * Build system improvements: * Support setting PYTHON_LIBRARIES manually for Windows ARM cross- compilation (classic mode). * Extend IPO/LTO detection for ICX (a.k.a IntelLLVM) compiler. * Allow calling ``find_package(pybind11 CONFIG)`` multiple times from separate directories in the same CMake project and properly link Python (new mode). * ``multiprocessing_set_spawn`` in pytest fixture for added safety. * Fixed a bug in two pybind11/tools cmake scripts causing "Unknown arguments specified" errors. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=39
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pybind11
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -33,7 +33,7 @@
|
||||
%define skip_python2 1
|
||||
%define plainpython python
|
||||
Name: python-pybind11
|
||||
Version: 2.10.0
|
||||
Version: 2.10.3
|
||||
Release: 0
|
||||
Summary: Module for operability between C++11 and Python
|
||||
License: BSD-3-Clause
|
||||
|
Reference in New Issue
Block a user