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.27.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/572048c9a991
branches: trunk
changeset: 770144:572048c9a991
user: adam <adam%pkgsrc.org@localhost>
date: Thu Nov 25 20:01:56 2021 +0000
description:
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()
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 1361af63e431 -r 572048c9a991 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile Thu Nov 25 19:52:43 2021 +0000
+++ b/devel/py-hypothesis/Makefile Thu Nov 25 20:01:56 2021 +0000
@@ -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 -r 1361af63e431 -r 572048c9a991 devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Thu Nov 25 19:52:43 2021 +0000
+++ b/devel/py-hypothesis/PLIST Thu Nov 25 20:01:56 2021 +0000
@@ -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/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 -r 1361af63e431 -r 572048c9a991 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo Thu Nov 25 19:52:43 2021 +0000
+++ b/devel/py-hypothesis/distinfo Thu Nov 25 20:01:56 2021 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index