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.83.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/908ca5e34b06
branches:  trunk
changeset: 316448:908ca5e34b06
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 13 07:11:49 2018 +0000

description:
py-hypothesis: updated to 3.83.1

3.83.1:
This patch increases the variety of examples generated by st.from_type(type).

3.83.0:
Our pytest plugin now warns you when strategy functions have been collected as tests, which may happen when e.g. using the :func:@composite <hypothesis.strategies.composite> decorator when you should 
be using @given(st.data()) for inline draws. Such functions always pass when treated as tests, because the lazy creation of strategies mean that the function body is never actually executed!

3.82.6:
Hypothesis can now :ref:show statistics <statistics> when running under :pypi:pytest-xdist. Previously, statistics were only reported when all tests were run in a single process (:issue:700).

3.82.5:
This patch fixes :issue:1667, where passing bounds of Numpy dtype int64 to :func:~hypothesis.strategies.integers could cause errors on Python 3 due to internal rounding.

3.82.4:
Hypothesis now seeds and resets the global state of :class:np.random <numpy:numpy.random.RandomState> for each test case, to ensure that tests are reproducible.

This matches and complements the existing handling of the :mod:python:random module - Numpy simply maintains an independent PRNG for performance reasons.

3.82.3:
This is a no-op release to add the new Framework :: Hypothesis trove classifier to :pypi:hypothesis on PyPI.

You can use it as a filter to find Hypothesis-related packages such as extensions as they add the tag over the coming weeks, or simply visit :doc:our curated list <strategies>.

3.82.2:
The :ref:Hypothesis for Pandas extension <hypothesis-pandas> is now listed in setup.py, so you can pip install hypothesis[pandas]. Thanks to jmshi for this contribution.

diffstat:

 devel/py-hypothesis/Makefile |   4 ++--
 devel/py-hypothesis/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r e17617ba3a5a -r 908ca5e34b06 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Thu Dec 13 07:09:42 2018 +0000
+++ b/devel/py-hypothesis/Makefile      Thu Dec 13 07:11:49 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2018/11/05 08:35:04 adam Exp $
+# $NetBSD: Makefile,v 1.68 2018/12/13 07:11:49 adam Exp $
 
-DISTNAME=      hypothesis-3.82.1
+DISTNAME=      hypothesis-3.83.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r e17617ba3a5a -r 908ca5e34b06 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Thu Dec 13 07:09:42 2018 +0000
+++ b/devel/py-hypothesis/distinfo      Thu Dec 13 07:11:49 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.64 2018/11/05 08:35:04 adam Exp $
+$NetBSD: distinfo,v 1.65 2018/12/13 07:11:49 adam Exp $
 
-SHA1 (hypothesis-3.82.1.tar.gz) = 5818dc7a7ebe28584d24ae1a506033a20b345f69
-RMD160 (hypothesis-3.82.1.tar.gz) = 62db65ac670f0dcdf70f0e09b94b2be9b485cc01
-SHA512 (hypothesis-3.82.1.tar.gz) = ae65279730c5d541072733fa5f3df0b18d362ed9e50d353d7f6cca8f9846817c899b530c5ba10632a32a4b95165393c2d8d476e6f4f537b265249233685b5580
-Size (hypothesis-3.82.1.tar.gz) = 181435 bytes
+SHA1 (hypothesis-3.83.1.tar.gz) = 368bfcf896799c694d1190ff57988882967964e7
+RMD160 (hypothesis-3.83.1.tar.gz) = d901dcfe3d3b4f8ebe597a5a3e4ea3fdd140cbee
+SHA512 (hypothesis-3.83.1.tar.gz) = 0b7a22c85c69ab459694b149efa2e33b6fd252063a1068191a3405dd90fbc159d4042f5639d3eaf5dd994f4da2685c96dd5d0d1732e3bd4814c59375b2e052b6
+Size (hypothesis-3.83.1.tar.gz) = 182591 bytes



Home | Main Index | Thread Index | Old Index