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:           Tue Jul  3 07:47:45 UTC 2018

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

Log Message:
py-hypothesis: updated to 3.65.0

3.65.0:
This release deprecates the :obj:~hypothesis.settings.max_shrinks setting in favor of an internal heuristic. If you need to avoid shrinking examples, use the :obj:~hypothesis.settings.phases setting 
instead. (:issue:1235)

3.64.2:
This release fixes a bug where an internal assertion error could sometimes be triggered while shrinking a failing test.

3.64.1:
This patch fixes type-checking errors in our vendored pretty-printer, which were ignored by our mypy config but visible for anyone else (whoops). Thanks to Pi Delport for reporting :issue:1359 so 
promptly.

3.64.0:
This release adds :ref:an interface <custom-function-execution> which can be used to insert a wrapper between the original test function and :func:@given <hypothesis.given> (:issue:1257). This will 
be particularly useful for test runner extensions such as :pypi:pytest-trio, but is not recommended for direct use by other users of Hypothesis.

3.63.0:
This release adds a new mechanism to infer strategies for classes defined using :pypi:attrs, based on the the type, converter, or validator of each attribute. This inference is now built in to 
:func:~hypothesis.strategies.builds and :func:~hypothesis.strategies.from_type.

On Python 2, :func:~hypothesis.strategies.from_type no longer generates instances of int when passed long, or vice-versa.

3.62.0:
This release adds PEP 484 type hints to Hypothesis on a provisional basis, using the comment-based syntax for Python 2 compatibility. You can :ref:read more about our type hints here <our-type-hints>.

It also adds the py.typed marker specified in PEP 561. After you pip install hypothesis, :pypi:mypy 0.590 or later will therefore type-check your use of our public interface!

3.61.0:
This release deprecates the use of :class:~hypothesis.settings as a context manager, the use of which is somewhat ambiguous.
Users should define settings with global state or with the :func:@settings(...) <hypothesis.settings> decorator.

3.60.1:
Fixed a bug in generating an instance of a Django model from a strategy where the primary key is generated as part of the strategy. See :ref:details here <django-generating-primary-key>.

3.60.0:
This release add initialize decorator for stateful testing (originally discussed in :issue:1216). initialize act as a special rule that is only called once, and all initialize rules are guaranteed to 
be called before any normal rule is called.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.53 -r1.54 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.56 pkgsrc/devel/py-hypothesis/Makefile:1.57
--- pkgsrc/devel/py-hypothesis/Makefile:1.56    Sat Jun 16 12:09:13 2018
+++ pkgsrc/devel/py-hypothesis/Makefile Tue Jul  3 07:47:45 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2018/06/16 12:09:13 adam Exp $
+# $NetBSD: Makefile,v 1.57 2018/07/03 07:47:45 adam Exp $
 
-DISTNAME=      hypothesis-3.59.0
+DISTNAME=      hypothesis-3.65.0
 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.18 pkgsrc/devel/py-hypothesis/PLIST:1.19
--- pkgsrc/devel/py-hypothesis/PLIST:1.18       Sat Jun 16 12:09:13 2018
+++ pkgsrc/devel/py-hypothesis/PLIST    Tue Jul  3 07:47:45 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2018/06/16 12:09:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.19 2018/07/03 07:47:45 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/coverag
 ${PYSITELIB}/hypothesis/internal/detection.py
 ${PYSITELIB}/hypothesis/internal/detection.pyc
 ${PYSITELIB}/hypothesis/internal/detection.pyo
+${PYSITELIB}/hypothesis/internal/entropy.py
+${PYSITELIB}/hypothesis/internal/entropy.pyc
+${PYSITELIB}/hypothesis/internal/entropy.pyo
 ${PYSITELIB}/hypothesis/internal/escalation.py
 ${PYSITELIB}/hypothesis/internal/escalation.pyc
 ${PYSITELIB}/hypothesis/internal/escalation.pyo
@@ -129,12 +132,16 @@ ${PYSITELIB}/hypothesis/internal/validat
 ${PYSITELIB}/hypothesis/provisional.py
 ${PYSITELIB}/hypothesis/provisional.pyc
 ${PYSITELIB}/hypothesis/provisional.pyo
+${PYSITELIB}/hypothesis/py.typed
 ${PYSITELIB}/hypothesis/reporting.py
 ${PYSITELIB}/hypothesis/reporting.pyc
 ${PYSITELIB}/hypothesis/reporting.pyo
 ${PYSITELIB}/hypothesis/searchstrategy/__init__.py
 ${PYSITELIB}/hypothesis/searchstrategy/__init__.pyc
 ${PYSITELIB}/hypothesis/searchstrategy/__init__.pyo
+${PYSITELIB}/hypothesis/searchstrategy/attrs.py
+${PYSITELIB}/hypothesis/searchstrategy/attrs.pyc
+${PYSITELIB}/hypothesis/searchstrategy/attrs.pyo
 ${PYSITELIB}/hypothesis/searchstrategy/collections.py
 ${PYSITELIB}/hypothesis/searchstrategy/collections.pyc
 ${PYSITELIB}/hypothesis/searchstrategy/collections.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.53 pkgsrc/devel/py-hypothesis/distinfo:1.54
--- pkgsrc/devel/py-hypothesis/distinfo:1.53    Sat Jun 16 12:09:13 2018
+++ pkgsrc/devel/py-hypothesis/distinfo Tue Jul  3 07:47:45 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.53 2018/06/16 12:09:13 adam Exp $
+$NetBSD: distinfo,v 1.54 2018/07/03 07:47:45 adam Exp $
 
-SHA1 (hypothesis-3.59.0.tar.gz) = 50c9423a673f52c5f4efcd57ddc2f08ad02fa910
-RMD160 (hypothesis-3.59.0.tar.gz) = 9c213adb669f75924d5a8b31dfac93bd7cc1d9b7
-SHA512 (hypothesis-3.59.0.tar.gz) = e5982ee01c58f6b6bed4e970a2015aa919c22e58ad15abb7d15ad13087db7b51aaa4f8bf7d38ea67acf62d69ead7b948d454d89846df50dff2810965812e9559
-Size (hypothesis-3.59.0.tar.gz) = 157321 bytes
+SHA1 (hypothesis-3.65.0.tar.gz) = 6ed552b1343960abf45b8b4d3ac38128ad9bdf99
+RMD160 (hypothesis-3.65.0.tar.gz) = 434d5a85ec0f3482e28167e126a254495531d2ef
+SHA512 (hypothesis-3.65.0.tar.gz) = 471f863248f637e28bef9558d03d98accd5b7816cd7d494edaf00e6f7b5c41d46cdfa803ff64915dc2b5511dfbe81fb1bdc556dad2f4f4d0c335ecdbdd994e63
+Size (hypothesis-3.65.0.tar.gz) = 161868 bytes



Home | Main Index | Thread Index | Old Index