pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pybind11



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Feb  5 14:53:33 UTC 2022

Modified Files:
        pkgsrc/devel/py-pybind11: Makefile distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-pybind11/Makefile \
    pkgsrc/devel/py-pybind11/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pybind11/Makefile
diff -u pkgsrc/devel/py-pybind11/Makefile:1.9 pkgsrc/devel/py-pybind11/Makefile:1.10
--- pkgsrc/devel/py-pybind11/Makefile:1.9       Wed Jan 12 06:46:15 2022
+++ pkgsrc/devel/py-pybind11/Makefile   Sat Feb  5 14:53:33 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/01/12 06:46:15 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/02/05 14:53:33 adam Exp $
 
-DISTNAME=      pybind11-2.9.0
+DISTNAME=      pybind11-2.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pybind11/}
Index: pkgsrc/devel/py-pybind11/distinfo
diff -u pkgsrc/devel/py-pybind11/distinfo:1.9 pkgsrc/devel/py-pybind11/distinfo:1.10
--- pkgsrc/devel/py-pybind11/distinfo:1.9       Wed Jan 12 06:46:15 2022
+++ pkgsrc/devel/py-pybind11/distinfo   Sat Feb  5 14:53:33 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/01/12 06:46:15 adam Exp $
+$NetBSD: distinfo,v 1.10 2022/02/05 14:53:33 adam Exp $
 
-BLAKE2s (pybind11-2.9.0.tar.gz) = 939b9db50fc57a6b5431210596e281e88c125d74808ae390c491714ede373da4
-SHA512 (pybind11-2.9.0.tar.gz) = 7e3dbd879ecb292555650605aad9cbc4a7e1871b1a70c93681c3ce2d16f43830596f262a8e08af654e2e63cbe73c4a24416698aec79fe8662a4d2a5f6f7e19c2
-Size (pybind11-2.9.0.tar.gz) = 190015 bytes
+BLAKE2s (pybind11-2.9.1.tar.gz) = 76a0adc2741fae5b80de2432bc95a62fd3597a17411b19967bb55394d75a1c40
+SHA512 (pybind11-2.9.1.tar.gz) = 3aa39540ff29d366321f6df2291aa005aea8d4900ea51998889585c5f5a28147b52bdf9fd6b62be8b452e4a21157bc8cef708088471e5766bf807507bb33a474
+Size (pybind11-2.9.1.tar.gz) = 190977 bytes



Home | Main Index | Thread Index | Old Index