Wed Aug 24 10:20:35 2016 UTC ()
Updated py-hypothesis to 3.4.2.

3.4.2 - 2016-07-13

This is a bug fix release, fixing a number of problems with the settings system:

    Test functions defined using @given can now be called from other threads (Issue #337)
    Attempting to delete a settings property would previously have silently done the wrong thing. Now it raises an AttributeError.
    Creating a settings object with a custom database_file parameter was silently getting ignored and the default was being used instead. Now it窶冱 not.

3.4.1 - 2016-07-07

This is a bug fix release for a single bug:

    On Windows when running two Hypothesis processes in parallel (e.g. using pytest-xdist) they could race with each other and one would raise an exception due to the non-atomic nature of file renaming on Windows and the fact that you can窶冲 rename over an existing file. This is now fixed.

3.4.0 - 2016-05-27

This release is entirely provided by Lucas Wiman:

models() strategies from hypothesis.extra.django will now respect much more of Django窶冱 validations out of the box. Wherever possible full_clean() should succeed.

In particular:

    The max_length, blank and choices kwargs are now respected.
    Add support for DecimalField.
    If a field includes validators, the list of validators are used to filter the field strategy.

3.3.0 - 2016-05-27

This release went wrong and is functionally equivalent to 3.2.0. Ignore it.
3.2.0 - 2016-05-19

This is a small single-feature release:

    All tests using @given now fix the global random seed. This removes the health check for that. If a non-zero seed is required for the final falsifying example, it will be reported. Otherwise Hypothesis will assume randomization was not a significant factor for the test and be silent on the subject. If you use the random_module() strategy this will continue to work and will always display the seed.

3.1.3 - 2016-05-01

Single bug fix release

    Another charmap problem. In 3.1.2 text/characters would break on systems which had /tmp/ mounted on a different partition than the Hypothesis storage directory (usually in home). This fixes that.

3.1.2 - 2016-04-30

Single bug fix release:

    Anything which used a text() or characters() strategy was broken on Windows and I hadn窶冲 updated appveyor to use the new repository location so I didn窶冲 notice. This is now fixed and windows support should work correctly.

3.1.1 - 2016-04-29

Minor bug fix release.

    Fix concurrency issue when running tests that use text() from multiple processes at once (Bug #302, thanks to Alex Chan).
    Improve performance of code using lists with max_size (thanks to Cristi Cobzarenco).
    Fix install on Python 2 with ancient versions of pip so that it installs the enum34 backport (thanks to Donald Stufft for telling me how to do this).
    Remove duplicated __all__ exports from hypothesis.strategies (thanks to Piテォt Delport).
    Update headers to point to new repository location.
    Allow use of strategies that can窶冲 be used in find() (e.g. choices) in stateful testing.


(wiz)
diff -r1.3 -r1.4 pkgsrc/devel/py-hypothesis/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/py-hypothesis/PLIST
diff -r1.1 -r1.2 pkgsrc/devel/py-hypothesis/distinfo

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

--- pkgsrc/devel/py-hypothesis/Makefile 2016/08/22 13:16:16 1.3
+++ pkgsrc/devel/py-hypothesis/Makefile 2016/08/24 10:20:35 1.4
@@ -1,19 +1,21 @@ @@ -1,19 +1,21 @@
1# $NetBSD: Makefile,v 1.3 2016/08/22 13:16:16 wiz Exp $ 1# $NetBSD: Makefile,v 1.4 2016/08/24 10:20:35 wiz Exp $
2 2
3DISTNAME= hypothesis-3.1.0 3DISTNAME= hypothesis-3.4.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://pypi.python.org/pypi/hypothesis/ 9HOMEPAGE= https://pypi.python.org/pypi/hypothesis/
11COMMENT= Python library for property based testing 10COMMENT= Python library for property based testing
12LICENSE= mpl-2.0 11LICENSE= mpl-2.0
13 12
14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 13DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
15 14
16USE_LANGUAGES= # none 15USE_LANGUAGES= # none
17 16
 17# actual tests only in github distfile, but that needs py-test and
 18# py-test depends on py-hypothesis...
 19
18.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
19.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/devel/py-hypothesis/PLIST 2016/04/24 09:44:35 1.1
+++ pkgsrc/devel/py-hypothesis/PLIST 2016/08/24 10:20:35 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.1 2016/04/24 09:44:35 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.2 2016/08/24 10:20:35 wiz 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
@@ -152,25 +152,22 @@ ${PYSITELIB}/hypothesis/tools/mergedbs.p @@ -152,25 +152,22 @@ ${PYSITELIB}/hypothesis/tools/mergedbs.p
152${PYSITELIB}/hypothesis/tools/mergedbs.pyo 152${PYSITELIB}/hypothesis/tools/mergedbs.pyo
153${PYSITELIB}/hypothesis/types.py 153${PYSITELIB}/hypothesis/types.py
154${PYSITELIB}/hypothesis/types.pyc 154${PYSITELIB}/hypothesis/types.pyc
155${PYSITELIB}/hypothesis/types.pyo 155${PYSITELIB}/hypothesis/types.pyo
156${PYSITELIB}/hypothesis/utils/__init__.py 156${PYSITELIB}/hypothesis/utils/__init__.py
157${PYSITELIB}/hypothesis/utils/__init__.pyc 157${PYSITELIB}/hypothesis/utils/__init__.pyc
158${PYSITELIB}/hypothesis/utils/__init__.pyo 158${PYSITELIB}/hypothesis/utils/__init__.pyo
159${PYSITELIB}/hypothesis/utils/conventions.py 159${PYSITELIB}/hypothesis/utils/conventions.py
160${PYSITELIB}/hypothesis/utils/conventions.pyc 160${PYSITELIB}/hypothesis/utils/conventions.pyc
161${PYSITELIB}/hypothesis/utils/conventions.pyo 161${PYSITELIB}/hypothesis/utils/conventions.pyo
162${PYSITELIB}/hypothesis/utils/dynamicvariables.py 162${PYSITELIB}/hypothesis/utils/dynamicvariables.py
163${PYSITELIB}/hypothesis/utils/dynamicvariables.pyc 163${PYSITELIB}/hypothesis/utils/dynamicvariables.pyc
164${PYSITELIB}/hypothesis/utils/dynamicvariables.pyo 164${PYSITELIB}/hypothesis/utils/dynamicvariables.pyo
165${PYSITELIB}/hypothesis/utils/size.py 
166${PYSITELIB}/hypothesis/utils/size.pyc 
167${PYSITELIB}/hypothesis/utils/size.pyo 
168${PYSITELIB}/hypothesis/vendor/__init__.py 165${PYSITELIB}/hypothesis/vendor/__init__.py
169${PYSITELIB}/hypothesis/vendor/__init__.pyc 166${PYSITELIB}/hypothesis/vendor/__init__.pyc
170${PYSITELIB}/hypothesis/vendor/__init__.pyo 167${PYSITELIB}/hypothesis/vendor/__init__.pyo
171${PYSITELIB}/hypothesis/vendor/pretty.py 168${PYSITELIB}/hypothesis/vendor/pretty.py
172${PYSITELIB}/hypothesis/vendor/pretty.pyc 169${PYSITELIB}/hypothesis/vendor/pretty.pyc
173${PYSITELIB}/hypothesis/vendor/pretty.pyo 170${PYSITELIB}/hypothesis/vendor/pretty.pyo
174${PYSITELIB}/hypothesis/version.py 171${PYSITELIB}/hypothesis/version.py
175${PYSITELIB}/hypothesis/version.pyc 172${PYSITELIB}/hypothesis/version.pyc
176${PYSITELIB}/hypothesis/version.pyo 173${PYSITELIB}/hypothesis/version.pyo

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

--- pkgsrc/devel/py-hypothesis/distinfo 2016/04/24 09:44:35 1.1
+++ pkgsrc/devel/py-hypothesis/distinfo 2016/08/24 10:20:35 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2016/04/24 09:44:35 wiz Exp $ 1$NetBSD: distinfo,v 1.2 2016/08/24 10:20:35 wiz Exp $
2 2
3SHA1 (hypothesis-3.1.0.tar.gz) = ed7d1186582516fe9871765d3686a57117af606d 3SHA1 (hypothesis-3.4.2.tar.gz) = b551adf458dc389fd7735aa98dfecab299893060
4RMD160 (hypothesis-3.1.0.tar.gz) = 1f447d90a45f8658981558b5b5f161c9fff30df4 4RMD160 (hypothesis-3.4.2.tar.gz) = 40d5974b58ea7671adb3c1e8d3aea9f5e934852c
5SHA512 (hypothesis-3.1.0.tar.gz) = c258c450960cf8742a54e2c5fb58609f4c529b5ba2cf0fb48966b7a7678223bf2f52919aa4f05690c7e7e7527a4e008fad1ca5ec18b27f3ee5d6546b26881706 5SHA512 (hypothesis-3.4.2.tar.gz) = 355815a11c57448a175a984d1ad6e87dcd9cc954acf312bfeff4ec499678166be6b9751173307748ff8b2d325b502cd31151e883e2a52f2d51a0395436bdb039
6Size (hypothesis-3.1.0.tar.gz) = 69051 bytes 6Size (hypothesis-3.4.2.tar.gz) = 71270 bytes