Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.102.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed May 13, 2024
1 parent 5983af0 commit eb86911
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
13 changes: 0 additions & 13 deletions hypothesis-python/RELEASE.rst

This file was deleted.

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

.. include:: ../RELEASE.rst

.. _v6.102.0:

--------------------
6.102.0 - 2024-05-13
--------------------

This release improves our support for the :pypi:`annotated-types` iterable
``GroupedMetadata`` protocol. In order to treat the elements "as if they
had been unpacked", if one such element is a :class:`~hypothesis.strategies.SearchStrategy`
we now resolve to that strategy. Previously, we treated this as an unknown
filter predicate.

We expect this to be useful for libraries implementing custom metadata -
instead of requiring downstream integration, they can implement the protocol
and yield a lazily-created strategy. Doing so only if Hypothesis is in
:obj:`sys.modules` gives powerful integration with no runtime overhead
or extra dependencies.

.. _v6.101.0:

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

0 comments on commit eb86911

Please sign in to comment.