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:           Sat Mar  2 14:22:10 UTC 2019

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

Log Message:
py-hypothesis: updated to 4.7.17

4.7.17:
This release makes some micro-optimisations within Hypothesis's internal representation of test cases. This should cause heavily nested test cases to allocate less during generation and shrinking, 
which should speed things up slightly.

4.7.16:
This changes the order in which Hypothesis runs certain operations during shrinking. This should significantly decrease memory usage and speed up shrinking of large examples.

4.7.15:
This release allows Hypothesis to calculate a number of attributes of generated test cases lazily. This should significantly reduce memory usage and modestly improve performance, especially for large 
test cases.

4.7.14:
This release reduces the number of operations the shrinker will try when reordering parts of a test case. This should in some circumstances significantly speed up shrinking. It may result in 
different final test cases, and if so usually slightly worse ones, but it should not generally have much impact on the end result as the operations removed were typically useless.

4.7.13:
This release changes how Hypothesis reorders examples within a test case during shrinking. This should make shrinking considerably faster.

4.7.12:
This release slightly improves the shrinker's ability to replace parts of a test case with their minimal version, by allowing it to do so in bulk rather than one at a time. Where this is effective, 
shrinker performance should be modestly improved.

4.7.11:
This release makes some micro-optimisations to common operations performed during shrinking. Shrinking should now be slightly faster, especially for large examples with relatively fast test functions.

4.7.10:
This release is a purely internal refactoring of Hypothesis's API for representing test cases. There should be no user visible effect.

4.7.9:
This release changes certain shrink passes to make them more efficient when they aren't making progress.

4.7.8:
This patch removes some unused code, which makes the internals a bit easier to understand. There is no user-visible impact.

4.7.7:
This release reduces the number of operations the shrinker will try when reordering parts of a test case. This should in some circumstances significantly speed up shrinking. It may result in 
different final test cases, and if so usually slightly worse ones, but it should not generally have much impact on the end result as the operations removed were typically useless.

4.7.6:
This patch removes some unused code from the shrinker. There is no user-visible change.

4.7.5:
This release changes certain shrink passes to make them adaptive - that is, in cases where they are successfully making progress they may now do so significantly faster.

4.7.4:
This is a docs-only patch, noting that because the :pypi:lark-parser is under active development at version 0.x, hypothesis[lark] APIs may break in minor releases if necessary to keep up with the 
upstream package.

4.7.3:
This changes Hypothesis to no longer import various test frameworks by default (if they are installed). which will speed up the initial import hypothesis call.

4.7.2:
This release changes Hypothesis's internal representation of a test case to calculate some expensive structural information on demand rather than eagerly. This should reduce memory usage a fair bit, 
and may make generation somewhat faster.

4.7.1:
This release refactors the internal representation of previously run test cases. The main thing you should see as a result is that Hypothesis becomes somewhat less memory hungry.

4.7.0:
This patch allows :func:~hypothesis.extra.numpy.array_shapes to generate shapes with side-length or even dimension zero, though the minimum still defaults to one. These shapes are rare and have some 
odd behavior, but are particularly important to test for just that reason!

In a related bigfix, :func:~hypothesis.extra.numpy.arrays now supports generating zero-dimensional arrays with dtype=object and a strategy for iterable elements. Previously, the array element would 
incorrectly be set to the first item in the generated iterable.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.68 -r1.69 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.71 pkgsrc/devel/py-hypothesis/Makefile:1.72
--- pkgsrc/devel/py-hypothesis/Makefile:1.71    Sat Feb 16 23:36:02 2019
+++ pkgsrc/devel/py-hypothesis/Makefile Sat Mar  2 14:22:10 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.71 2019/02/16 23:36:02 adam Exp $
+# $NetBSD: Makefile,v 1.72 2019/03/02 14:22:10 adam Exp $
 
-DISTNAME=      hypothesis-4.5.11
+DISTNAME=      hypothesis-4.7.17
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.24 pkgsrc/devel/py-hypothesis/PLIST:1.25
--- pkgsrc/devel/py-hypothesis/PLIST:1.24       Sat Feb 16 23:36:02 2019
+++ pkgsrc/devel/py-hypothesis/PLIST    Sat Mar  2 14:22:10 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2019/02/16 23:36:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.25 2019/03/02 14:22:10 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -102,6 +102,9 @@ ${PYSITELIB}/hypothesis/internal/conject
 ${PYSITELIB}/hypothesis/internal/conjecture/floats.py
 ${PYSITELIB}/hypothesis/internal/conjecture/floats.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/floats.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/junkdrawer.py
+${PYSITELIB}/hypothesis/internal/conjecture/junkdrawer.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/junkdrawer.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinker.py
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinker.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinker.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.68 pkgsrc/devel/py-hypothesis/distinfo:1.69
--- pkgsrc/devel/py-hypothesis/distinfo:1.68    Sat Feb 16 23:36:02 2019
+++ pkgsrc/devel/py-hypothesis/distinfo Sat Mar  2 14:22:10 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.68 2019/02/16 23:36:02 adam Exp $
+$NetBSD: distinfo,v 1.69 2019/03/02 14:22:10 adam Exp $
 
-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
+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



Home | Main Index | Thread Index | Old Index