Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.69.0

15 Mar 20:02
Compare
Choose a tag to compare

This release turns "HealthCheck.return_value" and
"HealthCheck.not_a_test_method" into unconditional errors. Passing
them to "suppress_health_check=" is therefore a deprecated no-op.
(issue #3568). Thanks to Reagan Lee for the patch!

Separately, GraalPy can now run and pass most of the hypothesis test
suite (issue #3587).

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

Hypothesis for Python - version 6.68.3

15 Mar 08:43
Compare
Choose a tag to compare

This patch updates our vendored list of top-level domains, which is
used by the provisional "domains()" strategy.

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

Hypothesis for Python - version 6.68.2

17 Feb 07:54
Compare
Choose a tag to compare

This patch fixes missing imports of the "re" module, when ghostwriting
tests which include compiled patterns or regex flags. Thanks to Jens
Heinrich for reporting and promptly fixing this bug!

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

Hypothesis for Python - version 6.68.1

12 Feb 07:53
Compare
Choose a tag to compare

This patch adds some private hooks for use in research on Schemathesis
(see our preprint here).

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

Hypothesis for Python - version 6.68.0

09 Feb 07:19
Compare
Choose a tag to compare

This release adds support for the Array API's 2022.12 release via the
"api_version" argument in "make_strategies_namespace()". Concretely
this involves complex support in its existing strategies, plus an
introduced "xps.complex_dtypes()" strategy.

Additionally this release now treats hypothesis.extra.array_api as
stable, meaning breaking changes should only happen with major
releases of Hypothesis.

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

Hypothesis for Python - version 6.67.1

05 Feb 21:58
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.67.0

05 Feb 00:23
Compare
Choose a tag to compare

This release allows for more precise generation of complex numbers
using "from_dtype()", by supporting the "width", "min_magnitude", and
"min_magnitude" arguments (issue #3468).

Thanks to Felix Divo for this feature!

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

Hypothesis for Python - version 6.66.2

04 Feb 10:19
Compare
Choose a tag to compare

This patch fixes a rare "RecursionError" when pretty-printing a multi-
line object without type-specific printer, which was passed to a
function which returned the same object by ".map()" or "builds()" and
thus recursed due to the new pretty reprs in Hypothesis 6.65.0 -
2023-01-24 (issue #3560). Apologies to all those affected.

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

Hypothesis for Python - version 6.66.1

03 Feb 22:26
Compare
Choose a tag to compare

This makes "hypothesis.extra.numpy.from_dtype()" pass through the
parameter allow_subnormal for complex dtypes.

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

Hypothesis for Python - version 6.66.0

02 Feb 11:20
Compare
Choose a tag to compare

This release adds a "width" parameter to
"hypothesis.strategies.complex_numbers()", analogously to
"hypothesis.strategies.floats()".

Thanks to Felix Divo for the new feature!

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