diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst deleted file mode 100644 index db1feb3dfe..0000000000 --- a/hypothesis-python/RELEASE.rst +++ /dev/null @@ -1,5 +0,0 @@ -RELEASE_TYPE: patch - -This release deprecates use of both ``min_dims > len(shape)`` and -``max_dims > len(shape)`` when ``allow_newaxis == False`` in -:func:`~hypothesis.extra.numpy.basic_indices` (:issue:`3091`). diff --git a/hypothesis-python/docs/changes.rst b/hypothesis-python/docs/changes.rst index 7c0db2a2a0..6d9055e104 100644 --- a/hypothesis-python/docs/changes.rst +++ b/hypothesis-python/docs/changes.rst @@ -18,6 +18,16 @@ Hypothesis 6.x .. include:: ../RELEASE.rst +.. _v6.21.2: + +------------------- +6.21.2 - 2021-09-15 +------------------- + +This release deprecates use of both ``min_dims > len(shape)`` and +``max_dims > len(shape)`` when ``allow_newaxis == False`` in +:func:`~hypothesis.extra.numpy.basic_indices` (:issue:`3091`). + .. _v6.21.1: ------------------- diff --git a/hypothesis-python/src/hypothesis/extra/numpy.py b/hypothesis-python/src/hypothesis/extra/numpy.py index 2b5b1681ba..e044015a3d 100644 --- a/hypothesis-python/src/hypothesis/extra/numpy.py +++ b/hypothesis-python/src/hypothesis/extra/numpy.py @@ -829,7 +829,7 @@ def basic_indices( f"min_dims={min_dims} is larger than len(shape)={len(shape)}, " "but allow_newaxis=False makes it impossible for an indexing " "operation to add dimensions.", - since="RELEASEDAY", + since="2021-09-15", has_codemod=False, ) check_valid_dims(min_dims, "min_dims") @@ -846,7 +846,7 @@ def basic_indices( f"max_dims={max_dims} is larger than len(shape)={len(shape)}, " "but allow_newaxis=False makes it impossible for an indexing " "operation to add dimensions.", - since="RELEASEDAY", + since="2021-09-15", has_codemod=False, ) check_valid_dims(max_dims, "max_dims") diff --git a/hypothesis-python/src/hypothesis/version.py b/hypothesis-python/src/hypothesis/version.py index c63439c7f4..4deb5453b8 100644 --- a/hypothesis-python/src/hypothesis/version.py +++ b/hypothesis-python/src/hypothesis/version.py @@ -13,5 +13,5 @@ # # END HEADER -__version_info__ = (6, 21, 1) +__version_info__ = (6, 21, 2) __version__ = ".".join(map(str, __version_info__))