pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis py-hypothesis: updated to 3.34.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdb592682d0e
branches:  trunk
changeset: 371148:fdb592682d0e
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 06 10:39:08 2017 +0000

description:
py-hypothesis: updated to 3.34.1

3.34.1:

This patch updates the documentation to suggest :func:`builds(callable) <hypothesis.strategies.builds>` instead of :func:`just(callable()) <hypothesis.strategies.just>`.

3.34.0:

Hypothesis now emits deprecation warnings if you apply :func:`@given <hypothesis.given>` more than once to a target.

Applying :func:`@given <hypothesis.given>` repeatedly wraps the target multiple times. Each wrapper will search the space of of possible parameters separately. This is equivalent but will be much 
more inefficient than doing it with a single call to :func:`@given <hypothesis.given>`.

For example, instead of @given(booleans()) @given(integers()), you could write @given(booleans(), integers())

diffstat:

 devel/py-hypothesis/Makefile |   4 ++--
 devel/py-hypothesis/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 4a76f3a6439b -r fdb592682d0e devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Mon Nov 06 10:37:32 2017 +0000
+++ b/devel/py-hypothesis/Makefile      Mon Nov 06 10:39:08 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2017/11/02 07:16:35 adam Exp $
+# $NetBSD: Makefile,v 1.38 2017/11/06 10:39:08 adam Exp $
 
-DISTNAME=      hypothesis-3.33.1
+DISTNAME=      hypothesis-3.34.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 4a76f3a6439b -r fdb592682d0e devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Mon Nov 06 10:37:32 2017 +0000
+++ b/devel/py-hypothesis/distinfo      Mon Nov 06 10:39:08 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.34 2017/11/02 07:16:35 adam Exp $
+$NetBSD: distinfo,v 1.35 2017/11/06 10:39:08 adam Exp $
 
-SHA1 (hypothesis-3.33.1.tar.gz) = f11506b47b884927cf18a4cc4fa3cfe408c2f2e5
-RMD160 (hypothesis-3.33.1.tar.gz) = ca3059355105e2c4f8880a8b2dcc63d1dcf618b3
-SHA512 (hypothesis-3.33.1.tar.gz) = b22723bff33619a2b4e0aae11f26f697e3add4dba25a9687bf0fb4d989b4901daf173bd70a602cb359bec4eeaaf0698c9795501cdd76823fca62a76e06e3609c
-Size (hypothesis-3.33.1.tar.gz) = 128835 bytes
+SHA1 (hypothesis-3.34.1.tar.gz) = a40f5e63325fa69b0312ed6dcc92eaed51b9eae6
+RMD160 (hypothesis-3.34.1.tar.gz) = 99da124e32e0d839c068cb9c16b8e42ad7980e71
+SHA512 (hypothesis-3.34.1.tar.gz) = 3fd9e538fbb81f46d8e4dfb4336857074ad92f72511c513e09d976e2d3a3f4580586d0765251b9c05cdc3b1c5b54755f4e498b42d2973570e0e2da7399d4f4f9
+Size (hypothesis-3.34.1.tar.gz) = 129059 bytes



Home | Main Index | Thread Index | Old Index