Skip to content

Commit 174c1f1

Browse files
committed
Bump hypothesis-python version to 6.150.1 and update changelog
[skip ci]
1 parent 8cc1f38 commit 174c1f1

4 files changed

Lines changed: 16 additions & 11 deletions

File tree

hypothesis-python/RELEASE.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.

hypothesis-python/docs/changelog.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ Hypothesis 6.x
1818

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

21+
.. _v6.150.1:
22+
23+
--------------------
24+
6.150.1 - 2026-01-12
25+
--------------------
26+
27+
This patch fixes a bug where |st.recursive| would fail in cases where the
28+
``extend=`` function does not reference it's argument - which was assumed
29+
by the recent ``min_leaves=`` feature, because the strategy can't actually
30+
recurse otherwise. (:issue:`4638`)
31+
32+
Now, the historical behavior is working-but-deprecated, or an error if you
33+
explicitly pass ``min_leaves=``.
34+
2135
.. _v6.150.0:
2236

2337
--------------------

hypothesis-python/src/hypothesis/strategies/_internal/recursive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def do_validate(self) -> None:
133133
if self.min_leaves is None:
134134
note_deprecation(
135135
msg,
136-
since="RELEASEDAY",
136+
since="2026-01-12",
137137
has_codemod=False,
138138
stacklevel=1,
139139
)

hypothesis-python/src/hypothesis/version.py

Lines changed: 1 addition & 1 deletion
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, 150, 0)
11+
__version_info__ = (6, 150, 1)
1212
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)