From 33124796b7cdaa1642f8df10357202e4e203f00f Mon Sep 17 00:00:00 2001 From: CI on behalf of the Hypothesis team Date: Wed, 5 Mar 2025 20:01:26 +0000 Subject: [PATCH] Bump hypothesis-python version to 6.127.7 and update changelog [skip ci] --- hypothesis-python/RELEASE.rst | 8 -------- hypothesis-python/docs/changes.rst | 13 +++++++++++++ hypothesis-python/src/hypothesis/version.py | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 hypothesis-python/RELEASE.rst diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst deleted file mode 100644 index bc538616b9..0000000000 --- a/hypothesis-python/RELEASE.rst +++ /dev/null @@ -1,8 +0,0 @@ -RELEASE_TYPE: patch - -Fix a type-hinting regression from :ref:`version 6.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) diff --git a/hypothesis-python/docs/changes.rst b/hypothesis-python/docs/changes.rst index 781e76ab52..3472fb2d3d 100644 --- a/hypothesis-python/docs/changes.rst +++ b/hypothesis-python/docs/changes.rst @@ -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 `, 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: -------------------- diff --git a/hypothesis-python/src/hypothesis/version.py b/hypothesis-python/src/hypothesis/version.py index 2fc06128f4..a47d4f2d00 100644 --- a/hypothesis-python/src/hypothesis/version.py +++ b/hypothesis-python/src/hypothesis/version.py @@ -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__))