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 Jun 20 07:06:42 UTC 2020

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

Log Message:
py-hypothesis: updated to 4.57.1

4.57.1:
This patch improves the type hints and documentation for the django extra. There is no runtime change.

4.57.0:
This release improves support for the SupportsOp protocols from the typing module when using on from_type() as outlined in issue 2292. The following types now generate much more varied strategies 
when called with from_type():

typing.SupportsAbs
typing.SupportsBytes
typing.SupportsComplex
typing.SupportsInt
typing.SupportsFloat
typing.SupportsRound
Note that using from_type() with one of the above strategies will not ensure that the the specified function will execute successfully (ie : the strategy returned for from_type(typing.SupportsAbs) 
may include NaNs or things which cause the abs() function to error. )

4.56.3:
This release fixes a small internal bug in shrinking which could have caused it to perform slightly more tests than were necessary. Fixing this shouldn’t have much effect but it will make shrinking 
slightly faster.

4.56.2:
This release removes an internal heuristic that was no longer providing much benefit. It is unlikely that there will be any user visible effect.

4.56.1:
This release further improves the optimisation algorithm for targeted property-based testing.

4.56.0:
This release enables deprecation warnings even when the verbosity setting is quiet, in preparation for Hypothesis 5.0.

Warnings can still be filtered by the standard mechanisms provided in the standard-library warnings module.

4.55.4:
This release improves Hypothesis’s management of the set of test cases it tracks between runs. It will only do anything if you have Phase.target enabled and an example database set. In those 
circumstances it should result in a more thorough and faster set of examples that are tried on each run.

4.55.3:
This release makes Hypothesis better at generating test cases where generated values are duplicated in different parts of the test case. This will be especially noticeable with reasonably complex 
values, as it was already able to do this for simpler ones such as integers or floats.

4.55.2:
This release expands the set of test cases that Hypothesis saves in its database for future runs to include a representative set of “structurally different” test cases - e.g. it might try to save 
test cases where a given list is empty or not.

Currently this is unlikely to have much user visible impact except to produce slightly more consistent behaviour between consecutive runs of a test suite. It is mostly groundwork for future 
improvements which will exploit this functionality more effectively.

4.55.1:
This patch fixes issue 2257, where from_type() could incorrectly generate bytestrings when passed a generic typing.Sequence such as Sequence[set].

4.55.0:
This release adds database support for targeted property-based testing, so the best examples based on the targeting will be saved and reused between runs. This is mostly laying groundwork for future 
features in this area, but will also make targeted property-based tests more useful during development, where the same tests tend to get run over and over again.

If max_examples is large, this may increase memory usage significantly under some circumstances, but these should be relatively rare.

This release also adds a dependency on the sortedcontainers package.

4.54.2:
This release improves the optimisation algorithm for targeted property-based testing, so that it will find higher quality results more reliably. Specifically, in cases where it would previously have 
got near a local optimum, it will now tend to achieve the locally optimal value.

4.54.1:
This release is mostly internal changes in support of better testing of the core engine. You are unlikely to see much effect, although some internal heuristics have changed slightly.

4.54.0:
This release adds a dedicated phase for targeted property-based testing, and (somewhat) improves the targeting algorithm so that it will find higher quality results more reliably. This comes at a 
cost of making it more likely to get stuck in a local optimum.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.79 -r1.80 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.82 pkgsrc/devel/py-hypothesis/Makefile:1.83
--- pkgsrc/devel/py-hypothesis/Makefile:1.82    Sun Dec 15 11:28:53 2019
+++ pkgsrc/devel/py-hypothesis/Makefile Sat Jun 20 07:06:42 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.82 2019/12/15 11:28:53 adam Exp $
+# $NetBSD: Makefile,v 1.83 2020/06/20 07:06:42 adam Exp $
 
-DISTNAME=      hypothesis-4.53.3
+DISTNAME=      hypothesis-4.57.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
@@ -11,6 +11,7 @@ COMMENT=      Python library for property bas
 LICENSE=       mpl-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.29 pkgsrc/devel/py-hypothesis/PLIST:1.30
--- pkgsrc/devel/py-hypothesis/PLIST:1.29       Sun Dec 15 11:28:53 2019
+++ pkgsrc/devel/py-hypothesis/PLIST    Sat Jun 20 07:06:42 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2019/12/15 11:28:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.30 2020/06/20 07:06:42 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -108,6 +108,9 @@ ${PYSITELIB}/hypothesis/internal/conject
 ${PYSITELIB}/hypothesis/internal/conjecture/optimiser.py
 ${PYSITELIB}/hypothesis/internal/conjecture/optimiser.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/optimiser.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/pareto.py
+${PYSITELIB}/hypothesis/internal/conjecture/pareto.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/pareto.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.79 pkgsrc/devel/py-hypothesis/distinfo:1.80
--- pkgsrc/devel/py-hypothesis/distinfo:1.79    Sun Dec 15 11:28:53 2019
+++ pkgsrc/devel/py-hypothesis/distinfo Sat Jun 20 07:06:42 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.79 2019/12/15 11:28:53 adam Exp $
+$NetBSD: distinfo,v 1.80 2020/06/20 07:06:42 adam Exp $
 
-SHA1 (hypothesis-4.53.3.tar.gz) = f622e3eb92cab969c995898b53da3bf58629803c
-RMD160 (hypothesis-4.53.3.tar.gz) = 4ea3ba46b7a2a02bb8e0c7d7b0e507ea18219b6f
-SHA512 (hypothesis-4.53.3.tar.gz) = 1102a64d3cd12a5f77fa3af7c062f74b8a04cede32d3c082946127981f88c27ed84f987706640a64bae8aec0562724a3f6d080518231ac82831b20fcc70a661f
-Size (hypothesis-4.53.3.tar.gz) = 228049 bytes
+SHA1 (hypothesis-4.57.1.tar.gz) = c5d9af2d819ee3e062d108488077942383e6d71b
+RMD160 (hypothesis-4.57.1.tar.gz) = a7d04bf21c941fd427b0c1af5e9ab5bd87fc6610
+SHA512 (hypothesis-4.57.1.tar.gz) = fa2521699dcbef41594d6556240f7b6106c6da1767e99cbb87caf20ec57b4864b6f8a83b34f67a9fe8b20f814e5287cad35d49c49d322b4ccad8b1769f40c485
+Size (hypothesis-4.57.1.tar.gz) = 233528 bytes



Home | Main Index | Thread Index | Old Index