summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-11-25 20:01:56 +0000
committeradam <adam@pkgsrc.org>2021-11-25 20:01:56 +0000
commit179a7c99e0ac958517ac71341898024580ccbdec (patch)
treefb0152481cbb8108cf0df3dabef2ba471fb515d5
parent9ddd770126f14d05ba19cdc9e915c63df082aa85 (diff)
downloadpkgsrc-179a7c99e0ac958517ac71341898024580ccbdec.tar.gz
py-hypothesis: updated to 6.27.1
6.27.1 This patch changes the backing datastructures of register_random() and a few internal caches to use weakref.WeakKeyDictionary. This reduces memory usage and may improve performance when registered Random instances are only used for a subset of your tests. 6.27.0 This release teaches Hypothesis’ multiple-error reporting to format tracebacks using pytest or better-exceptions, if they are installed and enabled. 6.26.0 Did you know that of the 264 possible floating-point numbers, 253 of them are nan While nans usually have all zeros in the sign bit and mantissa, this isn’t always true, and ‘signaling’ nans might trap or error. To help distinguish such errors in e.g. CI logs, Hypothesis now prints -nan for negative nans, and adds a comment like # Saw 3 signaling NaNs if applicable. 6.25.0 This release adds special filtering logic to make a few special cases like s.map(lambda x: x) and lists().filter(len) more efficient. 6.24.6 This patch makes floats() generate “subnormal” floating point numbers more often, as these rare values can have strange interactions with unsafe compiler optimisations like -ffast-math. 6.24.5 This patch fixes a rare internal error in the datetimes() strategy, where the implementation of allow_imaginary=False crashed when checking a time during the skipped hour of a DST transition if the DST offset is negative 6.24.4 This patch gives Hypothesis it’s own internal Random instance, ensuring that test suites which reset the global random state don’t induce weird correlations between property-based tests. 6.24.3 This patch updates documentation of note()
-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 c316229c000..43533b9a854 100644
--- a/devel/py-hypothesis/Makefile
+++ b/devel/py-hypothesis/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.103 2021/11/06 08:49:22 adam Exp $
+# $NetBSD: Makefile,v 1.104 2021/11/25 20:01:56 adam Exp $
#
# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
-DISTNAME= hypothesis-6.24.2
+DISTNAME= hypothesis-6.27.1
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 a66c3a25244..e80d48011b4 100644
--- a/devel/py-hypothesis/PLIST
+++ b/devel/py-hypothesis/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.34 2021/09/12 09:53:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.35 2021/11/25 20:01:56 adam Exp $
bin/hypothesis
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -293,6 +293,9 @@ ${PYSITELIB}/hypothesis/utils/conventions.pyo
${PYSITELIB}/hypothesis/utils/dynamicvariables.py
${PYSITELIB}/hypothesis/utils/dynamicvariables.pyc
${PYSITELIB}/hypothesis/utils/dynamicvariables.pyo
+${PYSITELIB}/hypothesis/utils/terminal.py
+${PYSITELIB}/hypothesis/utils/terminal.pyc
+${PYSITELIB}/hypothesis/utils/terminal.pyo
${PYSITELIB}/hypothesis/vendor/__init__.py
${PYSITELIB}/hypothesis/vendor/__init__.pyc
${PYSITELIB}/hypothesis/vendor/__init__.pyo
diff --git a/devel/py-hypothesis/distinfo b/devel/py-hypothesis/distinfo
index 8170dbca66c..473ea70579d 100644
--- a/devel/py-hypothesis/distinfo
+++ b/devel/py-hypothesis/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.102 2021/11/06 08:49:22 adam Exp $
+$NetBSD: distinfo,v 1.103 2021/11/25 20:01:56 adam Exp $
-BLAKE2s (hypothesis-6.24.2.tar.gz) = d9a5abc33d43ec40541671c082d98adcd4ef6ccf760eaae14d3b368532df46c4
-SHA512 (hypothesis-6.24.2.tar.gz) = d530b761fe5f4ee088582f17a8884b7eea81d6f2f8374e3d1d25c67d57437a796ca53cf5ed96f90a5017e0a92e8674269acf5e329015940eab2b8d60cfb15c8f
-Size (hypothesis-6.24.2.tar.gz) = 312456 bytes
+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