pkgsrc-Changes archive
[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 Oct 19 12:42:56 UTC 2016
Modified Files:
pkgsrc/devel/py-hypothesis: Makefile PLIST distinfo
Log Message:
Updated py-hypothesis to 3.5.3.
3.5.3 - 2016-10-05
This is a bug fix release.
Bugs fixed:
If the same test was running concurrently in two processes and there were examples already in the test database which no longer failed, Hypothesis would sometimes fail with a FileNotFoundError
(IOError on Python 2) because an example it was trying to read was deleted before it was read. (Issue #372).
Drawing from an integers() strategy with both a min_value and a max_value would reject too many examples needlessly. Now it repeatedly redraws until satisfied. (Pull request #366. Thanks to Calen
Pennington for the contribution).
3.5.2 - 2016-09-24
This is a bug fix release.
The Hypothesis pytest plugin broke pytest support for doctests. Now it doesn’t.
3.5.1 - 2016-09-23
This is a bug fix release.
Hypothesis now runs cleanly in -B and -BB modes, avoiding mixing bytes and unicode.
unittest.TestCase tests would now have shown up in the new statistics mode. Now they do.
Similarly, stateful tests would not have shown up in statistics and now they do.
Statistics now print with pytest node IDs (the names you’d get in pytest verbose mode).
3.5.0 - 2016-09-22
This is a feature release.
fractions() and decimals() strategies now support min_value and max_value parameters. Thanks go to Anne Mulhern for the development of this feature.
The Hypothesis pytest plugin now supports a –hypothesis-show-statistics parameter that gives detailed statistics about the tests that were run. Huge thanks to Jean-Louis Fuchs and Adfinis-SyGroup
for funding the development of this feature.
There is a new event() function that can be used to add custom statistics.
Additionally there have been some minor bug fixes:
In some cases Hypothesis should produce fewer duplicate examples (this will mostly only affect cases with a single parameter).
py.test command line parameters are now under an option group for Hypothesis (thanks to David Keijser for fixing this)
Hypothesis would previously error if you used function annotations on your tests under Python 3.4.
The repr of many strategies using lambdas has been improved to include the lambda body (this was previously supported in many but not all cases).
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-hypothesis/PLIST \
pkgsrc/devel/py-hypothesis/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-hypothesis/Makefile
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.4 pkgsrc/devel/py-hypothesis/Makefile:1.5
--- pkgsrc/devel/py-hypothesis/Makefile:1.4 Wed Aug 24 10:20:35 2016
+++ pkgsrc/devel/py-hypothesis/Makefile Wed Oct 19 12:42:56 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/08/24 10:20:35 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/10/19 12:42:56 wiz Exp $
-DISTNAME= hypothesis-3.4.2
+DISTNAME= hypothesis-3.5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.2 pkgsrc/devel/py-hypothesis/PLIST:1.3
--- pkgsrc/devel/py-hypothesis/PLIST:1.2 Wed Aug 24 10:20:35 2016
+++ pkgsrc/devel/py-hypothesis/PLIST Wed Oct 19 12:42:56 2016
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/08/24 10:20:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/10/19 12:42:56 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -81,6 +81,12 @@ ${PYSITELIB}/hypothesis/internal/conject
${PYSITELIB}/hypothesis/internal/debug.py
${PYSITELIB}/hypothesis/internal/debug.pyc
${PYSITELIB}/hypothesis/internal/debug.pyo
+${PYSITELIB}/hypothesis/internal/deferredformat.py
+${PYSITELIB}/hypothesis/internal/deferredformat.pyc
+${PYSITELIB}/hypothesis/internal/deferredformat.pyo
+${PYSITELIB}/hypothesis/internal/detection.py
+${PYSITELIB}/hypothesis/internal/detection.pyc
+${PYSITELIB}/hypothesis/internal/detection.pyo
${PYSITELIB}/hypothesis/internal/floats.py
${PYSITELIB}/hypothesis/internal/floats.pyc
${PYSITELIB}/hypothesis/internal/floats.pyo
@@ -138,6 +144,9 @@ ${PYSITELIB}/hypothesis/searchstrategy/w
${PYSITELIB}/hypothesis/stateful.py
${PYSITELIB}/hypothesis/stateful.pyc
${PYSITELIB}/hypothesis/stateful.pyo
+${PYSITELIB}/hypothesis/statistics.py
+${PYSITELIB}/hypothesis/statistics.pyc
+${PYSITELIB}/hypothesis/statistics.pyo
${PYSITELIB}/hypothesis/strategies.py
${PYSITELIB}/hypothesis/strategies.pyc
${PYSITELIB}/hypothesis/strategies.pyo
Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.2 pkgsrc/devel/py-hypothesis/distinfo:1.3
--- pkgsrc/devel/py-hypothesis/distinfo:1.2 Wed Aug 24 10:20:35 2016
+++ pkgsrc/devel/py-hypothesis/distinfo Wed Oct 19 12:42:56 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2016/08/24 10:20:35 wiz Exp $
+$NetBSD: distinfo,v 1.3 2016/10/19 12:42:56 wiz Exp $
-SHA1 (hypothesis-3.4.2.tar.gz) = b551adf458dc389fd7735aa98dfecab299893060
-RMD160 (hypothesis-3.4.2.tar.gz) = 40d5974b58ea7671adb3c1e8d3aea9f5e934852c
-SHA512 (hypothesis-3.4.2.tar.gz) = 355815a11c57448a175a984d1ad6e87dcd9cc954acf312bfeff4ec499678166be6b9751173307748ff8b2d325b502cd31151e883e2a52f2d51a0395436bdb039
-Size (hypothesis-3.4.2.tar.gz) = 71270 bytes
+SHA1 (hypothesis-3.5.3.tar.gz) = 47a403ac3ff5b56c1332fc9df8c53e12c44bb043
+RMD160 (hypothesis-3.5.3.tar.gz) = 1faedc1af8deec39c977121b50dc45e26867a0e0
+SHA512 (hypothesis-3.5.3.tar.gz) = 1b22715e3ead84075d58c3e6ddfc074f542b2bce077e4e63fadd5910266bad81b3393b8a5c8d3b77e6f73e6987428fc92bd38a2d02003b5f490dd4ce08bca34c
+Size (hypothesis-3.5.3.tar.gz) = 73052 bytes
Home |
Main Index |
Thread Index |
Old Index