Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BB12084D27 for ; Wed, 28 Jun 2023 08:55:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id To7cLqmF6TVk for ; Wed, 28 Jun 2023 08:55:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 11EF684CCC for ; Wed, 28 Jun 2023 08:55:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 05F3FFA89; Wed, 28 Jun 2023 08:55:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_168794252960740" MIME-Version: 1.0 Date: Wed, 28 Jun 2023 08:55:29 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-pluggy To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230628085530.05F3FFA89@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_168794252960740 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Wed Jun 28 08:55:29 UTC 2023 Modified Files: pkgsrc/devel/py-pluggy: Makefile distinfo Log Message: py-pluggy: update to 1.2.0. pluggy 1.2.0 (2023-06-21) ========================= Features -------- - `#405 `_: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit ``wrapper=True`` designation in the ``@hookimpl()`` decorator. pluggy 1.1.0 (YANKED) ===================== .. note:: This release was yanked because unfortunately the implicit new-style hook wrappers broke some downstream projects. See `#403 `__ for more information. This was rectified in the 1.2.0 release. Deprecations and Removals ------------------------- - `#364 `_: Python 3.6 is no longer supported. Features -------- - `#260 `_: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing ``hookwrapper=True`` wrappers. New-style wrappers are generator functions, similarly to ``hookwrapper``, but do away with the :class:`result ` object. Instead, the return value is sent directly to the ``yield`` statement, or, if inner calls raised an exception, it is raised from the ``yield``. The wrapper is expected to return a value or raise an exception, which will become the result of the hook call. New-style wrappers are fully interoperable with old-style wrappers. We encourage users to use the new style, however we do not intend to deprecate the old style any time soon. See :ref:`hookwrappers` for the full documentation. - `#364 `_: Python 3.11 and 3.12 are now officially supported. - `#394 `_: Added the :meth:`~pluggy._callers._Result.force_exception` method to ``_Result``. ``force_exception`` allows (old-style) hookwrappers to force an exception or override/adjust an existing exception of a hook invocation, in a properly behaving manner. Using ``force_exception`` is preferred over raising an exception from the hookwrapper, because raising an exception causes other hookwrappers to be skipped. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-pluggy/Makefile cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-pluggy/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_168794252960740 Content-Disposition: inline Content-Length: 1545 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-pluggy/Makefile diff -u pkgsrc/devel/py-pluggy/Makefile:1.22 pkgsrc/devel/py-pluggy/Makefile:1.23 --- pkgsrc/devel/py-pluggy/Makefile:1.22 Tue Jun 6 12:41:14 2023 +++ pkgsrc/devel/py-pluggy/Makefile Wed Jun 28 08:55:29 2023 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.22 2023/06/06 12:41:14 riastradh Exp $ +# $NetBSD: Makefile,v 1.23 2023/06/28 08:55:29 wiz Exp $ -DISTNAME= pluggy-1.0.0 +DISTNAME= pluggy-1.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pluggy/} Index: pkgsrc/devel/py-pluggy/distinfo diff -u pkgsrc/devel/py-pluggy/distinfo:1.16 pkgsrc/devel/py-pluggy/distinfo:1.17 --- pkgsrc/devel/py-pluggy/distinfo:1.16 Tue Oct 11 13:14:15 2022 +++ pkgsrc/devel/py-pluggy/distinfo Wed Jun 28 08:55:29 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.16 2022/10/11 13:14:15 adam Exp $ +$NetBSD: distinfo,v 1.17 2023/06/28 08:55:29 wiz Exp $ -BLAKE2s (pluggy-1.0.0.tar.gz) = 9f378760f1f7c951fc6bfde5bbf709dd1895641268b4f007c660487a7d1e607e -SHA512 (pluggy-1.0.0.tar.gz) = cf0bcbb4330c24ce473614befa19548f33fb39fa0ad094e1eae786202d7adadc28e16499f80ab96b630091765404ca5c5b6f9a55bc605e03514d8ab50cf9ae00 -Size (pluggy-1.0.0.tar.gz) = 51510 bytes +BLAKE2s (pluggy-1.2.0.tar.gz) = c368b747fc330bb48761a78ad5e84e7f5ceca73e91f52743992642db5210c2f1 +SHA512 (pluggy-1.2.0.tar.gz) = b2b6a80737c06e1507eb12513ed7f5ce508fd4a139c559a3a15d9f173f4455ef3847783efb91c32eca6e26cbe37b0336467d50c5db0563d8dbd17bd825cd7407 +Size (pluggy-1.2.0.tar.gz) = 61613 bytes --_----------=_168794252960740--