Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Thomas Klausner
Date: 2017-04-19 19:27:15
Message id: 20170419172715.B499EFBE4@cvs.NetBSD.org

Log Message:
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).

Files:
RevisionActionfile
1.9modifypkgsrc/devel/py-hypothesis/Makefile
1.6modifypkgsrc/devel/py-hypothesis/distinfo