pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis py-hypothesis: updated to 3.65.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/581db95ff2d4
branches:  trunk
changeset: 382391:581db95ff2d4
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jul 03 07:47:45 2018 +0000

description:
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.

diffstat:

 devel/py-hypothesis/Makefile |   4 ++--
 devel/py-hypothesis/PLIST    |   9 ++++++++-
 devel/py-hypothesis/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 8 deletions(-)

diffs (63 lines):

diff -r 84f78cd3bd32 -r 581db95ff2d4 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Tue Jul 03 07:44:00 2018 +0000
+++ b/devel/py-hypothesis/Makefile      Tue Jul 03 07:47:45 2018 +0000
@@ -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/}
diff -r 84f78cd3bd32 -r 581db95ff2d4 devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Tue Jul 03 07:44:00 2018 +0000
+++ b/devel/py-hypothesis/PLIST Tue Jul 03 07:47:45 2018 +0000
@@ -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/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/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
diff -r 84f78cd3bd32 -r 581db95ff2d4 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Tue Jul 03 07:44:00 2018 +0000
+++ b/devel/py-hypothesis/distinfo      Tue Jul 03 07:47:45 2018 +0000
@@ -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