Skip to content

Commit eb86911

Browse files
committed
Bump hypothesis-python version to 6.102.0 and update changelog
[skip ci]
1 parent 5983af0 commit eb86911

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

hypothesis-python/RELEASE.rst

-13
This file was deleted.

hypothesis-python/docs/changes.rst

+18
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ Hypothesis 6.x
1818

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

21+
.. _v6.102.0:
22+
23+
--------------------
24+
6.102.0 - 2024-05-13
25+
--------------------
26+
27+
This release improves our support for the :pypi:`annotated-types` iterable
28+
``GroupedMetadata`` protocol. In order to treat the elements "as if they
29+
had been unpacked", if one such element is a :class:`~hypothesis.strategies.SearchStrategy`
30+
we now resolve to that strategy. Previously, we treated this as an unknown
31+
filter predicate.
32+
33+
We expect this to be useful for libraries implementing custom metadata -
34+
instead of requiring downstream integration, they can implement the protocol
35+
and yield a lazily-created strategy. Doing so only if Hypothesis is in
36+
:obj:`sys.modules` gives powerful integration with no runtime overhead
37+
or extra dependencies.
38+
2139
.. _v6.101.0:
2240

2341
--------------------

hypothesis-python/src/hypothesis/version.py

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

0 commit comments

Comments
 (0)