Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Adam Ciarcinski
Date: 2024-02-09 13:50:10
Message id: 20240209125010.849F4FA42@cvs.NetBSD.org
Log Message:
py-hypothesis: updated to 6.98.3
6.98.3
This patch fixes an error when generating observability reports involving large \
(n > 1e308) integers.
6.98.2
This patch refactors some internals. There is no user-visible change.
6.98.1
This release improves our distribution of generated values for all strategies, \
by doing a better job of tracking which values we have generated before and \
avoiding generating them again.
For example, st.lists(st.integers()) previously generated ~5 each of [] [0] in \
100 examples. In this release, each of [] and [0] are generated ~1-2 times each.
6.98.0
This release deprecates use of the global random number generator while drawing \
from a strategy, because this makes test cases less diverse and prevents us from \
reporting minimal counterexamples.
If you see this new warning, you can get a quick fix by using randoms(); or use \
more idiomatic strategies sampled_from(), floats(), integers(), and so on.
Note that the same problem applies to e.g. numpy.random, but for performance \
reasons we only check the stdlib random module - ignoring even other sources \
passed to register_random().
6.97.6
This patch updates our vendored list of top-level domains, which is used by the \
provisional domains() strategy.
6.97.5
This patch adds some observability information about how many times predicates \
in assume() or precondition() were satisfied, so that downstream tools can warn \
you if some were never satisfied by any test case.
6.97.4
This patch improves formatting and adds some cross-references to our docs.
Files: