[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-hypothesis
Module Name: pkgsrc
Committed By: wiz
Date: Wed Apr 19 17:27:15 UTC 2017
pkgsrc/devel/py-hypothesis: Makefile distinfo
Updated py-hypothesis to 3.7.0.
3.7.0 - 2017-03-20
This is a feature release.
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 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).
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-hypothesis/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.8 pkgsrc/devel/py-hypothesis/Makefile:1.9
--- pkgsrc/devel/py-hypothesis/Makefile:1.8 Sun Jan 1 15:35:12 2017
+++ pkgsrc/devel/py-hypothesis/Makefile Wed Apr 19 17:27:15 2017
@@ -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 $
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.5 pkgsrc/devel/py-hypothesis/distinfo:1.6
--- pkgsrc/devel/py-hypothesis/distinfo:1.5 Sun Jan 1 15:35:12 2017
+++ pkgsrc/devel/py-hypothesis/distinfo Wed Apr 19 17:27:15 2017
@@ -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
Main Index |
Thread Index |