Thu Oct 26 08:02:34 2023 UTC ()
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.


(adam)
diff -r1.128 -r1.129 pkgsrc/devel/py-hypothesis/Makefile
diff -r1.124 -r1.125 pkgsrc/devel/py-hypothesis/distinfo

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

--- pkgsrc/devel/py-hypothesis/Makefile 2023/10/04 20:40:59 1.128
+++ pkgsrc/devel/py-hypothesis/Makefile 2023/10/26 08:02:34 1.129
@@ -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
5DISTNAME= hypothesis-6.87.1 5DISTNAME= hypothesis-6.88.1
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
18USE_LANGUAGES= # none 18USE_LANGUAGES= # none

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

--- pkgsrc/devel/py-hypothesis/distinfo 2023/10/04 20:40:59 1.124
+++ pkgsrc/devel/py-hypothesis/distinfo 2023/10/26 08:02:34 1.125
@@ -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
3BLAKE2s (hypothesis-6.87.1.tar.gz) = 7a01572004a44639f2f705ca0e08d72c579e9b12a51d7161043581e8c7ae6a8c 3BLAKE2s (hypothesis-6.88.1.tar.gz) = 9aa747252c755f459dc148480138089bc9e93a05471d52041344b817909d307d
4SHA512 (hypothesis-6.87.1.tar.gz) = 1ae36616fcefe1c3d2c9c5e2d2d8be93ce00d55ad2dafb58c7cd881a991cb844aa428c518c9c630197490dc292796bc4156b76a7324a5b02101fa5aac035e174 4SHA512 (hypothesis-6.88.1.tar.gz) = d4f67678be32cb82da3987e0eb20b3bcb98743c3c3b8b7f5641e9665b49c1038af87af5ac324965079741f91cb7ba6335893ae6d021b682841b6b1cc813816f6
5Size (hypothesis-6.87.1.tar.gz) = 359514 bytes 5Size (hypothesis-6.88.1.tar.gz) = 359984 bytes