diff options
author | adam <adam@pkgsrc.org> | 2019-04-16 07:14:00 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-04-16 07:14:00 +0000 |
commit | 2f8ed77e0184d47af3f607d69adfb3068f9e940a (patch) | |
tree | 76359e2094ef0950c479b6881831966c56fb5799 /devel | |
parent | 01b18b741dddf30fe4c1c0275c5b44118e2a96ba (diff) | |
download | pkgsrc-2f8ed77e0184d47af3f607d69adfb3068f9e940a.tar.gz |
py-hypothesis: updated to 4.17.0
4.17.0
This release adds the strategy :func:~hypothesis.extra.numpy.broadcastable_shapes, which generates array shapes that are broadcast-compatible with a provided shape.
4.16.0
This release allows :func:~hypothesis.strategies.register_type_strategy to be used with :obj:python:typing.NewType instances. This may be useful to e.g. provide only positive integers for :func:from_type(UserId) <hypothesis.strategies.from_type> with a UserId = NewType('UserId', int) type.
4.15.0
This release supports passing a :class:~python:datetime.timedelta as the :obj:~hypothesis.settings.deadline setting, so you no longer have to remember that the number is in milliseconds (:issue:1900).
Thanks to Damon Francisco for this change!
4.14.7
This patch makes the type annotations on hypothesis.extra.dateutil compatible with :pypi:mypy 0.700.
4.14.6
This release fixes a bug introduced in :ref:Hypothesis 4.14.3 <v4.14.3> that would sometimes cause :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> to encounter an internal assertion failure when there are three or fewer elements, and every element is rejected by the filter.
4.14.5
This patch takes the previous efficiency improvements to :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> strategies that reject most elements, and generalises them to also apply to sampled_from(...).filter(...).filter(...) and longer chains of filters.
4.14.4
This release fixes a bug that prevented :func:~hypothesis.strategies.random_module from correctly restoring the previous state of the random module.
The random state was instead being restored to a temporary deterministic state, which accidentally caused subsequent tests to see the same random values across multiple test runs.
4.14.3
This patch adds an internal special case to make :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> much more efficient when the filter rejects most elements
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-hypothesis/Makefile | 4 | ||||
-rw-r--r-- | devel/py-hypothesis/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/py-hypothesis/Makefile b/devel/py-hypothesis/Makefile index 3e0066cc86a..4eaf3be0ceb 100644 --- a/devel/py-hypothesis/Makefile +++ b/devel/py-hypothesis/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.74 2019/04/02 09:40:30 adam Exp $ +# $NetBSD: Makefile,v 1.75 2019/04/16 07:14:00 adam Exp $ -DISTNAME= hypothesis-4.14.2 +DISTNAME= hypothesis-4.17.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} diff --git a/devel/py-hypothesis/distinfo b/devel/py-hypothesis/distinfo index cff90ff1f6a..05cd0d9270f 100644 --- a/devel/py-hypothesis/distinfo +++ b/devel/py-hypothesis/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.71 2019/04/02 09:40:30 adam Exp $ +$NetBSD: distinfo,v 1.72 2019/04/16 07:14:00 adam Exp $ -SHA1 (hypothesis-4.14.2.tar.gz) = dad8e20b668b68be9bf9b4d0884e6674275d9c8c -RMD160 (hypothesis-4.14.2.tar.gz) = 360932a5751ad19eae200686351aa7f1886ab9e9 -SHA512 (hypothesis-4.14.2.tar.gz) = 08174c678f4707dba2f5d1b07369239636f9f564738df71eac13f1a7f85f56f489cf4c0753e84d688519db9b99fbd37147b87823c74938ef4e5ec7f8203f7433 -Size (hypothesis-4.14.2.tar.gz) = 195165 bytes +SHA1 (hypothesis-4.17.0.tar.gz) = 979d86f3a31b386e42eabf73cb5bb35a2cd1e0ba +RMD160 (hypothesis-4.17.0.tar.gz) = 3e9a0ee7f7333423cebef1129571ff8082e8dd3d +SHA512 (hypothesis-4.17.0.tar.gz) = 156a96537797d26d7f8438b0809f5379cbd0dd4c23d2bf26937b1a5bf5c55e72f0c9dcbb68ef34f83f9eb6a06085a588146db18dcff9a03dc2d22902f9b793db +Size (hypothesis-4.17.0.tar.gz) = 198591 bytes |