diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst deleted file mode 100644 index eca4b54916..0000000000 --- a/hypothesis-python/RELEASE.rst +++ /dev/null @@ -1,19 +0,0 @@ -RELEASE_TYPE: patch - -Improve the clarity of printing counterexamples in :doc:`stateful testing `, 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. diff --git a/hypothesis-python/docs/changes.rst b/hypothesis-python/docs/changes.rst index 9f081eef77..b779a5d7b0 100644 --- a/hypothesis-python/docs/changes.rst +++ b/hypothesis-python/docs/changes.rst @@ -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 `, 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: -------------------- diff --git a/hypothesis-python/src/hypothesis/version.py b/hypothesis-python/src/hypothesis/version.py index 8986d6227e..47796f022b 100644 --- a/hypothesis-python/src/hypothesis/version.py +++ b/hypothesis-python/src/hypothesis/version.py @@ -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__))