Skip to content

Releases: HypothesisWorks/hypothesis

Hypothesis for Python - version 6.135.7

12 Jun 02:18
Compare
Choose a tag to compare

Fixes a race condition in "add_listener()" for
"DirectoryBasedExampleDatabase" after version 6.135.1 where the
listener might have tried to read a file that doesn't exist.

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

Hypothesis for Python - version 6.135.6

11 Jun 00:00
Compare
Choose a tag to compare

This patch corrects the f-string formatting of a few array-related
error messages.

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

Hypothesis for Python - version 6.135.5

10 Jun 22:21
Compare
Choose a tag to compare

Improve the error message when applying "@given" to a pytest fixture
with pytest 8.4.0.

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

Hypothesis for Python - version 6.135.4

09 Jun 02:31
Compare
Choose a tag to compare

Further improve the performance of the constants-collection feature
introduced in version 6.131.1, by ignoring large files and files with
many constants.

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

Hypothesis for Python - version 6.135.3

08 Jun 23:02
Compare
Choose a tag to compare

This release adds the experimental and unstable
"OBSERVABILITY_CHOICES" option for observability. If set, the choice
sequence is included in "metadata.choice_nodes", and choice sequence
spans are included in "metadata.choice_spans".

These are relatively low-level implementation detail of Hypothesis,
and are exposed in observability for users building tools or research
on top of Hypothesis. See "PrimitiveProvider" for more details about
the choice sequence and choice spans.

We are actively working towards a better interface for this. Feel free
to use "OBSERVABILITY_CHOICES" to experiment, but don't rely on it
yet!

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

Hypothesis for Python - version 6.135.2

08 Jun 02:58
Compare
Choose a tag to compare

This patch restores compatibility when using the legacy Python 3.9
LL(1) parser yet again, because the fix in version 6.131.33 was too
brittle.

Thanks to Marco Ricci for this fix!

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

Hypothesis for Python - version 6.135.1

05 Jun 22:08
Compare
Choose a tag to compare

"DirectoryBasedExampleDatabase" now removes empty directories after
"delete()" is called.

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

Hypothesis for Python - version 6.135.0

03 Jun 23:06
Compare
Choose a tag to compare

This release adds "run_conformance_test()", for use in testing
implementations of alternative backends.

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

Hypothesis for Python - version 6.134.0

03 Jun 20:53
Compare
Choose a tag to compare

This patch adds "hypothesis.extra.django.SimpleTestCase" (issue #4117)

Thanks to Chris Wesseling for this contribution!

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

Hypothesis for Python - version 6.133.2

03 Jun 01:17
Compare
Choose a tag to compare