Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.123.1

24 Dec 09:33
Compare
Choose a tag to compare

Our pytest plugin now emits a warning if you set Pytest's
"norecursedirs" config option in such a way that the ".hypothesis"
directory would be searched for tests. This reliably indicates that
you've made a mistake which slows down test collection, usually
assuming that your configuration extends the set of ignored patterns
when it actually replaces them. (issue #4200)

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

Hypothesis for Python - version 6.123.0

23 Dec 10:08
Compare
Choose a tag to compare

"from_type()" can now handle constructors with required positional-
only arguments if they have type annotations. Previously, we only
passed arguments by keyword.

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

Hypothesis for Python - version 6.122.7

23 Dec 03:39
Compare
Choose a tag to compare

This patch lays some groundwork for migrating our internal
representation to the typed choice sequence (issue #3921)

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

Hypothesis for Python - version 6.122.6

21 Dec 17:09
Compare
Choose a tag to compare

Hypothesis for Python - version 6.122.5

20 Dec 14:13
Compare
Choose a tag to compare

This release improves shrinking in some cases, especially for
strategies using "one_of()". This will typically improve shrinking
speed and may in some cases improve the end result.

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

Hypothesis for Python - version 6.122.4

19 Dec 04:45
Compare
Choose a tag to compare

This patch improves generation performance for the provisional
"domains()" strategy, including its derivative strategies "urls()" and
"emails()".

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

Hypothesis for Python - version 6.122.3

08 Dec 21:34
Compare
Choose a tag to compare

This patch improves our error and warning messages.

  • Add a warning for "st.text("ascii")" - you probably meant
    "st.text(st.characters(codec="ascii"))". Similarly for ""utf-8"".

  • Recommend remedies in the error message of "Unsatisfiable".

  • When "@given" errors because it was given an extra keyword argument,
    and the keyword matches a setting name like "max_examples",
    recommend "@settings(max_examples=...)" instead.

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

Hypothesis for Python - version 6.122.2

08 Dec 21:12
Compare
Choose a tag to compare

This patch updates some outdated external links in our documentation.

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

Hypothesis for Python - version 6.122.1

01 Dec 19:54
Compare
Choose a tag to compare

Hypothesis for Python - version 6.122.0

29 Nov 23:20
Compare
Choose a tag to compare

This release adds ".span_start()" and ".span_end()" methods to our
internal "PrimitiveProvider" interface, for use by Alternative
backends for Hypothesis.

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