pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis py-hypothesis: updated to 6.29.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/434ca1f63901
branches:  trunk
changeset: 770543:434ca1f63901
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 02 11:15:26 2021 +0000

description:
py-hypothesis: updated to 6.29.3

6.29.3

This patch fixes a bug in mutually_broadcastable_shapes(), which restricted the patterns of singleton dimensions that could be generated for dimensions that extended beyond base_shape.

6.29.2

This patch clarifies our pretty-printing of DataFrames.

6.29.1

This patch documents timezones() Windows-only requirement for the tzdata package, and ensures that pip install hypothesis[zoneinfo] will install the latest version.

6.29.0

This release teaches builds() to use deferred() when resolving unrecognised type hints, so that you can conveniently register strategies for recursive types with constraints on some arguments:

class RecursiveClass:
    def __init__(self, value: int, next_node: typing.Optional["SomeClass"]):
        assert value > 0
        self.value = value
        self.next_node = next_node


st.register_type_strategy(
    RecursiveClass, st.builds(RecursiveClass, value=st.integers(min_value=1))
)
6.28.1

This release fixes some internal calculations related to collection sizes.

6.28.0

This release modifies our pytest plugin, to avoid importing Hypothesis and therefore triggering Hypothesis’ entry points for test suites where Hypothesis is installed but not actually used.

6.27.3

This release fixes issue 3080, where from_type() failed on unions containing PEP 585 builtin generic types (like list[int]) in Python 3.9 and later.

6.27.2

This patch makes the hypothesis codemod command somewhat faster.

diffstat:

 devel/py-hypothesis/Makefile |  4 ++--
 devel/py-hypothesis/PLIST    |  5 ++++-
 devel/py-hypothesis/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 7 deletions(-)

diffs (46 lines):

diff -r 7941e7b99106 -r 434ca1f63901 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Thu Dec 02 11:07:34 2021 +0000
+++ b/devel/py-hypothesis/Makefile      Thu Dec 02 11:15:26 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.104 2021/11/25 20:01:56 adam Exp $
+# $NetBSD: Makefile,v 1.105 2021/12/02 11:15:26 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.27.1
+DISTNAME=      hypothesis-6.29.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 7941e7b99106 -r 434ca1f63901 devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Thu Dec 02 11:07:34 2021 +0000
+++ b/devel/py-hypothesis/PLIST Thu Dec 02 11:15:26 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2021/11/25 20:01:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.36 2021/12/02 11:15:26 adam Exp $
 bin/hypothesis
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -7,6 +7,9 @@
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/_hypothesis_pytestplugin.py
+${PYSITELIB}/_hypothesis_pytestplugin.pyc
+${PYSITELIB}/_hypothesis_pytestplugin.pyo
 ${PYSITELIB}/hypothesis/__init__.py
 ${PYSITELIB}/hypothesis/__init__.pyc
 ${PYSITELIB}/hypothesis/__init__.pyo
diff -r 7941e7b99106 -r 434ca1f63901 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Thu Dec 02 11:07:34 2021 +0000
+++ b/devel/py-hypothesis/distinfo      Thu Dec 02 11:15:26 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.103 2021/11/25 20:01:56 adam Exp $
+$NetBSD: distinfo,v 1.104 2021/12/02 11:15:26 adam Exp $
 
-BLAKE2s (hypothesis-6.27.1.tar.gz) = 528c4c7dcc1791a0b5b317ce99510f6a91dac75671cc7c829c7e96fe1960a022
-SHA512 (hypothesis-6.27.1.tar.gz) = 0e8cfabb2e81d4cec65ef8757e92e91b29494c68770ebc91d08588e4d06666a069f37a06c87fdedd0f6f4541f3bf821494bb3771ac1c5a149637502c77f00456
-Size (hypothesis-6.27.1.tar.gz) = 314803 bytes
+BLAKE2s (hypothesis-6.29.3.tar.gz) = de84460d02400e8ea9debf179338895c9d706c6e256d548b583a5a99fe7fbc37
+SHA512 (hypothesis-6.29.3.tar.gz) = 58cea5cbf00391ec34d13f3dbadbe7a6e8cd08a8d9093f343ee7cf903cd5fa05ff806df8094be96b084c23ba64bc8efb5a43f573b7adf6e3a7507001acc74df3
+Size (hypothesis-6.29.3.tar.gz) = 316199 bytes


Home | Main Index | Thread Index | Old Index