[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis py-hypothesis: updated to 4.5.11
user: adam <adam%pkgsrc.org@localhost>
date: Sat Feb 16 23:36:02 2019 +0000
py-hypothesis: updated to 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.
This patch fixes an off-by-one error in the maximum length of :func:~hypothesis.strategies.emails. Thanks to Krzysztof Jurewicz for :pull:1812.
This patch removes some unused code from the shrinker. There is no user-visible change.
This release fixes an internal IndexError in Hypothesis that could sometimes be triggered during shrinking.
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
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.
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.
This patch prints an explanatory note when :issue:1798 is triggered, because the error message from Numpy is too terse to locate the problem.
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.
This release makes a small internal refactoring to clarify how Hypothesis instructs tests to stop running when appropriate. There is no user-visible change.
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.
This patch updates some docstrings, but has no runtime changes.
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
devel/py-hypothesis/Makefile | 4 ++--
devel/py-hypothesis/PLIST | 5 +----
devel/py-hypothesis/distinfo | 10 +++++-----
3 files changed, 8 insertions(+), 11 deletions(-)
diffs (46 lines):
diff -r 210c7dc8bfed -r 45f75b8675dc devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile Sat Feb 16 22:16:08 2019 +0000
+++ b/devel/py-hypothesis/Makefile Sat Feb 16 23:36:02 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.70 2019/02/01 11:50:30 adam Exp $
+# $NetBSD: Makefile,v 1.71 2019/02/16 23:36:02 adam Exp $
CATEGORIES= devel python
diff -r 210c7dc8bfed -r 45f75b8675dc devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Sat Feb 16 22:16:08 2019 +0000
+++ b/devel/py-hypothesis/PLIST Sat Feb 16 23:36:02 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2019/02/01 11:50:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2019/02/16 23:36:02 adam Exp $
@@ -117,9 +117,6 @@
diff -r 210c7dc8bfed -r 45f75b8675dc devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo Sat Feb 16 22:16:08 2019 +0000
+++ b/devel/py-hypothesis/distinfo Sat Feb 16 23:36:02 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.67 2019/02/01 11:50:30 adam Exp $
+$NetBSD: distinfo,v 1.68 2019/02/16 23:36:02 adam Exp $
-SHA1 (hypothesis-4.4.3.tar.gz) = 238155df3aef71ee67afce1ef3f003bc2e186908
-RMD160 (hypothesis-4.4.3.tar.gz) = 8a3d01dddaaaae5efe4469a6018790e3942df782
-SHA512 (hypothesis-4.4.3.tar.gz) = 692c2674b63189a2aab0986bc420cabc89d0a57164749dafb9c13687284c04f1e0fc1ee2e45ab9bad6075e26a236b7ec7e30b7be28aee4815f06b888f9f1bcfc
-Size (hypothesis-4.4.3.tar.gz) = 186397 bytes
+SHA1 (hypothesis-4.5.11.tar.gz) = aa75db13ad111b8a51745b29b446682d341de463
+RMD160 (hypothesis-4.5.11.tar.gz) = fd64dc40f590270e3b0df9c43e5cfd6fc274ad5e
+SHA512 (hypothesis-4.5.11.tar.gz) = be324fa7952575b15f3b78336fd6acc4982225d0daa85c86f419ac7663eb37be5bb20b5c47d30e165a74e1baecdc93ee877a0aa435aa44a81670453c35169dd2
+Size (hypothesis-4.5.11.tar.gz) = 183116 bytes
Main Index |
Thread Index |