Skip to content

Commit

Permalink
Bump hypothesis-python version to 4.28.0 and update changelog
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
DRMacIver committed Jul 11, 2019
1 parent 68820ca commit 0dbf160
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
9 changes: 0 additions & 9 deletions hypothesis-python/RELEASE.rst

This file was deleted.

14 changes: 14 additions & 0 deletions hypothesis-python/docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ Hypothesis APIs come in three flavours:
You should generally assume that an API is internal unless you have specific
information to the contrary.

.. _v4.28.0:

-------------------
4.28.0 - 2019-07-11
-------------------

This release deprecates ``find()``. The ``.example()`` method is a better
replacement if you want *an* example, and for the rare occasions where you
want the *minimal* example you can get it from :func:`@given <hypothesis.given>`.

:func:`@given <hypothesis.given>` has steadily outstripped ``find()`` in both
features and performance over recent years, and as we do not have the resources
to maintain and test both we think it is better to focus on just one.

.. _v4.27.0:

-------------------
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ def find(
note_deprecation(
"`find(s, f)` is deprecated, because it is rarely used but takes "
"ongoing work to maintain as we upgrade other parts of Hypothesis.",
since="RELEASEDAY",
since="2019-07-11",
)
if settings is None:
settings = Settings(max_examples=2000)
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 @@ -17,5 +17,5 @@

from __future__ import absolute_import, division, print_function

__version_info__ = (4, 27, 0)
__version_info__ = (4, 28, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 0dbf160

Please sign in to comment.