From 21b9ea92def201ee89c5a6e6b8aba76fac8b0845 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 12 Aug 2024 20:08:47 -0400 Subject: [PATCH 1/3] docs: prepare for 2.13.2 Signed-off-by: Henry Schreiner --- docs/changelog.rst | 61 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index ab6c713c16..81feda4596 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -15,6 +15,67 @@ IN DEVELOPMENT Changes will be summarized here periodically. +New Features: + +* Support for Python 3.7 was removed. (Official end-of-life: 2023-06-27). + `#5191 `_ + +Support for CMake older than 3.15 and some older compilers will also be removed. + +Version 2.13.2 (August 13, 2024) +-------------------------------- + +New Features: + +* 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 `_ + + +.. feat(types) + +* Add a special type annotation for C++ empty tuple. + `#5214 `_ + + +Bug fixes: + +* Make ``gil_safe_call_once_and_store`` thread-safe in free-threaded CPython. + `#5246 `_ + +* Use ``PyMutex`` instead of ``std::mutex`` in the free-threaded build for internal locking. + `#5219 `_ + +* A missing ``#include `` 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 `_ + + +.. fix(cmake) + +* When compiling for WebAssembly, add the required exception flags (CMake 3.13+). + `#5298 `_ + +* Remove extra = when assigning flto value in the case for Clang. + `#5207 `_ + + +Tests: + +* Adding WASM testing. + `#4745 `_ + + +Other: + +* clang-tidy (in GitHub Actions) was updated from clang 15 to clang 18. + `#5272 `_ + + Version 2.13.1 (June 26, 2024) ------------------------------ From 43679b905ce747200d8097c6a7ee1451f058678c Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 12 Aug 2024 20:56:29 -0400 Subject: [PATCH 2/3] Update changelog.rst --- docs/changelog.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 81feda4596..ffe080ae51 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -28,8 +28,8 @@ Version 2.13.2 (August 13, 2024) New Features: * 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). + ``std::function``'s with return types that require custom to-Python conversion behavior (to primary use case is to catch and + convert exceptions). `#4597 `_ @@ -48,7 +48,7 @@ Bug fixes: `#5219 `_ * A missing ``#include `` in pybind11/typing.h was added to fix build errors (in case user code does not already depend -on that include). + on that include). `#5208 `_ * Fix regression introduced in #5201 for GCC<10.3 in C++20 mode. @@ -60,13 +60,13 @@ on that include). * When compiling for WebAssembly, add the required exception flags (CMake 3.13+). `#5298 `_ -* Remove extra = when assigning flto value in the case for Clang. +* Remove extra = when assigning flto value in the case for Clang in CMake. `#5207 `_ Tests: -* Adding WASM testing. +* Adding WASM testing to our CI (Pyodide / Emscripten via scikit-build-core). `#4745 `_ From 1851adb8ecfed729b1ea05b8b4348aebf3f72ffa Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 13 Aug 2024 08:32:37 -0400 Subject: [PATCH 3/3] Update changelog.rst --- docs/changelog.rst | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index ffe080ae51..22b12e409f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -33,20 +33,23 @@ New Features: `#4597 `_ -.. feat(types) +Changes: + + +* 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 `_ Bug fixes: * Make ``gil_safe_call_once_and_store`` thread-safe in free-threaded CPython. `#5246 `_ -* Use ``PyMutex`` instead of ``std::mutex`` in the free-threaded build for internal locking. - `#5219 `_ - * A missing ``#include `` in pybind11/typing.h was added to fix build errors (in case user code does not already depend on that include). `#5208 `_ @@ -57,9 +60,6 @@ Bug fixes: .. fix(cmake) -* When compiling for WebAssembly, add the required exception flags (CMake 3.13+). - `#5298 `_ - * Remove extra = when assigning flto value in the case for Clang in CMake. `#5207 `_ @@ -69,9 +69,6 @@ Tests: * Adding WASM testing to our CI (Pyodide / Emscripten via scikit-build-core). `#4745 `_ - -Other: - * clang-tidy (in GitHub Actions) was updated from clang 15 to clang 18. `#5272 `_