pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-hypothesis



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar 13 08:51:48 UTC 2019

Modified Files:
        pkgsrc/devel/py-hypothesis: Makefile distinfo

Log Message:
py-hypothesis: updated to 4.11.1

4.11.1:
This is a formatting-only patch, enabled by a new version of :pypi:isort.

4.11.0:
This release deprecates :func:~hypothesis.strategies.sampled_from with empty sequences. This returns :func:~hypothesis.strategies.nothing, which gives a clear error if used directly... but simply 
vanishes if combined with another strategy.

Tests that silently generate less than expected are a serious problem for anyone relying on them to find bugs, and we think reliability more important than convenience in this case.

4.10.0:
This release improves Hypothesis's to detect flaky tests, by noticing when the behaviour of the test changes between runs. In particular this will notice many new cases where data generation depends 
on external state (e.g. external sources of randomness) and flag those as flaky sooner and more reliably.

The basis of this feature is a considerable reengineering of how Hypothesis stores its history of test cases, so on top of this its memory usage should be considerably reduced.

4.9.0:
This release adds the strategy :func:~hypothesis.extra.numpy.valid_tuple_axes, which generates tuples of axis-indices that can be passed to the axis argument in NumPy's sequential functions (e.g. 
:func:numpy:numpy.sum).

4.8.0:
This release significantly tightens validation in :class:hypothesis.settings. :obj:~hypothesis.settings.max_examples, :obj:~hypothesis.settings.buffer_size, and 
:obj:~hypothesis.settings.stateful_step_count must be positive integers; :obj:~hypothesis.settings.deadline must be a positive number or None; and :obj:~hypothesis.settings.derandomize must be either 
True or False.

As usual, this replaces existing errors with a more helpful error and starts new validation checks as deprecation warnings.

4.7.19:
This release makes some micro-optimisations to certain calculations performed in the shrinker. These should particularly speed up large test cases where the shrinker makes many small changes. It will 
also reduce the amount allocated, but most of this is garbage that would have been immediately thrown away, so you probably won't see much effect specifically from that.

4.7.18:
This patch removes some overhead from :func:~hypothesis.extra.numpy.arrays with a constant shape and dtype. The resulting performance improvement is modest, but worthwile for small arrays.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.69 -r1.70 pkgsrc/devel/py-hypothesis/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-hypothesis/Makefile
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.72 pkgsrc/devel/py-hypothesis/Makefile:1.73
--- pkgsrc/devel/py-hypothesis/Makefile:1.72    Sat Mar  2 14:22:10 2019
+++ pkgsrc/devel/py-hypothesis/Makefile Wed Mar 13 08:51:48 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2019/03/02 14:22:10 adam Exp $
+# $NetBSD: Makefile,v 1.73 2019/03/13 08:51:48 adam Exp $
 
-DISTNAME=      hypothesis-4.7.17
+DISTNAME=      hypothesis-4.11.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.69 pkgsrc/devel/py-hypothesis/distinfo:1.70
--- pkgsrc/devel/py-hypothesis/distinfo:1.69    Sat Mar  2 14:22:10 2019
+++ pkgsrc/devel/py-hypothesis/distinfo Wed Mar 13 08:51:48 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.69 2019/03/02 14:22:10 adam Exp $
+$NetBSD: distinfo,v 1.70 2019/03/13 08:51:48 adam Exp $
 
-SHA1 (hypothesis-4.7.17.tar.gz) = 8769e768ee0402ff25af21723974e5ca626439b1
-RMD160 (hypothesis-4.7.17.tar.gz) = 1e4a9bcd8314d8e1d315ff5b96737bed29ce6cae
-SHA512 (hypothesis-4.7.17.tar.gz) = 41cab0226e106c9120aa33ac86304099c4e95ecbbb7e1e5a0c8aefa9d69eacdda14593dbc8ed552e40580d45c0952bae4d6b843ecc1b41923fa10efe3fb6fc11
-Size (hypothesis-4.7.17.tar.gz) = 189292 bytes
+SHA1 (hypothesis-4.11.1.tar.gz) = f71c17aee3499e70dfbc0e4eee2f4c5e400e7d1a
+RMD160 (hypothesis-4.11.1.tar.gz) = eeb3b8896af8bf25d36c20ca1606cf68012b58f1
+SHA512 (hypothesis-4.11.1.tar.gz) = 6f8db484f6e2607b9e0e4e1307e823d69699ac5aff95acc4f140445f365e6004c72f47cece6b0b4759333c10bafa6cac66ec5c5196fce91dfbd64ac660215dce
+Size (hypothesis-4.11.1.tar.gz) = 192116 bytes



Home | Main Index | Thread Index | Old Index