Releases: HypothesisWorks/hypothesis
Hypothesis for Python - version 6.118.0
The "urls()" strategy no longer generates URLs where the port number
is 0.
This change is motivated by the idea that the generated URLs should,
at least in theory, be possible to fetch. The port number 0 is
special; if a server binds to port 0, the kernel will allocate an
unused, and non-zero, port instead. That means that it's not possible
for a server to actually be listening on port 0. This motivation is
briefly described in the documentation for "urls()".
Fixes issue #4157.
Thanks to @gmacon for this contribution!
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.117.0
This changes the behaviour of settings profiles so that if you
reregister the currently loaded profile it will automatically reload
it. Previously you would have had to load it again.
In particular this means that if you register a "ci" profile, it will
automatically be used when Hypothesis detects you are running on CI.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.116.0
Hypothesis now detects if it is running on a CI server and provides
better default settings for running on CI in this case.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.115.6
This patch changes the priority order of pretty printing logic so that
a user provided pretty printing method will always be used in
preference to e.g. printing it like a dataclass.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.74.0
This release adds support for nullable pandas dtypes in "pandas()"
(issue #3604). Thanks to Cheuk Ting Ho for implementing this at the
PyCon sprints!
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.72.4
This patch fixes type annotations for the "arrays()" strategy. Thanks
to Francesc Elies for pull request #3602.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.72.3
This patch fixes a bug with "from_type()" with "dict[tuple[int, int],
str]" (issue #3527).
Thanks to Nick Muoh at the PyCon Sprints!
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.72.2
This patch refactors our internals to facilitate an upcoming feature.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.72.1
This patch fixes some documentation and prepares for future features.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.72.0
This release deprecates "Healthcheck.all()", and adds a codemod to
automatically replace it with "list(Healthcheck)" (issue #3596).
The canonical version of these notes (with links) is on readthedocs.