pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pybind11 py-pybind11: updated to 2.9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4908ed4f8fe
branches:  trunk
changeset: 375994:e4908ed4f8fe
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 31 07:28:01 2022 +0000

description:
py-pybind11: updated to 2.9.2

Version 2.9.2 (Mar 29, 2022)

Changes:

Enum now has an __index__ method on Python <3.8 too.
Local internals are now cleared after finalizing the interpreter.
Bug fixes:


Better support for Python 3.11 alphas.
PYBIND11_TYPE_CASTER now uses fully qualified symbols, so it can be used outside of pybind11::detail.
Some fixes for PyPy 3.9.
Fixed a potential memleak in PyPy in get_type_override.
Fix usage of VISIBILITY_INLINES_HIDDEN.

Build system improvements:

Uses sysconfig module to determine installation locations on Python >= 3.10, instead of distutils which has been deprecated.
Support Catch 2.13.5+ (supporting GLIBC 2.34+).
Fix test failures with numpy 1.22 by ignoring whitespace when comparing str() of dtypes.

Backend and tidying up:

clang-tidy: added readability-qualified-auto, readability-braces-around-statements, cppcoreguidelines-prefer-member-initializer, clang-analyzer-optin.performance.Padding, 
cppcoreguidelines-pro-type-static-cast-downcast, and readability-inconsistent-declaration-parameter-name.
clang-format was added to the pre-commit actions, and the entire code base automatically reformatted (after several iterations preparing for this leap).

diffstat:

 devel/py-pybind11/Makefile |  4 ++--
 devel/py-pybind11/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 0ad0ac0bdb32 -r e4908ed4f8fe devel/py-pybind11/Makefile
--- a/devel/py-pybind11/Makefile        Thu Mar 31 07:25:58 2022 +0000
+++ b/devel/py-pybind11/Makefile        Thu Mar 31 07:28:01 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2022/02/05 14:53:33 adam Exp $
+# $NetBSD: Makefile,v 1.11 2022/03/31 07:28:01 adam Exp $
 
-DISTNAME=      pybind11-2.9.1
+DISTNAME=      pybind11-2.9.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pybind11/}
diff -r 0ad0ac0bdb32 -r e4908ed4f8fe devel/py-pybind11/distinfo
--- a/devel/py-pybind11/distinfo        Thu Mar 31 07:25:58 2022 +0000
+++ b/devel/py-pybind11/distinfo        Thu Mar 31 07:28:01 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/02/05 14:53:33 adam Exp $
+$NetBSD: distinfo,v 1.11 2022/03/31 07:28:01 adam Exp $
 
-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
+BLAKE2s (pybind11-2.9.2.tar.gz) = 0cd37285d8c4e6c29a5c04cb4f425e551d99bade08b18be2b8dbf6a09a24964d
+SHA512 (pybind11-2.9.2.tar.gz) = 5d6f6cefea5279a2e6755c9a68e072d336577e7eb8eb364c7d3f1e31432a2618475b7fed68de0605c24a2b2c18197f24e77ad7537c2fabe3d39574793d22a7f8
+Size (pybind11-2.9.2.tar.gz) = 193212 bytes



Home | Main Index | Thread Index | Old Index