pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-nanobind
Module Name: pkgsrc
Committed By: adam
Date: Tue Sep 29 09:19:48 UTC 2026
Modified Files:
pkgsrc/devel/py-nanobind: Makefile distinfo
Log Message:
py-nanobind: updated to 3.1.0
3.1.0 (Sep 28, 2026)
- Python subclasses can now combine one nanobind base with additional
:ref:`Python mixins <python_mixins>`, including cooperative ``super()`` calls
on CPython and PyPy. Inheriting from multiple nanobind bases remains
unsupported.
- The low-level instance API gained :cpp:func:`nb::inst_python_derived()
<inst_python_derived>`, which reports whether a nanobind instance belongs to
a Python subclass of the bound type.
- Added new low-level functions :cpp:func:`nb::keep_alive_obj() <keep_alive_obj>` and
:cpp:func:`nb::keep_alive_cb() <keep_alive_cb>`, which expose the mechanism behind
the :cpp:class:`nb::keep_alive <keep_alive>` annotation.
- The new function :cpp:func:`intrusive_counter::ref_count()` returns the
reference count of an intrusively reference-counted object while it is owned by C++.
- Fixed stale trampoline override caches on PyPy. Changing an attribute of a
nanobind type now correctly invalidates the caches of its Python subclasses.
- The ``std::map``/``std::unordered_map`` and ``std::set`` type casters can
now also handle containers like ``std::flat_map`` whose iterators return
temporary values.
- The :ref:`Bazel documentation <bazel>` was rewritten and now presents an
approach based on the Bazel Central Registry.
- Miscellaneous minor improvements.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-nanobind/Makefile \
pkgsrc/devel/py-nanobind/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-nanobind/Makefile
diff -u pkgsrc/devel/py-nanobind/Makefile:1.1 pkgsrc/devel/py-nanobind/Makefile:1.2
--- pkgsrc/devel/py-nanobind/Makefile:1.1 Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/Makefile Tue Sep 29 09:19:48 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2026/09/04 12:22:12 adam Exp $
+# $NetBSD: Makefile,v 1.2 2026/09/29 09:19:48 adam Exp $
-DISTNAME= nanobind-3.0.1
+DISTNAME= nanobind-3.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nanobind/}
@@ -12,7 +12,7 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build-core>=0.10:../../devel/py-scikit-build-core
-USE_LANGUAGES= #c c++
+USE_LANGUAGES= # none
USE_TOOLS+= cmake
.include "../../lang/python/wheel.mk"
Index: pkgsrc/devel/py-nanobind/distinfo
diff -u pkgsrc/devel/py-nanobind/distinfo:1.1 pkgsrc/devel/py-nanobind/distinfo:1.2
--- pkgsrc/devel/py-nanobind/distinfo:1.1 Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/distinfo Tue Sep 29 09:19:48 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2026/09/04 12:22:12 adam Exp $
+$NetBSD: distinfo,v 1.2 2026/09/29 09:19:48 adam Exp $
-BLAKE2s (nanobind-3.0.1.tar.gz) = cf9204fa2b3ecda68d9dffa8a2231c25ad526be286dc01a75072da3d3c70f334
-SHA512 (nanobind-3.0.1.tar.gz) = 2aba1bde6db455e22217f91860e6b2fd9c5b6536945e2de7125eef9c395055bc53028bb3d59ca0ef3f7a702e3c7a66175bdedd0d441a7572f1530642af4d35d4
-Size (nanobind-3.0.1.tar.gz) = 1142340 bytes
+BLAKE2s (nanobind-3.1.0.tar.gz) = 7ae1396de1203e09f13ad984172078c6de3541a8796a76e44d6053b635151443
+SHA512 (nanobind-3.1.0.tar.gz) = fc13cf3aa58e35eb76e764e92a610acda32b9c210a23bd16a54533276cce517769e1c73cd37ed68318bbccc3cdf592b0d6aff70827f7bab467704e9698e5c77c
+Size (nanobind-3.1.0.tar.gz) = 1145390 bytes
Home |
Main Index |
Thread Index |
Old Index