Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Adam Ciarcinski
Date: 2021-11-25 21:01:56
Message id: 20211125200156.B6E04FAEC@cvs.NetBSD.org
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()
Files: