Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Adam Ciarcinski
Date: 2021-12-02 12:15:26
Message id: 20211202111526.8A10FFAEC@cvs.NetBSD.org
Log Message:
py-hypothesis: updated to 6.29.3
6.29.3
This patch fixes a bug in mutually_broadcastable_shapes(), which restricted the \
patterns of singleton dimensions that could be generated for dimensions that \
extended beyond base_shape.
6.29.2
This patch clarifies our pretty-printing of DataFrames.
6.29.1
This patch documents timezones() Windows-only requirement for the tzdata \
package, and ensures that pip install hypothesis[zoneinfo] will install the \
latest version.
6.29.0
This release teaches builds() to use deferred() when resolving unrecognised type \
hints, so that you can conveniently register strategies for recursive types with \
constraints on some arguments:
class RecursiveClass:
def __init__(self, value: int, next_node: \
typing.Optional["SomeClass"]):
assert value > 0
self.value = value
self.next_node = next_node
st.register_type_strategy(
RecursiveClass, st.builds(RecursiveClass, value=st.integers(min_value=1))
)
6.28.1
This release fixes some internal calculations related to collection sizes.
6.28.0
This release modifies our pytest plugin, to avoid importing Hypothesis and \
therefore triggering Hypothesis’ entry points for test suites where Hypothesis \
is installed but not actually used.
6.27.3
This release fixes issue 3080, where from_type() failed on unions containing PEP \
585 builtin generic types (like list[int]) in Python 3.9 and later.
6.27.2
This patch makes the hypothesis codemod command somewhat faster.
Files: