py-hypothesis: updated to 6.88.1 6.88.1 This patch improves register_type_strategy() when used with tuple subclasses, by preventing them from being interpreted as generic and provided to strategies like st.from_type(Sequence[int]). 6.88.0 This release allows strategy-generating functions registered with register_type_strategy() to conditionally not return a strategy, by returning NotImplemented. 6.87.4 When randoms() was called with use_true_randoms=False, calling sample on it with an empty sequence and 0 elements would result in an error, when it should have returned an empty sequence to agree with the normal behaviour of random.Random. This fixes that discrepancy. 6.87.3 This patch ensures that the hypothesis codemod CLI will print a warning instead of stopping with an internal error if one of your files contains invalid syntax. 6.87.2 This patch makes some small changes to our NumPy integration to ensure forward compatibility.diff -r1.128 -r1.129 pkgsrc/devel/py-hypothesis/Makefile
(adam)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.128 2023/10/04 20:40:59 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.129 2023/10/26 08:02:34 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 | |||
5 | DISTNAME= hypothesis-6.87.1 | 5 | DISTNAME= hypothesis-6.88.1 | |
6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
7 | CATEGORIES= devel python | 7 | CATEGORIES= devel python | |
8 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} | 8 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://github.com/HypothesisWorks/hypothesis | 11 | HOMEPAGE= https://github.com/HypothesisWorks/hypothesis | |
12 | COMMENT= Python library for property based testing | 12 | COMMENT= Python library for property based testing | |
13 | LICENSE= mpl-2.0 | 13 | LICENSE= mpl-2.0 | |
14 | 14 | |||
15 | DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs | 15 | DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs | |
16 | DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers | 16 | DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers | |
17 | 17 | |||
18 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.124 2023/10/04 20:40:59 adam Exp $ | 1 | $NetBSD: distinfo,v 1.125 2023/10/26 08:02:34 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (hypothesis-6.87.1.tar.gz) = 7a01572004a44639f2f705ca0e08d72c579e9b12a51d7161043581e8c7ae6a8c | 3 | BLAKE2s (hypothesis-6.88.1.tar.gz) = 9aa747252c755f459dc148480138089bc9e93a05471d52041344b817909d307d | |
4 | SHA512 (hypothesis-6.87.1.tar.gz) = 1ae36616fcefe1c3d2c9c5e2d2d8be93ce00d55ad2dafb58c7cd881a991cb844aa428c518c9c630197490dc292796bc4156b76a7324a5b02101fa5aac035e174 | 4 | SHA512 (hypothesis-6.88.1.tar.gz) = d4f67678be32cb82da3987e0eb20b3bcb98743c3c3b8b7f5641e9665b49c1038af87af5ac324965079741f91cb7ba6335893ae6d021b682841b6b1cc813816f6 | |
5 | Size (hypothesis-6.87.1.tar.gz) = 359514 bytes | 5 | Size (hypothesis-6.88.1.tar.gz) = 359984 bytes |