Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.152.4

27 Apr 20:19

Choose a tag to compare

This patch fixes a rare internal error during "Phase.explain"
introduced in version 6.149.0 for certain strategies (issue #4708).

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

Hypothesis for Python - version 6.152.3

26 Apr 17:31

Choose a tag to compare

The "hypothesis-urandom" backend now reads from "/dev/urandom" with
buffering disabled, which improves the control of those hooking
"/dev/urandom" to change or read Hypothesis's random decisions.

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

Hypothesis for Python - version 6.152.2

24 Apr 04:26

Choose a tag to compare

This release further improves printing of generated values, building
on the changes in version 6.151.11.

Principle changes:

  • In many cases where we would have printed a complex expression
    producing a value, we now print the repr (or a pretty-printed
    version of it).

  • Additionally, in some cases where we would print a complex
    expression that involved a lambda, we are now able to simplify that
    expression into a more readable one.

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

Hypothesis for Python - version 6.152.1

14 Apr 22:29

Choose a tag to compare

Hypothesis for Python - version 6.152.0

14 Apr 18:21

Choose a tag to compare

Hypothesis generally recommends that the ".hypothesis" directory not
be checked into version control. As a result, Hypothesis now
automatically creates a ".gitignore" with "*" in the ".hypothesis"
directory, which excludes it from being tracked by git.

If you do want to check ".hypothesis" into git, you can remove the
".gitignore" file. Hypothesis will not re-create it unless the entire
".hypothesis" directory is removed.

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

Hypothesis for Python - version 6.151.14

13 Apr 21:50

Choose a tag to compare

This patch fixes our "from_regex()" type annotations so that
"from_regex(..., alphabet=None)" is accepted.

This patch also adds unicode line breaks and thai combining vowels to
our list of constant strings to upweight at runtime.

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

Hypothesis for Python - version 6.151.13

13 Apr 06:33

Choose a tag to compare

This patch removes some newly unnecessary "# type: ignore" comments.

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

Hypothesis for Python - version 6.151.12

08 Apr 19:40

Choose a tag to compare

This release improves "Phase.explain" output by excluding pytest-
related syrupy files as a possible source of variation.

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

Hypothesis for Python - version 6.151.11

05 Apr 17:36

Choose a tag to compare

This patch improves printing of primitive values generated from
complex strategies, particularly for "from_regex()". Previously, these
would often be printed as function calls desctribing how to construct
them. Now they will always be printed as a literal value.

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

Hypothesis for Python - version 6.151.10

29 Mar 01:06

Choose a tag to compare

When shrinking takes more than five minutes, Hypothesis now prints the
"@seed" decorator alongside the slow-shrinking warning so you can
reproduce the failure.

Thanks to Ian Hunt-Isaak for this contribution!

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