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 4.24.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeeab87dcd3c
branches:  trunk
changeset: 396510:aeeab87dcd3c
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jun 02 08:30:18 2019 +0000

description:
py-hypothesis: updated to 4.24.0

4.24.0:
This release deprecates GenericStateMachine, in favor of :class:~hypothesis.stateful.RuleBasedStateMachine. Rule-based stateful testing is significantly faster, especially during shrinking.

If your use-case truly does not fit rule-based stateful testing, we recommend writing a custom test function which drives your specific control-flow using :func:~hypothesis.strategies.data.

4.23.9:
This patch fixes a very rare example database issue with file permissions.

When running a test that uses both :func:@given <hypothesis.given> and pytest.mark.parametrize, using :pypi:pytest-xdist on Windows, with failing examples in the database, two attempts to read a file 
could overlap and we caught FileNotFound but not other OSErrors.

4.23.8:
This patch has a minor cleanup of the internal engine. There is no user-visible impact.

4.23.7:
This patch clarifies some error messages when the test function signature is incompatible with the arguments to :func:@given <hypothesis.given>, especially when the :obj:@settings() 
<hypothesis.settings> decorator is also used (:issue:1978).

4.23.6:
This release adds the :pypi:pyupgrade fixer to our code style, for consistent use of dict and set literals and comprehensions.

4.23.5:
This release slightly simplifies a small part of the core engine. There is no user-visible change.

diffstat:

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

diffs (27 lines):

diff -r 4bde2cc28dda -r aeeab87dcd3c devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Sun Jun 02 08:26:55 2019 +0000
+++ b/devel/py-hypothesis/Makefile      Sun Jun 02 08:30:18 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2019/05/09 11:53:58 adam Exp $
+# $NetBSD: Makefile,v 1.77 2019/06/02 08:30:18 adam Exp $
 
-DISTNAME=      hypothesis-4.23.4
+DISTNAME=      hypothesis-4.24.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 4bde2cc28dda -r aeeab87dcd3c devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Sun Jun 02 08:26:55 2019 +0000
+++ b/devel/py-hypothesis/distinfo      Sun Jun 02 08:30:18 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.73 2019/05/09 11:53:58 adam Exp $
+$NetBSD: distinfo,v 1.74 2019/06/02 08:30:18 adam Exp $
 
-SHA1 (hypothesis-4.23.4.tar.gz) = dd1d15cc36d8428ef054559c0cc0a6dca7af9b72
-RMD160 (hypothesis-4.23.4.tar.gz) = 12fb6ff94c98ccc399f7dc92d8ff7d05599cd1d5
-SHA512 (hypothesis-4.23.4.tar.gz) = 210f4bcbd73c42c683000f62e00fca6f7b626de4966d0513ac879fa4b87d25558c9da905aa5a14f497f9eb55b8d3a5ecc44922f5259b85ac7fcd534b5c31adec
-Size (hypothesis-4.23.4.tar.gz) = 201267 bytes
+SHA1 (hypothesis-4.24.0.tar.gz) = 10e01c42a3ec2488aa93f9a27c65c05a2261fb59
+RMD160 (hypothesis-4.24.0.tar.gz) = 4bd2277a05b4ff81ca1fb9eaae5b5857ffcbcb52
+SHA512 (hypothesis-4.24.0.tar.gz) = 56cb0b167072fb81f44ebf3507c44f4cc79b545b90b49788e0101e2bd3a8809f0d6779ac0f5d8ddba88812b37dc1cfe83cd00f6fa4c287147cbf34ef0b6400dd
+Size (hypothesis-4.24.0.tar.gz) = 201010 bytes



Home | Main Index | Thread Index | Old Index