Skip to content

Commit 4b1882c

Browse files
committed
Bump hypothesis-python version to 6.54.0 and update changelog
[skip ci]
1 parent cc6f84e commit 4b1882c

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

hypothesis-python/RELEASE.rst

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

hypothesis-python/docs/changes.rst

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

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

21+
.. _v6.54.0:
22+
23+
-------------------
24+
6.54.0 - 2022-08-02
25+
-------------------
26+
27+
Reporting of :obj:`multiple failing examples <hypothesis.settings.report_multiple_bugs>`
28+
now uses the :pep:`654` `ExceptionGroup <https://docs.python.org/3.11/library/exceptions.html#ExceptionGroup>`__ type, which is provided by the
29+
:pypi:`exceptiongroup` backport on Python 3.10 and earlier (:issue:`3175`).
30+
``hypothesis.errors.MultipleFailures`` is therefore deprecated.
31+
32+
Failing examples and other reports are now stored as :pep:`678` exception notes, which
33+
ensures that they will always appear together with the traceback and other information
34+
about their respective error.
35+
2136
.. _v6.53.0:
2237

2338
-------------------

hypothesis-python/src/hypothesis/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def __getattr__(name):
132132
note_deprecation(
133133
"MultipleFailures is deprecated; use the builtin `BaseExceptionGroup` type "
134134
"instead, or `exceptiongroup.BaseExceptionGroup` before Python 3.11",
135-
since="RELEASEDAY",
135+
since="2022-08-02",
136136
has_codemod=False, # This would be a great PR though!
137137
)
138138
return BaseExceptionGroup

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

0 commit comments

Comments
 (0)