pkgsrc-Changes-HG archive

[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.23.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2ab8902ff8e
branches:  trunk
changeset: 395569:d2ab8902ff8e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 09 11:53:58 2019 +0000

description:
py-hypothesis: updated to 4.23.4

4.23.4:
Fixes a minor formatting issue the docstring of from_type()

4.23.3:
Adds a recipe to the docstring of from_type() that describes a means for drawing values for ?everything except? a specified type. This recipe is especially useful for writing tests that perform 
input-type validation.

4.23.2:
This patch uses autoflake to remove some pointless pass statements, which improves our workflow but has no user-visible impact.

4.23.1:
This patch fixes an OverflowError in from_type(xrange) on Python 2.

It turns out that not only do the start and stop values have to fit in a C long, but so does stop - start. We now handle this even on 32bit platforms, but remind users that Python2 will not be 
supported after 2019 without specific funding.

4.23.0:
This release implements the slices() strategy, to generate slices of a length-size sequence.

4.22.3:
This patch exposes DataObject, solely to support more precise type hints. Objects of this type are provided by data(), and can be used to draw examples from strategies intermixed with your test code.

4.22.2:
This patch fixes the very rare issue 1798 in array_dtypes(), which caused an internal error in our tests.

4.22.1:
This patch fixes a rare bug in from_type(range).

4.22.0:
The unique_by argument to lists now accepts a tuple of callables such that every element of the generated list will be unique with respect to each callable in the tuple.

4.21.1:
This patch cleans up the internals of one_of(). You may see a slight change to the distribution of examples from this strategy but there is no change to the public API.

4.21.0:
The from_type() strategy now supports slice objects.

4.20.0:
This release improves the array_shapes() strategy, to choose an appropriate default for max_side based on the min_side, and max_dims based on the min_dims. An explicit error is raised for dimensions 
greater than 32, which are not supported by Numpy, as for other invalid combinations of arguments.

4.19.0:
The from_type() strategy now supports range objects (or xrange on Python 2).

4.18.3:
This release fixes a very rare edge case in the test-case mutator, which could cause an internal error with certain unusual tests.

4.18.2:
This patch makes Hypothesis compatible with the Python 3.8 alpha, which changed the representation of code objects to support positional-only arguments. Note however that Hypothesis does not (yet) 
support such functions as e.g. arguments to builds() or inputs to @given.

4.18.1:
This patch improves the performance of unique collections such as sets() when the elements are drawn from a sampled_from() strategy.

4.18.0:
This release adds the functions() strategy, which can be used to imitate your ?real? function for callbacks.

4.17.2:
This release refactors stateful rule selection to share the new machinery with sampled_from() instead of using the original independent implementation.

4.17.1:
This patch allows Hypothesis to try a few more examples after finding the first bug, in hopes of reporting multiple distinct bugs. The heuristics described in issue 847 ensure that we avoid wasting 
time on fruitless searches, while still surfacing each bug as soon as possible.

diffstat:

 devel/py-hypothesis/Makefile |   4 ++--
 devel/py-hypothesis/PLIST    |   5 ++++-
 devel/py-hypothesis/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 405d72dee705 -r d2ab8902ff8e devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Thu May 09 11:46:21 2019 +0000
+++ b/devel/py-hypothesis/Makefile      Thu May 09 11:53:58 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.75 2019/04/16 07:14:00 adam Exp $
+# $NetBSD: Makefile,v 1.76 2019/05/09 11:53:58 adam Exp $
 
-DISTNAME=      hypothesis-4.17.0
+DISTNAME=      hypothesis-4.23.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 405d72dee705 -r d2ab8902ff8e devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Thu May 09 11:46:21 2019 +0000
+++ b/devel/py-hypothesis/PLIST Thu May 09 11:53:58 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2019/03/02 14:22:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2019/05/09 11:53:58 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -184,6 +184,9 @@
 ${PYSITELIB}/hypothesis/searchstrategy/flatmapped.py
 ${PYSITELIB}/hypothesis/searchstrategy/flatmapped.pyc
 ${PYSITELIB}/hypothesis/searchstrategy/flatmapped.pyo
+${PYSITELIB}/hypothesis/searchstrategy/functions.py
+${PYSITELIB}/hypothesis/searchstrategy/functions.pyc
+${PYSITELIB}/hypothesis/searchstrategy/functions.pyo
 ${PYSITELIB}/hypothesis/searchstrategy/lazy.py
 ${PYSITELIB}/hypothesis/searchstrategy/lazy.pyc
 ${PYSITELIB}/hypothesis/searchstrategy/lazy.pyo
diff -r 405d72dee705 -r d2ab8902ff8e devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Thu May 09 11:46:21 2019 +0000
+++ b/devel/py-hypothesis/distinfo      Thu May 09 11:53:58 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.72 2019/04/16 07:14:00 adam Exp $
+$NetBSD: distinfo,v 1.73 2019/05/09 11:53:58 adam Exp $
 
-SHA1 (hypothesis-4.17.0.tar.gz) = 979d86f3a31b386e42eabf73cb5bb35a2cd1e0ba
-RMD160 (hypothesis-4.17.0.tar.gz) = 3e9a0ee7f7333423cebef1129571ff8082e8dd3d
-SHA512 (hypothesis-4.17.0.tar.gz) = 156a96537797d26d7f8438b0809f5379cbd0dd4c23d2bf26937b1a5bf5c55e72f0c9dcbb68ef34f83f9eb6a06085a588146db18dcff9a03dc2d22902f9b793db
-Size (hypothesis-4.17.0.tar.gz) = 198591 bytes
+SHA1 (hypothesis-4.23.4.tar.gz) = dd1d15cc36d8428ef054559c0cc0a6dca7af9b72
+RMD160 (hypothesis-4.23.4.tar.gz) = 12fb6ff94c98ccc399f7dc92d8ff7d05599cd1d5
+SHA512 (hypothesis-4.23.4.tar.gz) = 210f4bcbd73c42c683000f62e00fca6f7b626de4966d0513ac879fa4b87d25558c9da905aa5a14f497f9eb55b8d3a5ecc44922f5259b85ac7fcd534b5c31adec
+Size (hypothesis-4.23.4.tar.gz) = 201267 bytes



Home | Main Index | Thread Index | Old Index