Skip to content

Commit 8a76f8a

Browse files
committed
Bump hypothesis-python version to 6.87.0 and update changelog
[skip ci]
1 parent 61b2940 commit 8a76f8a

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

hypothesis-python/RELEASE.rst

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

hypothesis-python/docs/changes.rst

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

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

21+
.. _v6.87.0:
22+
23+
-------------------
24+
6.87.0 - 2023-09-25
25+
-------------------
26+
27+
This release deprecates use of :func:`~hypothesis.assume` and ``reject()``
28+
outside of property-based tests, because these functions work by raising a
29+
special exception (:issue:`3743`). It also fixes some type annotations
30+
(:issue:`3753`).
31+
2132
.. _v6.86.2:
2233

2334
-------------------

hypothesis-python/src/hypothesis/control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def reject() -> NoReturn:
2828
if _current_build_context.value is None:
2929
note_deprecation(
3030
"Using `reject` outside a property-based test is deprecated",
31-
since="RELEASEDAY",
31+
since="2023-09-25",
3232
has_codemod=False,
3333
)
3434
raise UnsatisfiedAssumption
@@ -44,7 +44,7 @@ def assume(condition: object) -> bool:
4444
if _current_build_context.value is None:
4545
note_deprecation(
4646
"Using `assume` outside a property-based test is deprecated",
47-
since="RELEASEDAY",
47+
since="2023-09-25",
4848
has_codemod=False,
4949
)
5050
if not condition:

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, 86, 2)
11+
__version_info__ = (6, 87, 0)
1212
__version__ = ".".join(map(str, __version_info__))

0 commit comments

Comments
 (0)