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:   wiz
Date:           Sun Jun 30 22:02:55 UTC 2024

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

Log Message:
py-pybind11: update to 2.13.1.

2.13.1

New Features:

    Add support for Typing.Callable[..., T]. #5202

Bug fixes:

    Avoid aligned allocation in free-threaded build in order to support macOS versions before 10.14. #5200

2.13.0

New Features:

    Support free-threaded CPython (3.13t). Add py::mod_gil_not_used() tag to indicate if a module supports running with the GIL disabled. #5148
    Support for Python 3.6 was removed. (Official end-of-life: 2021-12-23). #5177
    py::list gained a .clear() method. #5153
    Support for Union, Optional, type[T], typing.TypeGuard, typing.TypeIs, typing.Never, typing.NoReturn and typing.Literal was added to pybind11/typing.h. #5166 #5165 #5194 #5193 #5192
    In CMake, if PYBIND11_USE_CROSSCOMPILING is enabled, then CMAKE_CROSSCOMPILING will be respected and will keep pybind11 from accessing the interpreter during configuration. Several CMake 
variables will be required in this case, but can be deduced from the environment variable SETUPTOOLS_EXT_SUFFIX. The default (currently OFF) may be changed in the future. #5083

Bug fixes:

    A refcount bug (leading to heap-use-after-free) involving trampoline functions with PyObject * return type was fixed. #5156
    Return py::ssize_t from .ref_count() instead of int. #5139
    A subtle bug involving C++ types with unusual operator& overrides was fixed. #5189
    Support Python 3.13 with minor fix, add to CI. #5127
    Fix mistake affecting old cmake and old boost. #5149

Documentation:

    Build docs updated to feature scikit-build-core and meson-python, and updated setuptools instructions. #5168

Tests:

    Avoid immortal objects in tests. #5150

CI:

    Compile against Python 3.13t in CI.
    Use macos-13 (Intel) for CI jobs for now (will drop Python 3.7 soon). #5109
    Releases now have artifact attestations, visible at https://github.com/pybind/pybind11/attestations. #5196

Other:

    Some cleanup in preparation for 3.13 support. #5137
    Avoid a warning by ensuring an iterator end check is included in release mode. #5129
    Bump max cmake to 3.29. #5075
    Update docs and noxfile. #5071


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-pybind11/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-pybind11/PLIST
cvs rdiff -u -r1.18 -r1.19 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.20 pkgsrc/devel/py-pybind11/Makefile:1.21
--- pkgsrc/devel/py-pybind11/Makefile:1.20      Sat Apr  6 06:34:39 2024
+++ pkgsrc/devel/py-pybind11/Makefile   Sun Jun 30 22:02:55 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/04/06 06:34:39 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2024/06/30 22:02:55 wiz Exp $
 
-DISTNAME=      pybind11-2.12.0
+DISTNAME=      pybind11-2.13.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pybind11/}

Index: pkgsrc/devel/py-pybind11/PLIST
diff -u pkgsrc/devel/py-pybind11/PLIST:1.9 pkgsrc/devel/py-pybind11/PLIST:1.10
--- pkgsrc/devel/py-pybind11/PLIST:1.9  Sat Apr  6 06:34:39 2024
+++ pkgsrc/devel/py-pybind11/PLIST      Sun Jun 30 22:02:55 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2024/04/06 06:34:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2024/06/30 22:02:55 wiz Exp $
 bin/pybind11-config-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -59,6 +59,7 @@ ${PYSITELIB}/pybind11/share/cmake/pybind
 ${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11Common.cmake
 ${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11Config.cmake
 ${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11ConfigVersion.cmake
+${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11GuessPythonExtSuffix.cmake
 ${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11NewTools.cmake
 ${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11Targets.cmake
 ${PYSITELIB}/pybind11/share/cmake/pybind11/pybind11Tools.cmake

Index: pkgsrc/devel/py-pybind11/distinfo
diff -u pkgsrc/devel/py-pybind11/distinfo:1.18 pkgsrc/devel/py-pybind11/distinfo:1.19
--- pkgsrc/devel/py-pybind11/distinfo:1.18      Sat Apr  6 06:34:39 2024
+++ pkgsrc/devel/py-pybind11/distinfo   Sun Jun 30 22:02:55 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2024/04/06 06:34:39 wiz Exp $
+$NetBSD: distinfo,v 1.19 2024/06/30 22:02:55 wiz Exp $
 
-BLAKE2s (pybind11-2.12.0.tar.gz) = e2208bf7b7f555ce8a0b83dc43677ace84fa11038651051c24aef1f7bdae49c5
-SHA512 (pybind11-2.12.0.tar.gz) = 80ce986cd75f54634245f0a7340952cac56343006661d033d4fbfe960dcc899d957569fa8f02bb3035860d7b7577ac7128fc940d7150d9361d14c65de2ca0d8d
-Size (pybind11-2.12.0.tar.gz) = 211887 bytes
+BLAKE2s (pybind11-2.13.1.tar.gz) = d8d9e431f11551fbe3ab2ea97158db12c556633e0242a89bb84cc26001a57799
+SHA512 (pybind11-2.13.1.tar.gz) = 89b5edcfec7b8789fdd3b3e95ffb1c2072b51a0da206b78b6c5f7e46014bb5f8a95f78e62aae7f327b1e6ff255dc188e3c1127d1c18a5466759570b017c3903f
+Size (pybind11-2.13.1.tar.gz) = 215298 bytes



Home | Main Index | Thread Index | Old Index