Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.127.1 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Feb 23, 2025
1 parent 41bb6e8 commit e75348d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
19 changes: 0 additions & 19 deletions hypothesis-python/RELEASE.rst

This file was deleted.

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

.. include:: ../RELEASE.rst

.. _v6.127.1:

--------------------
6.127.1 - 2025-02-23
--------------------

Improve the clarity of printing counterexamples in :doc:`stateful testing <stateful>`, by avoiding confusing :class:`~hypothesis.stateful.Bundle` references with equivalent values drawn from a regular strategy.

For example, we now print:

.. code-block: python
a_0 = state.add_to_bundle(a=0)
state.unrelated(value=0)
instead of

.. code-block: python
a_0 = state.add_to_bundle(a=0)
state.unrelated(value=a_0)
if the ``unrelated`` rule draws from a regular strategy such as :func:`~hypothesis.strategies.integers` instead of the ``a`` bundle.

.. _v6.127.0:

--------------------
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, 127, 0)
__version_info__ = (6, 127, 1)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit e75348d

Please sign in to comment.