pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-hypothesis



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 25 20:01:56 UTC 2021

Modified Files:
        pkgsrc/devel/py-hypothesis: Makefile PLIST distinfo

Log Message:
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()


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.102 -r1.103 pkgsrc/devel/py-hypothesis/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-hypothesis/Makefile
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.103 pkgsrc/devel/py-hypothesis/Makefile:1.104
--- pkgsrc/devel/py-hypothesis/Makefile:1.103   Sat Nov  6 08:49:22 2021
+++ pkgsrc/devel/py-hypothesis/Makefile Thu Nov 25 20:01:56 2021
@@ -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/}

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.34 pkgsrc/devel/py-hypothesis/PLIST:1.35
--- pkgsrc/devel/py-hypothesis/PLIST:1.34       Sun Sep 12 09:53:53 2021
+++ pkgsrc/devel/py-hypothesis/PLIST    Thu Nov 25 20:01:56 2021
@@ -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/convention
 ${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

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.102 pkgsrc/devel/py-hypothesis/distinfo:1.103
--- pkgsrc/devel/py-hypothesis/distinfo:1.102   Sat Nov  6 08:49:22 2021
+++ pkgsrc/devel/py-hypothesis/distinfo Thu Nov 25 20:01:56 2021
@@ -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