Received: by mail.netbsd.org (Postfix, from userid 605) id D697184DD0; Wed, 17 Mar 2021 13:13:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1CA8884DC1 for ; Wed, 17 Mar 2021 13:13:33 +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 ZX2LGFfWTvtM for ; Wed, 17 Mar 2021 13:13:32 +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 2A51584CE8 for ; Wed, 17 Mar 2021 13:13:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2787EFA95; Wed, 17 Mar 2021 13:13:32 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_161598681285110" MIME-Version: 1.0 Date: Wed, 17 Mar 2021 13:13:32 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-hypothesis To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20210317131332.2787EFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_161598681285110 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: wiz Date: Wed Mar 17 13:13:32 UTC 2021 Modified Files: pkgsrc/devel/py-hypothesis: Makefile PLIST distinfo Log Message: py-hypothesis: update to 6.8.1. 6.8.1 - 2021-03-14 This patch lays more groundwork for filter rewriting (issue #2701). There is no user-visible change… yet. 6.8.0 - 2021-03-11 This release registers the remaining builtin types, and teaches from_type() to try resolving ForwardRef and Type references to built-in types. 6.7.0 - 2021-03-10 This release teaches RuleBasedStateMachine to avoid checking invariant()s until all initialize() rules have been run. You can enable checking of specific invariants for incompletely initialized machines by using @invariant(check_during_init=True) (issue #2868). In previous versions, it was possible if awkward to implement this behaviour using precondition() and an auxiliary variable. 6.6.1 - 2021-03-09 This patch improves the error message when from_type() fails to resolve a forward-reference inside a typing.Type such as Type["int"] (issue #2565). 6.6.0 - 2021-03-07 This release makes it an explicit error to apply invariant() to a rule() or initialize() rule in stateful testing. Such a combination had unclear semantics, especially in combination with precondition(), and was never meant to be allowed (issue #2681). 6.5.0 - 2021-03-07 This release adds the explain phase, in which Hypothesis attempts to explain why your test failed by pointing to suspicious lines of code (i.e. those which were always, and only, run on failing inputs). We plan to include “generalising” failing examples in this phase in a future release (issue #2192). 6.4.3 - 2021-03-04 This patch fixes issue #2794, where nesting deferred() strategies within recursive() strategies could trigger an internal assertion. While it was always possible to get the same results from a more sensible strategy, the convoluted form now works too. 6.4.2 - 2021-03-04 This patch fixes several problems with mypy when –no-implicit-reexport was activated in user projects. Thanks to Nikita Sobolev for fixing issue #2884! 6.4.1 - 2021-03-04 This patch fixes an exception that occurs when using type unions of the typing_extensions Literal backport on Python 3.6. Thanks to Ben Anhalt for identifying and fixing this bug. 6.4.0 - 2021-03-02 This release fixes stateful testing methods with multiple precondition() decorators. Previously, only the outer-most precondition was checked (issue #2681). 6.3.4 - 2021-02-28 This patch refactors some internals of RuleBasedStateMachine. There is no change to the public API or behaviour. 6.3.3 - 2021-02-26 This patch moves some internal code, so that future work can avoid creating import cycles. There is no user-visible change. 6.3.2 - 2021-02-25 This patch enables register_type_strategy() for subclasses of typing.TypedDict. Previously, from_type() would ignore the registered strategy (issue #2872). Thanks to Ilya Lebedev for identifying and fixing this bug! 6.3.1 - 2021-02-24 This release lays the groundwork for automatic rewriting of simple filters, for example converting integers().filter(lambda x: x > 9) to integers(min_value=10). Note that this is not supported yet, and we will continue to recommend writing the efficient form directly wherever possible - predicate rewriting is provided mainly for the benefit of downstream libraries which would otherwise have to implement it for themselves (e.g. pandera and icontract-hypothesis). See issue #2701 for details. 6.3.0 - 2021-02-20 The Hypothesis pytest plugin now requires pytest version 4.6 or later. If the plugin detects an earlier version of pytest, it will automatically deactivate itself. (4.6.x is the earliest pytest branch that still accepts community bugfixes.) Hypothesis-based tests should continue to work in earlier versions of pytest, but enhanced integrations provided by the plugin (such as --hypothesis-show-statistics and other command-line flags) will no longer be available in obsolete pytest versions. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 pkgsrc/devel/py-hypothesis/Makefile cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/py-hypothesis/PLIST cvs rdiff -u -r1.93 -r1.94 pkgsrc/devel/py-hypothesis/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_161598681285110 Content-Disposition: inline Content-Length: 3788 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-hypothesis/Makefile diff -u pkgsrc/devel/py-hypothesis/Makefile:1.96 pkgsrc/devel/py-hypothesis/Makefile:1.97 --- pkgsrc/devel/py-hypothesis/Makefile:1.96 Thu Feb 18 10:31:27 2021 +++ pkgsrc/devel/py-hypothesis/Makefile Wed Mar 17 13:13:31 2021 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.96 2021/02/18 10:31:27 wiz Exp $ +# $NetBSD: Makefile,v 1.97 2021/03/17 13:13:31 wiz Exp $ # # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html -DISTNAME= hypothesis-6.2.0 +DISTNAME= hypothesis-6.8.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} Index: pkgsrc/devel/py-hypothesis/PLIST diff -u pkgsrc/devel/py-hypothesis/PLIST:1.32 pkgsrc/devel/py-hypothesis/PLIST:1.33 --- pkgsrc/devel/py-hypothesis/PLIST:1.32 Mon Jan 4 11:55:03 2021 +++ pkgsrc/devel/py-hypothesis/PLIST Wed Mar 17 13:13:31 2021 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.32 2021/01/04 11:55:03 wiz Exp $ +@comment $NetBSD: PLIST,v 1.33 2021/03/17 13:13:31 wiz Exp $ bin/hypothesis ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -175,6 +175,9 @@ ${PYSITELIB}/hypothesis/internal/entropy ${PYSITELIB}/hypothesis/internal/escalation.py ${PYSITELIB}/hypothesis/internal/escalation.pyc ${PYSITELIB}/hypothesis/internal/escalation.pyo +${PYSITELIB}/hypothesis/internal/filtering.py +${PYSITELIB}/hypothesis/internal/filtering.pyc +${PYSITELIB}/hypothesis/internal/filtering.pyo ${PYSITELIB}/hypothesis/internal/floats.py ${PYSITELIB}/hypothesis/internal/floats.pyc ${PYSITELIB}/hypothesis/internal/floats.pyo @@ -190,6 +193,9 @@ ${PYSITELIB}/hypothesis/internal/lazyfor ${PYSITELIB}/hypothesis/internal/reflection.py ${PYSITELIB}/hypothesis/internal/reflection.pyc ${PYSITELIB}/hypothesis/internal/reflection.pyo +${PYSITELIB}/hypothesis/internal/scrutineer.py +${PYSITELIB}/hypothesis/internal/scrutineer.pyc +${PYSITELIB}/hypothesis/internal/scrutineer.pyo ${PYSITELIB}/hypothesis/internal/validation.py ${PYSITELIB}/hypothesis/internal/validation.pyc ${PYSITELIB}/hypothesis/internal/validation.pyo @@ -269,6 +275,9 @@ ${PYSITELIB}/hypothesis/strategies/_inte ${PYSITELIB}/hypothesis/strategies/_internal/types.py ${PYSITELIB}/hypothesis/strategies/_internal/types.pyc ${PYSITELIB}/hypothesis/strategies/_internal/types.pyo +${PYSITELIB}/hypothesis/strategies/_internal/utils.py +${PYSITELIB}/hypothesis/strategies/_internal/utils.pyc +${PYSITELIB}/hypothesis/strategies/_internal/utils.pyo ${PYSITELIB}/hypothesis/utils/__init__.py ${PYSITELIB}/hypothesis/utils/__init__.pyc ${PYSITELIB}/hypothesis/utils/__init__.pyo Index: pkgsrc/devel/py-hypothesis/distinfo diff -u pkgsrc/devel/py-hypothesis/distinfo:1.93 pkgsrc/devel/py-hypothesis/distinfo:1.94 --- pkgsrc/devel/py-hypothesis/distinfo:1.93 Thu Feb 18 10:31:27 2021 +++ pkgsrc/devel/py-hypothesis/distinfo Wed Mar 17 13:13:31 2021 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.93 2021/02/18 10:31:27 wiz Exp $ +$NetBSD: distinfo,v 1.94 2021/03/17 13:13:31 wiz Exp $ -SHA1 (hypothesis-6.2.0.tar.gz) = eac33cf0f3ea01f76c003248667e00436284e001 -RMD160 (hypothesis-6.2.0.tar.gz) = e5aacedb954fb742cab579f50a5b76290b8d82b8 -SHA512 (hypothesis-6.2.0.tar.gz) = 764621b1eefebbeccf7a20c9dd9e28f548d7b0c24173233850868ef28e1b7362b91b35235afa45ec395f9d2a300a5bc1d2b5b518376df9331cecf98e94e234e0 -Size (hypothesis-6.2.0.tar.gz) = 288790 bytes +SHA1 (hypothesis-6.8.1.tar.gz) = ab4bfe8aa4b4d0e1c95497cff0fd6887e619ec8c +RMD160 (hypothesis-6.8.1.tar.gz) = 7fdc48fb7f0b53cfc11821b824c3afffe52a1863 +SHA512 (hypothesis-6.8.1.tar.gz) = e074d404e578a6beb6c05850f082f49b56b88bcd89c2f4b996240355c80f52be751c8c4a3b8cf4c9e7077cc59662a45735db73929a9982d59441963d94863d35 +Size (hypothesis-6.8.1.tar.gz) = 293847 bytes --_----------=_161598681285110--