14
0

- 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
This commit is contained in:
2024-08-31 12:21:59 +00:00
committed by Git OBS Bridge
parent 335968c1a6
commit 6d95345e3b
4 changed files with 67 additions and 4 deletions

View File

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

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

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

View File

@@ -1,3 +1,66 @@
-------------------------------------------------------------------
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> Sat Apr 6 12:08:48 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -35,7 +35,7 @@
%define plainpython python %define plainpython python
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pybind11%{psuffix} Name: python-pybind11%{psuffix}
Version: 2.12.0 Version: 2.13.5
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