Path to this page:
Subject: CVS commit: pkgsrc/devel/py-pybind11
From: Adam Ciarcinski
Date: 2022-03-31 09:28:01
Message id: 20220331072801.A7DA6FB24@cvs.NetBSD.org
Log Message:
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).
Files: