Skip to content

Commit

Permalink
Bump hypothesis-python version to 6.21.2 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Sep 15, 2021
1 parent 44c5fa0 commit ac1d406
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
5 changes: 0 additions & 5 deletions hypothesis-python/RELEASE.rst

This file was deleted.

10 changes: 10 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

-------------------
Expand Down
4 changes: 2 additions & 2 deletions hypothesis-python/src/hypothesis/extra/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
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 @@ -13,5 +13,5 @@
#
# END HEADER

__version_info__ = (6, 21, 1)
__version_info__ = (6, 21, 2)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit ac1d406

Please sign in to comment.