Skip to content

Commit e75348d

Browse files
committed
Bump hypothesis-python version to 6.127.1 and update changelog
[skip ci]
1 parent 41bb6e8 commit e75348d

File tree

3 files changed

+25
-20
lines changed

3 files changed

+25
-20
lines changed

hypothesis-python/RELEASE.rst

-19
This file was deleted.

hypothesis-python/docs/changes.rst

+24
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,30 @@ Hypothesis 6.x
1818

1919
.. include:: ../RELEASE.rst
2020

21+
.. _v6.127.1:
22+
23+
--------------------
24+
6.127.1 - 2025-02-23
25+
--------------------
26+
27+
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.
28+
29+
For example, we now print:
30+
31+
.. code-block: python
32+
33+
a_0 = state.add_to_bundle(a=0)
34+
state.unrelated(value=0)
35+
36+
instead of
37+
38+
.. code-block: python
39+
40+
a_0 = state.add_to_bundle(a=0)
41+
state.unrelated(value=a_0)
42+
43+
if the ``unrelated`` rule draws from a regular strategy such as :func:`~hypothesis.strategies.integers` instead of the ``a`` bundle.
44+
2145
.. _v6.127.0:
2246

2347
--------------------

hypothesis-python/src/hypothesis/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11-
__version_info__ = (6, 127, 0)
11+
__version_info__ = (6, 127, 1)
1212
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)