pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis Updated py-hypothesis to 3.7.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08ecedc6592f
branches:  trunk
changeset: 361334:08ecedc6592f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Apr 19 17:27:15 2017 +0000

description:
Updated py-hypothesis to 3.7.0.

3.7.0 - 2017-03-20

This is a feature release.

New features:

    Rule based stateful testing now has an @invariant decorator that specifies methods that are run after init and after every step, allowing you to encode properties that should be true at all 
times. Thanks to Tom Prince for this feature.
    The decimals strategy now supports allow_nan and allow_infinity flags.
    There are significantly more strategies available for numpy, including for generating arbitrary data types. Thanks to Zac Hatfield Dodds for this feature.
    When using the data() strategy you can now add a label as an argument to draw(), which will be printed along with the value when an example fails. Thanks to Peter Inglesby for this feature.

Bug fixes:

    Bug fix: @composite now preserves functions? docstrings.
    The build is now reproducible and doesn?t depend on the path you build it from. Thanks to Chris Lamb for this feature.
    numpy strategies for the void data type did not work correctly. Thanks to Zac Hatfield Dodds for this fix.

There have also been a number of performance optimizations:

    The permutations() strategy is now significantly faster to use for large lists (the underlying algorithm has gone from O(n^2) to O(n)).
    Shrinking of failing test cases should have got significantly faster in some circumstances where it was previously struggling for a long time.
    Example generation now involves less indirection, which results in a small speedup in some cases (small enough that you won?t really notice it except in pathological cases).

diffstat:

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

diffs (27 lines):

diff -r b6870acf0b53 -r 08ecedc6592f devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Wed Apr 19 17:25:17 2017 +0000
+++ b/devel/py-hypothesis/Makefile      Wed Apr 19 17:27:15 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2017/01/01 15:35:12 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2017/04/19 17:27:15 wiz Exp $
 
-DISTNAME=      hypothesis-3.6.1
+DISTNAME=      hypothesis-3.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r b6870acf0b53 -r 08ecedc6592f devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Wed Apr 19 17:25:17 2017 +0000
+++ b/devel/py-hypothesis/distinfo      Wed Apr 19 17:27:15 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/01/01 15:35:12 wiz Exp $
+$NetBSD: distinfo,v 1.6 2017/04/19 17:27:15 wiz Exp $
 
-SHA1 (hypothesis-3.6.1.tar.gz) = fed3636a400913b61a968b61b91339e738a77217
-RMD160 (hypothesis-3.6.1.tar.gz) = 93846c09006b22407cda87cc261487708a425cae
-SHA512 (hypothesis-3.6.1.tar.gz) = 89a884cfc147b09e6356ea1f2272784b256065a7ff86584c133c00d11cb0fda0a8463e347c15698c605f6c2d8fc7aa09cd4c216849cb2b851566bdf4268c28c4
-Size (hypothesis-3.6.1.tar.gz) = 75106 bytes
+SHA1 (hypothesis-3.7.0.tar.gz) = ba39a4b49420c6b9d7c4c1909f4f6d6bb0b8063f
+RMD160 (hypothesis-3.7.0.tar.gz) = 38440540b5d6f982cad4fcb63e40f7e8ec26cbc6
+SHA512 (hypothesis-3.7.0.tar.gz) = 81fa8083e91ca7c2e64d06b9fec65209c33fe6517950a9aed9d074200726b979169639fce0b164665d9299d3ac51ea223bb5a0b0e4900a2df9254b365d19e7bd
+Size (hypothesis-3.7.0.tar.gz) = 79113 bytes



Home | Main Index | Thread Index | Old Index