Sat Feb 16 23:36:02 2019 UTC ()
py-hypothesis: updated to 4.5.11

4.5.11:
This release fixes :issue:1813, a bug introduced in :ref:3.59.1 <v3.59.1>, which caused :py:meth:~hypothesis.strategies.random_module to no longer affect the body of the test: Although Hypothesis would claim to be seeding the random module in fact tests would always run with a seed of zero.

4.5.10:
This patch fixes an off-by-one error in the maximum length of :func:~hypothesis.strategies.emails. Thanks to Krzysztof Jurewicz for :pull:1812.

4.5.9:
This patch removes some unused code from the shrinker. There is no user-visible change.

4.5.8:
This release fixes an internal IndexError in Hypothesis that could sometimes be triggered during shrinking.

4.5.7:
This release modifies the shrinker to interleave different types of reduction operations, e.g. switching between deleting data and lowering scalar values rather than trying entirely deletions then entirely lowering.

This may slow things down somewhat in the typical case, but has the major advantage that many previously difficult to shrink examples should become much faster, because the shrinker will no longer tend to stall when trying some ineffective changes to the shrink target but will instead interleave it with other more effective operations.

4.5.6:
This release makes a number of internal changes to the implementation of :func:hypothesis.extra.lark.from_lark. These are primarily intended as a refactoring, but you may see some minor improvements to performance when generating large strings, and possibly to shrink quality.

4.5.5:
This patch prints an explanatory note when :issue:1798 is triggered, because the error message from Numpy is too terse to locate the problem.

4.5.4:
In Python 2, long integers are not allowed in the shape argument to :func:~hypothesis.extra.numpy.arrays. Thanks to Ryan Turner for fixing this.

4.5.3:
This release makes a small internal refactoring to clarify how Hypothesis instructs tests to stop running when appropriate. There is no user-visible change.

4.5.2:
This release standardises all of the shrinker's internal operations on running in a random order.

The main effect you will see from this that it should now be much less common for the shrinker to stall for a long time before making further progress. In some cases this will correspond to shrinking more slowly, but on average it should result in faster shrinking.

4.5.1:
This patch updates some docstrings, but has no runtime changes.

4.5.0:
This release adds exclude_min and exclude_max arguments to :func:~hypothesis.strategies.floats, so that you can easily generate values from open or half-open intervals


(adam)
diff -r1.70 -r1.71 pkgsrc/devel/py-hypothesis/Makefile
diff -r1.23 -r1.24 pkgsrc/devel/py-hypothesis/PLIST
diff -r1.67 -r1.68 pkgsrc/devel/py-hypothesis/distinfo

cvs diff -r1.70 -r1.71 pkgsrc/devel/py-hypothesis/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/Makefile 2019/02/01 11:50:30 1.70
+++ pkgsrc/devel/py-hypothesis/Makefile 2019/02/16 23:36:02 1.71
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.70 2019/02/01 11:50:30 adam Exp $ 1# $NetBSD: Makefile,v 1.71 2019/02/16 23:36:02 adam Exp $
2 2
3DISTNAME= hypothesis-4.4.3 3DISTNAME= hypothesis-4.5.11
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/HypothesisWorks/hypothesis 9HOMEPAGE= https://github.com/HypothesisWorks/hypothesis
10COMMENT= Python library for property based testing 10COMMENT= Python library for property based testing
11LICENSE= mpl-2.0 11LICENSE= mpl-2.0
12 12
13DEPENDS+= ${PYPKGPREFIX}-attrs>=16.0.0:../../devel/py-attrs 13DEPENDS+= ${PYPKGPREFIX}-attrs>=16.0.0:../../devel/py-attrs
14 14
15.include "../../lang/python/pyversion.mk" 15.include "../../lang/python/pyversion.mk"
16.if ${_PYTHON_VERSION} == 27 16.if ${_PYTHON_VERSION} == 27

