summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-12-02 11:15:26 +0000
committeradam <adam@pkgsrc.org>2021-12-02 11:15:26 +0000
commit23c657500bf4c93e5ff7ced5917c47a46a8489c0 (patch)
treed5cb2bfde3bb08807b5b294901822386ffc4e218
parent4dbf94d4b0388b09120abb53a5861cdee5465e5f (diff)
downloadpkgsrc-23c657500bf4c93e5ff7ced5917c47a46a8489c0.tar.gz
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.
-rw-r--r--devel/py-hypothesis/Makefile4
-rw-r--r--devel/py-hypothesis/PLIST5
-rw-r--r--devel/py-hypothesis/distinfo8
3 files changed, 10 insertions, 7 deletions
diff --git a/devel/py-hypothesis/Makefile b/devel/py-hypothesis/Makefile
index 43533b9a854..5b01f6d7646 100644
--- a/devel/py-hypothesis/Makefile
+++ b/devel/py-hypothesis/Makefile
@@ -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 --git a/devel/py-hypothesis/PLIST b/devel/py-hypothesis/PLIST
index e80d48011b4..93b553a86a0 100644
--- a/devel/py-hypothesis/PLIST
+++ b/devel/py-hypothesis/PLIST
@@ -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}/entry_points.txt
${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 --git a/devel/py-hypothesis/distinfo b/devel/py-hypothesis/distinfo
index 473ea70579d..b2e4f9b2699 100644
--- a/devel/py-hypothesis/distinfo
+++ b/devel/py-hypothesis/distinfo
@@ -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