Sat Jul 2 09:10:39 2022 UTC ()
py-hypothesis: updated to 6.48.2

6.48.2

This patch tidies up some internal introspection logic, which will improve support for positional-only arguments in a future release (issue 2706).

6.48.1

This release automatically rewrites some simple filters, such as floats().filter(lambda x: x >= 10) to the more efficient floats(min_value=10), based on the AST of the predicate.

We continue to recommend using the efficient form directly wherever possible, but this should be useful for e.g. pandera 窶廚hecks窶� where you already have a simple predicate and translating manually is really annoying.

6.48.0

This release raises SkipTest for which never executed any examples, for example because the phases setting excluded the explicit, reuse, and generate phases. This helps to avoid cases where broken tests appear to pass, because they didn窶冲 actually execute (issue 3328).

6.47.5

This patch fixes type annotations that had caused the signature of @given to be partially-unknown to type-checkers for Python versions before 3.10.

6.47.4

This patch fixes from_type() on Python 3.11, following python/cpython-93754.

6.47.3

This patch makes the too_slow health check more consistent with long deadline tests (issue 3367) and fixes an install issue under pipenv which was introduced in Hypothesis 6.47.2 (issue 3374).

6.47.2

We now use the PEP 654 ExceptionGroup type - provided by the exceptiongroup backport on older Pythons - to ensure that if multiple errors are raised in teardown, they will all propagate.

6.47.1

Our pretty-printer no longer sorts dictionary keys, since iteration order is stable in Python 3.7+ and this can affect reproducing examples (issue 3370). This PR was kindly supported by Ordina Pythoneers.

6.47.0

The Ghostwritter can now write tests for @classmethod or @staticmethod methods, in addition to the existing support for functions and other callables (issue 3318). Thanks to Cheuk Ting Ho for the patch.


(adam)
diff -r1.108 -r1.109 pkgsrc/devel/py-hypothesis/Makefile
diff -r1.105 -r1.106 pkgsrc/devel/py-hypothesis/distinfo

cvs diff -r1.108 -r1.109 pkgsrc/devel/py-hypothesis/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/Makefile 2022/01/31 11:43:31 1.108
+++ pkgsrc/devel/py-hypothesis/Makefile 2022/07/02 09:10:39 1.109
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.108 2022/01/31 11:43:31 wiz Exp $ 1# $NetBSD: Makefile,v 1.109 2022/07/02 09:10:39 adam Exp $
2# 2#
3# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html 3# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
4 4
5DISTNAME= hypothesis-6.36.1 5DISTNAME= hypothesis-6.48.2
6PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 6PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
7CATEGORIES= devel python 7CATEGORIES= devel python
8MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} 8MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://github.com/HypothesisWorks/hypothesis 11HOMEPAGE= https://github.com/HypothesisWorks/hypothesis
12COMMENT= Python library for property based testing 12COMMENT= Python library for property based testing
13LICENSE= mpl-2.0 13LICENSE= mpl-2.0
14 14
15DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs 15DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
16DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers 16DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers
17 17
18PYTHON_VERSIONS_INCOMPATIBLE= 27 18PYTHON_VERSIONS_INCOMPATIBLE= 27

cvs diff -r1.105 -r1.106 pkgsrc/devel/py-hypothesis/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/distinfo 2022/01/31 11:43:31 1.105
+++ pkgsrc/devel/py-hypothesis/distinfo 2022/07/02 09:10:39 1.106
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.105 2022/01/31 11:43:31 wiz Exp $ 1$NetBSD: distinfo,v 1.106 2022/07/02 09:10:39 adam Exp $
2 2
3BLAKE2s (hypothesis-6.36.1.tar.gz) = 39d29de1a449744ad5440e4e9b6f99f91386d6819e7d2e488b97f148e36305b8 3BLAKE2s (hypothesis-6.48.2.tar.gz) = dd06b9ae83976c77a522ddaa5338ca2ba8f078955f69aac958f0026d26eab2ab
4SHA512 (hypothesis-6.36.1.tar.gz) = 7df36ec9568972a493d46c839a81ec21a1cdadfa1559b6ae618e5bc6cc8f9f5ce234c5ca7051e12ce299614490ff0ab4d9e64b0e1c39925c342364be511ad4f0 4SHA512 (hypothesis-6.48.2.tar.gz) = a736fe4206ac24d8e16e64154656b90d4d180c9e731bdd53416efdd2cb023dff8ebb429baf63b3663bcf143ae93ef87025bbde4f6a05676086067a3a2cedef46
5Size (hypothesis-6.36.1.tar.gz) = 316531 bytes 5Size (hypothesis-6.48.2.tar.gz) = 326586 bytes