Subject: CVS commit: pkgsrc/devel/py-pybind11
From: Adam Ciarcinski
Date: 2022-02-05 15:53:33
Message id: 20220205145333.7BFC0FB24@cvs.NetBSD.org

Log Message:
py-pybind11: updated to 2.9.1

Version 2.9.1

Changes:

If possible, attach Python exception with py::raise_from to TypeError when \ 
casting from C++ to Python. This will give additional info if Python exceptions \ 
occur in the caster. Adds a test case of trying to convert a set from C++ to \ 
Python when the hash function is not defined in Python.
Add a mapping of C++11 nested exceptions to their Python exception equivalent \ 
using py::raise_from. This attaches the nested exceptions in Python using the \ 
__cause__ field.
Propagate Python exception traceback using raise_from if a pybind11 function \ 
runs out of overloads.
py::multiple_inheritance is now only needed when C++ bases are hidden from pybind11.

Bug fixes:

Remove a boolean cast in numpy.h that causes MSVC C4800 warnings when compiling \ 
against Python 3.10 or newer.
Render py::bool_ and py::float_ as bool and float respectively.

Build system improvements:

Fix CMake extension suffix computation on Python 3.10+.
Allow CMAKE_ARGS to override CMake args in pybind11's own setup.py.
Remove a few deprecated c-headers.
More uniform handling of test targets.
Add clang-tidy readability check to catch potentially swapped function args.

Files:
RevisionActionfile
1.10modifypkgsrc/devel/py-pybind11/Makefile
1.10modifypkgsrc/devel/py-pybind11/distinfo