Subject: CVS commit: pkgsrc/devel/py-pybind11
From: Adam Ciarcinski
Date: 2022-12-28 11:10:14
Message id:

Log Message:
py-pybind11: updated to 2.10.2

Version 2.10.2


scoped_interpreter constructor taking PyConfig.
pybind11/eigen/tensor.h adds converters to and from Eigen::Tensor and \ 
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.
Add option for enable/disable enum members in docstring.
Fixed typing of KeysView, ValuesView and ItemsView in bind_map.

Bug fixes:

Bug fix affecting only Python 3.6 under very specific, uncommon conditions: move \ 
PyEval_InitThreads() call to the correct location.
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.