From 825c1d5fa1dfd156c870b3bfb090909ab4db3e57 Mon Sep 17 00:00:00 2001 From: "Travis CI on behalf of David R. MacIver" Date: Tue, 21 Jan 2020 07:13:06 +0000 Subject: [PATCH] Bump hypothesis-python version to 5.3.0 and update changelog [skip ci] --- hypothesis-python/RELEASE.rst | 12 ------------ hypothesis-python/docs/changes.rst | 17 +++++++++++++++++ hypothesis-python/src/hypothesis/provisional.py | 4 ++-- hypothesis-python/src/hypothesis/version.py | 2 +- 4 files changed, 20 insertions(+), 15 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 d228a6f46f..0000000000 --- a/hypothesis-python/RELEASE.rst +++ /dev/null @@ -1,12 +0,0 @@ -RELEASE_TYPE: minor - -The standard library :mod:`ipaddress` module is new in Python 3, and this release -adds the new :func:`~hypothesis.strategies.ip_addresses` strategy to generate -:class:`~python:ipaddress.IPv4Address`\ es and/or -:class:`~python:ipaddress.IPv6Address`\ es (depending on the ``v`` and ``network`` -arguments). - -If you use them in type annotations, :func:`~hypothesis.strategies.from_type` now -has strategies registered for :mod:`ipaddress` address, network, and interface types. - -The provisional strategies for IP address strings are therefore deprecated. diff --git a/hypothesis-python/docs/changes.rst b/hypothesis-python/docs/changes.rst index fbba18256c..fe7ff6f78e 100644 --- a/hypothesis-python/docs/changes.rst +++ b/hypothesis-python/docs/changes.rst @@ -10,6 +10,23 @@ on `PyPI `__. Hypothesis 5.x ============== +.. _v5.3.0: + +------------------ +5.3.0 - 2020-01-21 +------------------ + +The standard library :mod:`ipaddress` module is new in Python 3, and this release +adds the new :func:`~hypothesis.strategies.ip_addresses` strategy to generate +:class:`~python:ipaddress.IPv4Address`\ es and/or +:class:`~python:ipaddress.IPv6Address`\ es (depending on the ``v`` and ``network`` +arguments). + +If you use them in type annotations, :func:`~hypothesis.strategies.from_type` now +has strategies registered for :mod:`ipaddress` address, network, and interface types. + +The provisional strategies for IP address strings are therefore deprecated. + .. _v5.2.1: ------------------ diff --git a/hypothesis-python/src/hypothesis/provisional.py b/hypothesis-python/src/hypothesis/provisional.py index 8a70080206..452a354ebf 100644 --- a/hypothesis-python/src/hypothesis/provisional.py +++ b/hypothesis-python/src/hypothesis/provisional.py @@ -164,7 +164,7 @@ def ip4_addr_strings() -> SearchStrategy[str]: note_deprecation( "Use `ip_addresses(v=4).map(str)` instead of `ip4_addr_strings()`; " "the provisional strategy is less flexible and will be removed.", - since="RELEASEDAY", + since="2020-01-21", ) return ip_addresses(v=4).map(str) @@ -174,6 +174,6 @@ def ip6_addr_strings() -> SearchStrategy[str]: note_deprecation( "Use `ip_addresses(v=6).map(str)` instead of `ip6_addr_strings()`; " "the provisional strategy is less flexible and will be removed.", - since="RELEASEDAY", + since="2020-01-21", ) return ip_addresses(v=6).map(str) diff --git a/hypothesis-python/src/hypothesis/version.py b/hypothesis-python/src/hypothesis/version.py index a2842a05e5..de7ea4dbde 100644 --- a/hypothesis-python/src/hypothesis/version.py +++ b/hypothesis-python/src/hypothesis/version.py @@ -13,5 +13,5 @@ # # END HEADER -__version_info__ = (5, 2, 1) +__version_info__ = (5, 3, 0) __version__ = ".".join(map(str, __version_info__))