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.80.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/083e983f336e
branches: trunk
changeset: 314360:083e983f336e
user: adam <adam%pkgsrc.org@localhost>
date: Fri Oct 26 08:05:31 2018 +0000
description:
py-hypothesis: updated to 3.80.0
3.80.0:
Since :ref:version 3.68.0 <v3.68.0>, :func:~hypothesis.extra.numpy.arrays checks that values drawn from the elements and fill strategies can be safely cast to the dtype of the array, and emits a
warning otherwise.
This release expands the checks to cover overflow for finite complex64 elements and string truncation caused by too-long elements or trailing null characters (:issue:1591).
3.79.4:
Tests using :func:@given <hypothesis.given> now shrink errors raised from :pypi:pytest helper functions, instead of reporting the first example found.
This was previously fixed in :ref:version 3.56.0 <v3.56.0>, but only for stateful testing.
3.79.3:
Traceback elision is now disabled on Python 2, to avoid an import-time :class:python:SyntaxError under Python < 2.7.9 (Python: :bpo:21591, :ref:Hypothesis 3.79.2 <v3.79.2>: :issue:1648).
We encourage all users to upgrade to Python 3 before the end of 2019.
3.79.2:
This patch shortens tracebacks from Hypothesis, so you can see exactly happened in your code without having to skip over irrelevant details about our internals (:issue:848).
In the example test (see :pull:1582), this reduces tracebacks from nine frames to just three - and for a test with multiple errors, from seven frames per error to just one!
If you do want to see the internal details, you can disable frame elision by setting :obj:~hypothesis.settings.verbosity to debug.
3.79.1:
The abstract number classes :class:~python:numbers.Number, :class:~python:numbers.Complex, :class:~python:numbers.Real, :class:~python:numbers.Rational, and :class:~python:numbers.Integral are now
supported by the :func:~hypothesis.strategies.from_type strategy. Previously, you would have to use :func:~hypothesis.strategies.register_type_strategy before they could be resolved (:issue:1636)
3.79.0:
This release adds a CLI flag for verbosity --hypothesis-verbosity to the Hypothesis pytest plugin, applied after loading the profile specified by --hypothesis-profile. Valid options are the names of
verbosity settings, quiet, normal, verbose or debug.
The pytest header now correctly reports the current profile if --hypothesis-profile has been used.
diffstat:
devel/py-hypothesis/Makefile | 4 ++--
devel/py-hypothesis/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r d55c58a761dc -r 083e983f336e devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile Fri Oct 26 07:43:05 2018 +0000
+++ b/devel/py-hypothesis/Makefile Fri Oct 26 08:05:31 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.64 2018/10/18 10:07:18 adam Exp $
+# $NetBSD: Makefile,v 1.65 2018/10/26 08:05:31 adam Exp $
-DISTNAME= hypothesis-3.78.0
+DISTNAME= hypothesis-3.80.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r d55c58a761dc -r 083e983f336e devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo Fri Oct 26 07:43:05 2018 +0000
+++ b/devel/py-hypothesis/distinfo Fri Oct 26 08:05:31 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.61 2018/10/18 10:07:18 adam Exp $
+$NetBSD: distinfo,v 1.62 2018/10/26 08:05:31 adam Exp $
-SHA1 (hypothesis-3.78.0.tar.gz) = be6315fd9d28c0b099ec10cfa9ef1ee58f3fbf37
-RMD160 (hypothesis-3.78.0.tar.gz) = eed7d83cae6dca64bc1de2f60d08f7f0aea45706
-SHA512 (hypothesis-3.78.0.tar.gz) = c0d968f8a8625eb10158cbc79e2c6ab4a40c2ba05b248fa986c7607cd1839e63514123a130560e4549d460eee069db4a6104f100fd185e123fdacf0e2e0acd12
-Size (hypothesis-3.78.0.tar.gz) = 179874 bytes
+SHA1 (hypothesis-3.80.0.tar.gz) = 4684cc374acaa7e22f68e3a2a45549ed36adadd4
+RMD160 (hypothesis-3.80.0.tar.gz) = f60cb2ce3a2ad3bf691787c827df80478fd40838
+SHA512 (hypothesis-3.80.0.tar.gz) = 44facffeef36f841be213e59053726e478eb95a6f19d6e02f9e35c727ed6d9898f2ad053ce69f7e5457810ccc94b61566654ab10fb291ad98f4cc84bb97da563
+Size (hypothesis-3.80.0.tar.gz) = 181093 bytes
Home |
Main Index |
Thread Index |
Old Index