Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.151.5

03 Feb 19:34

Choose a tag to compare

This patch teaches our pytest plugin to :ref: find interesting constants <v6.131.1> when pytest is collecting tests, to avoid
arbitrarily attributing the latency to whichever test function
happened to be executed first (issue #4627).

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.151.4

29 Jan 01:30

Choose a tag to compare

This patch adjusts how we compute the stopping threshold introduced in
version 6.151.3, while still maintaining 99% confidence that <1% of
test cases pass.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.151.3

28 Jan 05:37

Choose a tag to compare

This patch makes Hypothesis more tolerant of slow-to-satisfy
"assume()" calls. Previously, Hypothesis would give up after
"max_examples * 10" attempts; now it uses a statistical test to stop
only when 99% confident that <1% of examples would pass (issue #4623).

Thanks to @ajdavis for this improvement!

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.151.2

26 Jan 06:45

Choose a tag to compare

Hypothesis for Python - version 6.151.1

26 Jan 04:24

Choose a tag to compare

Improve internal categorization of test cases when an alternative
backend raises "BackendCannotProceed".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.151.0

25 Jan 19:46

Choose a tag to compare

Add 2025.12 to the list of recognized Array API versions in
"hypothesis.extra.array_api".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.150.3

23 Jan 07:53

Choose a tag to compare

Hypothesis now generates powers of 2 more often when using
"integers()".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.150.2

13 Jan 17:09

Choose a tag to compare

Hypothesis for Python - version 6.150.1

12 Jan 08:46

Choose a tag to compare

This patch fixes a bug where "recursive()" would fail in cases where
the "extend=" function does not reference it's argument - which was
assumed by the recent "min_leaves=" feature, because the strategy
can't actually recurse otherwise. (issue #4638)

Now, the historical behavior is working-but-deprecated, or an error if
you explicitly pass "min_leaves=".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.150.0

06 Jan 17:08

Choose a tag to compare

This release adds a "min_leaves" argument to "recursive()", which
ensures that generated recursive structures have at least the
specified number of leaf nodes (issue #4205).

The canonical version of these notes (with links) is on readthedocs.