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: Wed Apr 1 11:50:15 UTC 2026
Modified Files:
pkgsrc/devel/py-pybind11: Makefile distinfo
Removed Files:
pkgsrc/devel/py-pybind11/patches:
patch-include_pybind11_detail_holder__caster__foreign__helpers.h
Log Message:
py-pybind11: updated to 3.0.3
3.0.3
Bug fixes:
Fixed TSS key exhaustion in implicitly_convertible() when many implicit conversions are registered across large module sets.
Fixed heap-buffer-overflow in pythonbuf with undersized buffers by enforcing a minimum buffer size.
Fixed virtual-inheritance pointer offset crashes when dispatching inherited methods through virtual bases.
Fixed free(): invalid pointer crashes during interpreter shutdown with py::enum_<> by duplicating late-added def_property_static argument strings.
Fixed function_record heap-type deallocation to call PyObject_Free() and decref the type.
Hardened PYBIND11_MODULE_PYINIT and get_internals() against module-initialization crashes.
Fixed static_pointer_cast build failure with virtual inheritance in holder_caster_foreign_helpers.h.
Fixed ambiguous factory template specialization that caused compilation failures with nvcc + GCC 14.
Fixed crash in def_readwrite for non-smart-holder properties of smart-holder classes.
Fixed memory leak for py::dynamic_attr() objects on Python 3.13+ by clearing managed __dict__ contents during deallocation.
Fixed binding of noexcept and ref-qualified (&, &&) methods inherited from unregistered base classes.
Internal:
Moved tomlkit dependency to the dev dependency group.
Switched to newer public CPython APIs (PyType_GetFlags and public vectorcall APIs where available).
Tests:
Made an async callback test deterministic by replacing fixed sleep with bounded waiting.
CI:
Re-enabled Android tests in the cibuildwheel workflow.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-pybind11/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-pybind11/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/py-pybind11/patches/patch-include_pybind11_detail_holder__caster__foreign__helpers.h
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.31 pkgsrc/devel/py-pybind11/Makefile:1.32
--- pkgsrc/devel/py-pybind11/Makefile:1.31 Sun Mar 15 16:55:55 2026
+++ pkgsrc/devel/py-pybind11/Makefile Wed Apr 1 11:50:15 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2026/03/15 16:55:55 tnn Exp $
+# $NetBSD: Makefile,v 1.32 2026/04/01 11:50:15 adam Exp $
-DISTNAME= pybind11-3.0.2
-PKGREVISION= 1
+DISTNAME= pybind11-3.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybind11/}
@@ -16,9 +15,6 @@ TOOL_DEPENDS+= cmake>=3.15:../../devel/c
USE_LANGUAGES= c c++
-pre-build:
- ${RM} -f ${WRKSRC}/include/pybind11/detail/holder_caster_foreign_helpers.h.orig
-
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pybind11-config pybind11-config-${PYVERSSUFFIX} || ${TRUE}
Index: pkgsrc/devel/py-pybind11/distinfo
diff -u pkgsrc/devel/py-pybind11/distinfo:1.27 pkgsrc/devel/py-pybind11/distinfo:1.28
--- pkgsrc/devel/py-pybind11/distinfo:1.27 Sun Mar 15 16:55:56 2026
+++ pkgsrc/devel/py-pybind11/distinfo Wed Apr 1 11:50:15 2026
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.27 2026/03/15 16:55:56 tnn Exp $
+$NetBSD: distinfo,v 1.28 2026/04/01 11:50:15 adam Exp $
-BLAKE2s (pybind11-3.0.2.tar.gz) = 91f3b8aa7c305299d3db1c1e496af473cd0b35962649742b8ed51e8ea0799625
-SHA512 (pybind11-3.0.2.tar.gz) = 45ca5adef8c56ee1b2dcd66f973e4d17f647ea9359a84777a1ef60ddce471a2e3d5d8b9e20e36b5e5e6f60eb21f43b5ae332ebfac62e242c1b02952e7572c7b7
-Size (pybind11-3.0.2.tar.gz) = 577131 bytes
-SHA1 (patch-include_pybind11_detail_holder__caster__foreign__helpers.h) = 247f489935bf3ef51129d4280c37dee97379da56
+BLAKE2s (pybind11-3.0.3.tar.gz) = edcb96c9ea633e77a3ae9d1be949db799c0d22b57bac2aba940ee96fcdaaf025
+SHA512 (pybind11-3.0.3.tar.gz) = 548e1c9792985a38a31676a5245ea51df181840275e2dbf589af6c5c994c140a344846f33142eda1ddb1550317189f45bff5ff93c1cfe2af3c188987ada99db3
+Size (pybind11-3.0.3.tar.gz) = 587814 bytes
Home |
Main Index |
Thread Index |
Old Index