Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.87.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Sep 25, 2023
1 parent 61b2940 commit 8a76f8a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
6 changes: 0 additions & 6 deletions hypothesis-python/RELEASE.rst

This file was deleted.

11 changes: 11 additions & 0 deletions hypothesis-python/docs/changes.rst
Expand Up @@ -18,6 +18,17 @@ Hypothesis 6.x

.. include:: ../RELEASE.rst

.. _v6.87.0:

-------------------
6.87.0 - 2023-09-25
-------------------

This release deprecates use of :func:`~hypothesis.assume` and ``reject()``
outside of property-based tests, because these functions work by raising a
special exception (:issue:`3743`). It also fixes some type annotations
(:issue:`3753`).

.. _v6.86.2:

-------------------
Expand Down
4 changes: 2 additions & 2 deletions hypothesis-python/src/hypothesis/control.py
Expand Up @@ -28,7 +28,7 @@ def reject() -> NoReturn:
if _current_build_context.value is None:
note_deprecation(
"Using `reject` outside a property-based test is deprecated",
since="RELEASEDAY",
since="2023-09-25",
has_codemod=False,
)
raise UnsatisfiedAssumption
Expand All @@ -44,7 +44,7 @@ def assume(condition: object) -> bool:
if _current_build_context.value is None:
note_deprecation(
"Using `assume` outside a property-based test is deprecated",
since="RELEASEDAY",
since="2023-09-25",
has_codemod=False,
)
if not condition:
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/version.py
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, 86, 2)
__version_info__ = (6, 87, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 8a76f8a

Please sign in to comment.