Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Adam Ciarcinski
Date: 2018-08-17 09:15:22
Message id: 20180817071522.BE89AFBEC@cvs.NetBSD.org
Log Message:
py-hypothesis: updated to 3.68.0
3.68.0:
:func:~hypothesis.extra.numpy.arrays now checks that integer and float values \
drawn from elements and fill strategies can be safely cast to the dtype of the \
array, and emits a warning otherwise.
Elements in the resulting array could previously violate constraints on the \
elements strategy due to floating-point overflow or truncation of integers to \
fit smaller types.
3.67.1:
This release contains a tiny refactoring of the internals. There is no \
user-visible change.
3.67.0:
This release adds a width argument to :func:~hypothesis.strategies.floats, to \
generate lower-precision floating point numbers for e.g. Numpy arrays.
The generated examples are always instances of Python's native float type, which \
is 64bit, but passing width=32 will ensure that all values can be exactly \
represented as 32bit floats. This can be useful to avoid overflow (to +/- \
infinity), and for efficiency of generation and shrinking.
Half-precision floats (width=16) are also supported, but require Numpy if you \
are running Python 3.5 or earlier.
Files: