pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis Updated py-hypothesis to 3.4.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/affeeb5e5938
branches:  trunk
changeset: 351647:affeeb5e5938
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Aug 24 10:20:35 2016 +0000

description:
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?s 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?t 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?s 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?t updated appveyor to use the new repository location so I didn?t 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?t be used in find() (e.g. choices) in stateful testing.

diffstat:

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

diffs (57 lines):

diff -r 0c9cc30c31db -r affeeb5e5938 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Wed Aug 24 10:09:51 2016 +0000
+++ b/devel/py-hypothesis/Makefile      Wed Aug 24 10:20:35 2016 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2016/08/22 13:16:16 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2016/08/24 10:20:35 wiz Exp $
 
-DISTNAME=      hypothesis-3.1.0
+DISTNAME=      hypothesis-3.4.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
 
@@ -15,5 +14,8 @@
 
 USE_LANGUAGES= # none
 
+# actual tests only in github distfile, but that needs py-test and
+# py-test depends on py-hypothesis...
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0c9cc30c31db -r affeeb5e5938 devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Wed Aug 24 10:09:51 2016 +0000
+++ b/devel/py-hypothesis/PLIST Wed Aug 24 10:20:35 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/04/24 09:44:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/08/24 10:20:35 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -162,9 +162,6 @@
 ${PYSITELIB}/hypothesis/utils/dynamicvariables.py
 ${PYSITELIB}/hypothesis/utils/dynamicvariables.pyc
 ${PYSITELIB}/hypothesis/utils/dynamicvariables.pyo
-${PYSITELIB}/hypothesis/utils/size.py
-${PYSITELIB}/hypothesis/utils/size.pyc
-${PYSITELIB}/hypothesis/utils/size.pyo
 ${PYSITELIB}/hypothesis/vendor/__init__.py
 ${PYSITELIB}/hypothesis/vendor/__init__.pyc
 ${PYSITELIB}/hypothesis/vendor/__init__.pyo
diff -r 0c9cc30c31db -r affeeb5e5938 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Wed Aug 24 10:09:51 2016 +0000
+++ b/devel/py-hypothesis/distinfo      Wed Aug 24 10:20:35 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/04/24 09:44:35 wiz Exp $
+$NetBSD: distinfo,v 1.2 2016/08/24 10:20:35 wiz Exp $
 
-SHA1 (hypothesis-3.1.0.tar.gz) = ed7d1186582516fe9871765d3686a57117af606d
-RMD160 (hypothesis-3.1.0.tar.gz) = 1f447d90a45f8658981558b5b5f161c9fff30df4
-SHA512 (hypothesis-3.1.0.tar.gz) = c258c450960cf8742a54e2c5fb58609f4c529b5ba2cf0fb48966b7a7678223bf2f52919aa4f05690c7e7e7527a4e008fad1ca5ec18b27f3ee5d6546b26881706
-Size (hypothesis-3.1.0.tar.gz) = 69051 bytes
+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



Home | Main Index | Thread Index | Old Index