cvs diff -r1.23 -r1.24 pkgsrc/devel/py-hypothesis/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/PLIST 2019/02/01 11:50:30 1.23
+++ pkgsrc/devel/py-hypothesis/PLIST 2019/02/16 23:36:02 1.24
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.23 2019/02/01 11:50:30 adam Exp $ 1@comment $NetBSD: PLIST,v 1.24 2019/02/16 23:36:02 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
9${PYSITELIB}/hypothesis/__init__.py 9${PYSITELIB}/hypothesis/__init__.py
10${PYSITELIB}/hypothesis/__init__.pyc 10${PYSITELIB}/hypothesis/__init__.pyc
11${PYSITELIB}/hypothesis/__init__.pyo 11${PYSITELIB}/hypothesis/__init__.pyo
12${PYSITELIB}/hypothesis/_settings.py 12${PYSITELIB}/hypothesis/_settings.py
13${PYSITELIB}/hypothesis/_settings.pyc 13${PYSITELIB}/hypothesis/_settings.pyc
14${PYSITELIB}/hypothesis/_settings.pyo 14${PYSITELIB}/hypothesis/_settings.pyo
@@ -107,29 +107,26 @@ ${PYSITELIB}/hypothesis/internal/conject @@ -107,29 +107,26 @@ ${PYSITELIB}/hypothesis/internal/conject
107${PYSITELIB}/hypothesis/internal/conjecture/shrinker.pyo 107${PYSITELIB}/hypothesis/internal/conjecture/shrinker.pyo
108${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.py 108${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.py
109${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyc 109${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyc
110${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyo 110${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyo
111${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.py 111${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.py
112${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyc 112${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyc
113${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyo 113${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyo
114${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.py 114${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.py
115${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyc 115${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyc
116${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyo 116${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyo
117${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.py 117${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.py
118${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyc 118${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyc
119${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyo 119${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyo
120${PYSITELIB}/hypothesis/internal/conjecture/shrinking/length.py 
121${PYSITELIB}/hypothesis/internal/conjecture/shrinking/length.pyc 
122${PYSITELIB}/hypothesis/internal/conjecture/shrinking/length.pyo 
123${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.py 120${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.py
124${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyc 121${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyc
125${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyo 122${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyo
126${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.py 123${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.py
127${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyc 124${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyc
128${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyo 125${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyo
129${PYSITELIB}/hypothesis/internal/conjecture/utils.py 126${PYSITELIB}/hypothesis/internal/conjecture/utils.py
130${PYSITELIB}/hypothesis/internal/conjecture/utils.pyc 127${PYSITELIB}/hypothesis/internal/conjecture/utils.pyc
131${PYSITELIB}/hypothesis/internal/conjecture/utils.pyo 128${PYSITELIB}/hypothesis/internal/conjecture/utils.pyo
132${PYSITELIB}/hypothesis/internal/coverage.py 129${PYSITELIB}/hypothesis/internal/coverage.py
133${PYSITELIB}/hypothesis/internal/coverage.pyc 130${PYSITELIB}/hypothesis/internal/coverage.pyc
134${PYSITELIB}/hypothesis/internal/coverage.pyo 131${PYSITELIB}/hypothesis/internal/coverage.pyo
135${PYSITELIB}/hypothesis/internal/detection.py 132${PYSITELIB}/hypothesis/internal/detection.py

cvs diff -r1.67 -r1.68 pkgsrc/devel/py-hypothesis/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/distinfo 2019/02/01 11:50:30 1.67
+++ pkgsrc/devel/py-hypothesis/distinfo 2019/02/16 23:36:02 1.68
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.67 2019/02/01 11:50:30 adam Exp $ 1$NetBSD: distinfo,v 1.68 2019/02/16 23:36:02 adam Exp $
2 2
3SHA1 (hypothesis-4.4.3.tar.gz) = 238155df3aef71ee67afce1ef3f003bc2e186908 3SHA1 (hypothesis-4.5.11.tar.gz) = aa75db13ad111b8a51745b29b446682d341de463
4RMD160 (hypothesis-4.4.3.tar.gz) = 8a3d01dddaaaae5efe4469a6018790e3942df782 4RMD160 (hypothesis-4.5.11.tar.gz) = fd64dc40f590270e3b0df9c43e5cfd6fc274ad5e
5SHA512 (hypothesis-4.4.3.tar.gz) = 692c2674b63189a2aab0986bc420cabc89d0a57164749dafb9c13687284c04f1e0fc1ee2e45ab9bad6075e26a236b7ec7e30b7be28aee4815f06b888f9f1bcfc 5SHA512 (hypothesis-4.5.11.tar.gz) = be324fa7952575b15f3b78336fd6acc4982225d0daa85c86f419ac7663eb37be5bb20b5c47d30e165a74e1baecdc93ee877a0aa435aa44a81670453c35169dd2
6Size (hypothesis-4.4.3.tar.gz) = 186397 bytes 6Size (hypothesis-4.5.11.tar.gz) = 183116 bytes