Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.56.3

17 Oct 16:56
Compare
Choose a tag to compare

This patch teaches "text()" to rewrite a few more filter predicates
(issue #3134). You're unlikely to notice any change.

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

Hypothesis for Python - version 6.56.2

10 Oct 23:16
Compare
Choose a tag to compare

This patch updates our vendored list of top-level domains, which is
used by the provisional "domains()" strategy, and fixes some incorrect
examples in the docs for "mutually_broadcastable_shapes()".

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

Hypothesis for Python - version 6.56.1

05 Oct 05:17
Compare
Choose a tag to compare

This patch improves the error message when Hypothesis detects "flush
to zero" mode for floating-point: we now report which package(s)
enabled this, which can make debugging much easier. See issue #3458
for details.

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

Hypothesis for Python - version 6.56.0

02 Oct 21:02
Compare
Choose a tag to compare

This release defines "bool()" on "SearchStrategy". It always
returns "True", like before, but also emits a warning to help with
cases where you intended to draw a value (issue #3463).

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

Hypothesis for Python - version 6.55.0

29 Sep 20:55
Compare
Choose a tag to compare

In preparation for future versions of the Array API standard,
"make_strategies_namespace()" now accepts an optional "api_version"
argument, which determines the version conformed to by the returned
strategies namespace. If "None", the version of the passed array
module "xp" is inferred.

This release also introduces "xps.real_dtypes()". This is currently
equivalent to the existing "xps.numeric_dtypes()" strategy, but exists
because the latter is expected to include complex numbers in the next
version of the standard.

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

Hypothesis for Python - version 6.54.6

18 Sep 05:03
Compare
Choose a tag to compare

If multiple explicit examples (from "@example()") raise a Skip
exception, for consistency with generated examples we now re-raise the
first instead of collecting them into an ExceptionGroup (issue #3453).

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

Hypothesis for Python - version 6.54.5

05 Sep 04:51
Compare
Choose a tag to compare

This patch updates our autoformatting tools, improving our code style
without any API changes.

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

Hypothesis for Python - version 6.54.4

20 Aug 18:39
Compare
Choose a tag to compare

This patch fixes some type annotations for Python 3.9 and earlier
(issue #3397), and teaches explain mode about certain locations it
should not bother reporting (issue #3439).

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

Hypothesis for Python - version 6.54.3

12 Aug 18:31
Compare
Choose a tag to compare

This patch teaches the Ghostwriter an additional check for function
and class locations that should make it use public APIs more often.

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

Hypothesis for Python - version 6.54.2

10 Aug 04:17
Compare
Choose a tag to compare

This patch fixes our workaround for a pytest bug where the inner
exceptions in an ExceptionGroup are not displayed (issue #3430).

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