Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.54.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Aug 2, 2022
1 parent cc6f84e commit 4b1882c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
10 changes: 0 additions & 10 deletions hypothesis-python/RELEASE.rst

This file was deleted.

15 changes: 15 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ Hypothesis 6.x

.. include:: ../RELEASE.rst

.. _v6.54.0:

-------------------
6.54.0 - 2022-08-02
-------------------

Reporting of :obj:`multiple failing examples <hypothesis.settings.report_multiple_bugs>`
now uses the :pep:`654` `ExceptionGroup <https://docs.python.org/3.11/library/exceptions.html#ExceptionGroup>`__ type, which is provided by the
:pypi:`exceptiongroup` backport on Python 3.10 and earlier (:issue:`3175`).
``hypothesis.errors.MultipleFailures`` is therefore deprecated.

Failing examples and other reports are now stored as :pep:`678` exception notes, which
ensures that they will always appear together with the traceback and other information
about their respective error.

.. _v6.53.0:

-------------------
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __getattr__(name):
note_deprecation(
"MultipleFailures is deprecated; use the builtin `BaseExceptionGroup` type "
"instead, or `exceptiongroup.BaseExceptionGroup` before Python 3.11",
since="RELEASEDAY",
since="2022-08-02",
has_codemod=False, # This would be a great PR though!
)
return BaseExceptionGroup
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/version.py
Original file line number Diff line number Diff line change
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, 53, 0)
__version_info__ = (6, 54, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 4b1882c

Please sign in to comment.