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: update to 6.1.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e49136226d5c
branches:  trunk
changeset: 446109:e49136226d5c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 04 11:15:16 2021 +0000

description:
py-hypothesis: update to 6.1.1.

6.1.1 - 2021-01-31

This patch updates our automatic code formatting to use shed, which includes autoflake, black, isort, and pyupgrade (issue #2780).

6.1.0 - 2021-01-29

This release teaches Hypothesis to distinguish between errors based on the __cause__ or __context__ of otherwise identical exceptions, which is particularly useful when internal errors can be wrapped 
by a library-specific or semantically appropriate exception such as:

try:
    do_the_thing(foo, timeout=10)
except Exception as err:
    raise FooError("Failed to do the thing") from err

Earlier versions of Hypothesis only see the FooError, while we can now distinguish a FooError raised because of e.g. an internal assertion from one raised because of a TimeoutExceeded exception.

6.0.4 - 2021-01-27

This release prevents a race condition inside recursive() strategies. The race condition occurs when the same recursive() strategy is shared among tests that are running in multiple threads (issue 
#2717).

diffstat:

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

diffs (29 lines):

diff -r 4b4d738b8a16 -r e49136226d5c devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Thu Feb 04 11:13:45 2021 +0000
+++ b/devel/py-hypothesis/Makefile      Thu Feb 04 11:15:16 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.94 2021/01/25 10:08:58 wiz Exp $
+# $NetBSD: Makefile,v 1.95 2021/02/04 11:15:16 wiz Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.0.3
+DISTNAME=      hypothesis-6.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 4b4d738b8a16 -r e49136226d5c devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Thu Feb 04 11:13:45 2021 +0000
+++ b/devel/py-hypothesis/distinfo      Thu Feb 04 11:15:16 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.91 2021/01/25 10:08:58 wiz Exp $
+$NetBSD: distinfo,v 1.92 2021/02/04 11:15:16 wiz Exp $
 
-SHA1 (hypothesis-6.0.3.tar.gz) = 75f848364889efc7f8bb70650a04398c0af22f84
-RMD160 (hypothesis-6.0.3.tar.gz) = 6555637bace75a0ec838d48d2dce1ac0483d4f78
-SHA512 (hypothesis-6.0.3.tar.gz) = 5f4a065d78b17119b9eef8e81516d24e51087a9fa85307284457268bff51cc2f9c8fb33fd6b48f291159eee6eb7a474b70cf7f0e96c289f73e4f07aa24dbc8ca
-Size (hypothesis-6.0.3.tar.gz) = 288291 bytes
+SHA1 (hypothesis-6.1.1.tar.gz) = e466f1d42a1d93aed7199b381d3f34fcdd07cd05
+RMD160 (hypothesis-6.1.1.tar.gz) = 50fe1ac0629c67c909da8ed17928ba58ac929fdf
+SHA512 (hypothesis-6.1.1.tar.gz) = 942592404340772058158c64e675291ac4077f542183346877fedbfaa6002d9f11fc7bade2cdb633685219c7ef3c8c9846bc4c043f3d5774ec30d3f3e06d7a4c
+Size (hypothesis-6.1.1.tar.gz) = 288560 bytes



Home | Main Index | Thread Index | Old Index