Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.127.7 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Mar 5, 2025
1 parent 49986c1 commit 3312479
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
8 changes: 0 additions & 8 deletions hypothesis-python/RELEASE.rst

This file was deleted.

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

.. include:: ../RELEASE.rst

.. _v6.127.7:

--------------------
6.127.7 - 2025-03-05
--------------------

Fix a type-hinting regression from :ref:`version 6.125.1 <v6.125.1>`, where we would no longer guarantee the type of the argument to ``.filter`` predicates (:issue:`4269`).

.. code-block:: python
# x was previously Unknown, but is now correctly guaranteed to be int
st.integers().filter(lambda x: x > 0)
.. _v6.127.6:

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

0 comments on commit 3312479

Please sign in to comment.