Repository navigation
Releases
Hypothesis version 6.170.15
Hypothesis now has 100% type coverage of our public API, as checked by
pyrefly.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.14
This patch adjusts coverage settings for new dependencies; there is no
user-visible change.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.13
This patch fixes the codemod for deprecated "characters()" arguments,
which previously raised an error when "**kwargs" were also passed.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.12
This patch reduces Hypothesis' overhead for each test case. For simple
properties and strategies, generating test cases takes up to a third
less time and shrinking failing examples is up to twice as fast; most
tests will see a smaller improvement. "import hypothesis" is also
about 20% faster.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.11
This patch makes writing observability data to ".hypothesis/observed"
cheaper when tests run in multiple threads, and defers cleaning up old
observation files from import time until observations are first
written.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.10
This patch fixes an internal error from "lists()" with "unique=True",
when the elements are a filtered "sampled_from()" with too few allowed
values to reach "min_size". It also ensures that "domains()" always
generates at least one subdomain, even with a small "max_length".
We also fixed some internal bookkeeping that could go wrong when an
exception was raised and caught during generation, for example by
"recursive()", which could make shrinking less effective.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.9
This release fixes a "DeprecationWarning" when importing
"hypothesis.extra.dateutil" with dateutil 3.0 or higher (issue #4934).
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.8
This patch fixes a regression in version 6.170.1, where unique
collections of non-empty collections, such as
"st.sets(st.frozensets(st.integers(), min_size=1), min_size=1)", could
fail the "HealthCheck.large_base_example" health check (issue #4918).
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.7
This improves type coverage of stateful testing.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis version 6.170.6
This patch adds PyPy 3.12 wheels to releases (issue #4921).
Thanks to @moreati for this contribution!
The canonical version of these notes (with links) is on readthedocs.