17
0

3 Commits

Author SHA256 Message Date
ad918c88d8 Accepting request 1201569 from devel:languages:python
- update to 2.13.6:
  * A new self._pybind11_conduit_v1_() method is automatically
    added to all py::class_-wrapped types, to enable type-safe
    interoperability between different independent Python/C++
    bindings systems, including pybind11 versions with different
    PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2,
    2.12.1, and 2.13.6+. #5296
  * Using __cpp_nontype_template_args instead of
    __cpp_nontype_template_parameter_class. #5330
  * Properly translate C++ exception to Python exception when
    creating Python buffer from wrapped object. #5324
  * Adds an answer (FAQ) for "What is a highly conclusive and
    simple way to find memory leaks?". #5340
- update to 2.13.5:
  * Fix includes when using Windows long paths (\?\ prefix).
  * Support -Wpedantic in C++20 mode. #5322
  * Fix and test <ranges> support for py::tuple and py::list.
  * Fix paths with spaces, including on Windows. (Replaces
    regression from #5302) #4874
  * Remove repetitive words. #5308
  * Quote paths from pybind11-config #5302
  * Fix typo in Emscripten support when in config mode (CMake)
    #5301
  * A pybind11::detail::type_caster_std_function_specializations
    feature was added, to support specializations for
    std::function's with return types that require custom to-
    Python conversion behavior (to primary use case is to catch
    and convert exceptions). #4597
  * Use PyMutex instead of std::mutex for internal locking in the
    free-threaded build. #5219
  * Add a special type annotation for C++ empty tuple. #5214
  * When compiling for WebAssembly, add the required exception
    flags (CMake 3.13+). #5298
  * Make gil_safe_call_once_and_store thread-safe in free-
    threaded CPython. #5246
  * A missing #include <algorithm> in pybind11/typing.h was added
    to fix build errors (in case user code does not already
    depend on that include). #5208
  * Fix regression introduced in #5201 for GCC<10.3 in C++20
    mode. #5205
  * Remove extra = when assigning flto value in the case for
    Clang in CMake. #5207
  * Add support for Typing.Callable[..., T]. #5202
  * Avoid aligned allocation in free-threaded build in order to
    support macOS versions before 10.14. #5200
  * Support free-threaded CPython (3.13t). Add
    py::mod_gil_not_used() tag to indicate if a module supports
    running with the GIL disabled. #5148
  * Support for Python 3.6 was removed. (Official end-of-life:
    2021-12-23). #5177
  * py::list gained a .clear() method. #5153
  * Support for Union, Optional, type[T], typing.TypeGuard,
    typing.TypeIs, typing.Never, typing.NoReturn and
    typing.Literal was added to pybind11/typing.h. #5166 #5165
    #5194 #5193 #5192
  * In CMake, if PYBIND11_USE_CROSSCOMPILING is enabled, then
    CMAKE_CROSSCOMPILING will be respected and will keep pybind11
    from accessing the interpreter during configuration. Several
    CMake variables will be required in this case, but can be
    deduced from the environment variable SETUPTOOLS_EXT_SUFFIX.
    The default (currently OFF) may be changed in the future.
    #5083
  * A refcount bug (leading to heap-use-after-free) involving
    trampoline functions with PyObject * return type was fixed.
    #5156
  * Return py::ssize_t from .ref_count() instead of int. #5139
  * A subtle bug involving C++ types with unusual operator&
    overrides was fixed. #5189
  * Support Python 3.13 with minor fix, add to CI. #5127
  * Fix mistake affecting old cmake and old boost. #5149
  * Build docs updated to feature scikit-build-core and meson-
    python, and updated setuptools instructions. #5168

OBS-URL: https://build.opensuse.org/request/show/1201569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybind11?expand=0&rev=24
2024-09-17 16:17:31 +00:00
f4b4df772e - update to 2.13.6:
* A new self._pybind11_conduit_v1_() method is automatically
    added to all py::class_-wrapped types, to enable type-safe
    interoperability between different independent Python/C++
    bindings systems, including pybind11 versions with different
    PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2,
    2.12.1, and 2.13.6+. #5296
  * Using __cpp_nontype_template_args instead of
    __cpp_nontype_template_parameter_class. #5330
  * Properly translate C++ exception to Python exception when
    creating Python buffer from wrapped object. #5324
  * Adds an answer (FAQ) for "What is a highly conclusive and
    simple way to find memory leaks?". #5340

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=51
2024-09-16 08:13:27 +00:00
6d95345e3b - update to 2.13.5:
* Fix includes when using Windows long paths (\?\ prefix).
  * Support -Wpedantic in C++20 mode. #5322
  * Fix and test <ranges> support for py::tuple and py::list.
  * Fix paths with spaces, including on Windows. (Replaces
    regression from #5302) #4874
  * Remove repetitive words. #5308
  * Quote paths from pybind11-config #5302
  * Fix typo in Emscripten support when in config mode (CMake)
    #5301
  * A pybind11::detail::type_caster_std_function_specializations
    feature was added, to support specializations for
    std::function's with return types that require custom to-
    Python conversion behavior (to primary use case is to catch
    and convert exceptions). #4597
  * Use PyMutex instead of std::mutex for internal locking in the
    free-threaded build. #5219
  * Add a special type annotation for C++ empty tuple. #5214
  * When compiling for WebAssembly, add the required exception
    flags (CMake 3.13+). #5298
  * Make gil_safe_call_once_and_store thread-safe in free-
    threaded CPython. #5246
  * A missing #include <algorithm> in pybind11/typing.h was added
    to fix build errors (in case user code does not already
    depend on that include). #5208
  * Fix regression introduced in #5201 for GCC<10.3 in C++20
    mode. #5205
  * Remove extra = when assigning flto value in the case for
    Clang in CMake. #5207
  * Add support for Typing.Callable[..., T]. #5202

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=50
2024-08-31 12:21:59 +00:00
4 changed files with 84 additions and 5 deletions

View File

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

BIN
pybind11-2.13.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,83 @@
-------------------------------------------------------------------
Mon Sep 16 08:13:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.13.6:
* A new self._pybind11_conduit_v1_() method is automatically
added to all py::class_-wrapped types, to enable type-safe
interoperability between different independent Python/C++
bindings systems, including pybind11 versions with different
PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2,
2.12.1, and 2.13.6+. #5296
* Using __cpp_nontype_template_args instead of
__cpp_nontype_template_parameter_class. #5330
* Properly translate C++ exception to Python exception when
creating Python buffer from wrapped object. #5324
* Adds an answer (FAQ) for "What is a highly conclusive and
simple way to find memory leaks?". #5340
-------------------------------------------------------------------
Sat Aug 31 12:20:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.13.5:
* Fix includes when using Windows long paths (\?\ prefix).
* Support -Wpedantic in C++20 mode. #5322
* Fix and test <ranges> support for py::tuple and py::list.
* Fix paths with spaces, including on Windows. (Replaces
regression from #5302) #4874
* Remove repetitive words. #5308
* Quote paths from pybind11-config #5302
* Fix typo in Emscripten support when in config mode (CMake)
#5301
* A pybind11::detail::type_caster_std_function_specializations
feature was added, to support specializations for
std::function's with return types that require custom to-
Python conversion behavior (to primary use case is to catch
and convert exceptions). #4597
* Use PyMutex instead of std::mutex for internal locking in the
free-threaded build. #5219
* Add a special type annotation for C++ empty tuple. #5214
* When compiling for WebAssembly, add the required exception
flags (CMake 3.13+). #5298
* Make gil_safe_call_once_and_store thread-safe in free-
threaded CPython. #5246
* A missing #include <algorithm> in pybind11/typing.h was added
to fix build errors (in case user code does not already
depend on that include). #5208
* Fix regression introduced in #5201 for GCC<10.3 in C++20
mode. #5205
* Remove extra = when assigning flto value in the case for
Clang in CMake. #5207
* Add support for Typing.Callable[..., T]. #5202
* Avoid aligned allocation in free-threaded build in order to
support macOS versions before 10.14. #5200
* Support free-threaded CPython (3.13t). Add
py::mod_gil_not_used() tag to indicate if a module supports
running with the GIL disabled. #5148
* Support for Python 3.6 was removed. (Official end-of-life:
2021-12-23). #5177
* py::list gained a .clear() method. #5153
* Support for Union, Optional, type[T], typing.TypeGuard,
typing.TypeIs, typing.Never, typing.NoReturn and
typing.Literal was added to pybind11/typing.h. #5166 #5165
#5194 #5193 #5192
* In CMake, if PYBIND11_USE_CROSSCOMPILING is enabled, then
CMAKE_CROSSCOMPILING will be respected and will keep pybind11
from accessing the interpreter during configuration. Several
CMake variables will be required in this case, but can be
deduced from the environment variable SETUPTOOLS_EXT_SUFFIX.
The default (currently OFF) may be changed in the future.
#5083
* A refcount bug (leading to heap-use-after-free) involving
trampoline functions with PyObject * return type was fixed.
#5156
* Return py::ssize_t from .ref_count() instead of int. #5139
* A subtle bug involving C++ types with unusual operator&
overrides was fixed. #5189
* Support Python 3.13 with minor fix, add to CI. #5127
* Fix mistake affecting old cmake and old boost. #5149
* Build docs updated to feature scikit-build-core and meson-
python, and updated setuptools instructions. #5168
-------------------------------------------------------------------
Sat Apr 6 12:08:48 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -31,11 +31,10 @@
%bcond_with libalternatives
%endif
%define skip_python2 1
%define plainpython python
%{?sle15_python_module_pythons}
Name: python-pybind11%{psuffix}
Version: 2.12.0
Version: 2.13.6
Release: 0
Summary: Module for operability between C++11 and Python
License: BSD-3-Clause