Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.120.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Nov 27, 2024
1 parent 89d58f2 commit 32817c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 0 additions & 4 deletions hypothesis-python/RELEASE.rst

This file was deleted.

9 changes: 9 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ Hypothesis 6.x

.. include:: ../RELEASE.rst

.. _v6.120.0:

--------------------
6.120.0 - 2024-11-27
--------------------

* This release changes our input distribution for low ``max_examples``. Previously, we capped the size of inputs when generating at least the first 10 inputs, with the reasoning that early inputs to a property should be small. However, this meant properties with ``max_examples=10`` would consistent entirely of small inputs. This patch removes the hard lower bound so that inputs to these properties are more representative of the input space.
* When a user requests an interactive input via ``strategy.example``, we generate and cache a batch of 100 inputs, returning the first one. This can be expensive for large strategies or when only a few examples are needed. This release improves the speed of ``strategy.example`` by lowering the batch size to 10.

.. _v6.119.4:

--------------------
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.

__version_info__ = (6, 119, 4)
__version_info__ = (6, 120, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 32817c5

Please sign in to comment.