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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c647898154f4
branches:  trunk
changeset: 377361:c647898154f4
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 15 09:08:36 2018 +0000

description:
py-hypothesis: updated to 3.49.1

3.49.1:
This patch fixes our tests for Numpy dtype strategies on big-endian platforms, where the strategy behaved correctly but the test assumed that the native byte order was little-endian.

There is no user impact unless you are running our test suite on big-endian platforms. Thanks to Graham Inggs for reporting :issue:1164.

3.49.0:
This release deprecates passing elements=None to collection strategies, such as :func:~hypothesis.strategies.lists.

Requiring lists(nothing()) or builds(list) instead of lists() means slightly more typing, but also improves the consistency and discoverability of our API - as well as showing how to compose or 
construct strategies in ways that still work in more complex situations.

Passing a nonzero max_size to a collection strategy where the elements strategy contains no values is now deprecated, and will be an error in a future version. The equivalent with elements=None is 
already an error.

diffstat:

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

diffs (27 lines):

diff -r d5843e9d380a -r c647898154f4 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Thu Mar 15 09:04:44 2018 +0000
+++ b/devel/py-hypothesis/Makefile      Thu Mar 15 09:08:36 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2018/03/06 08:06:37 adam Exp $
+# $NetBSD: Makefile,v 1.51 2018/03/15 09:08:36 adam Exp $
 
-DISTNAME=      hypothesis-3.48.1
+DISTNAME=      hypothesis-3.49.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r d5843e9d380a -r c647898154f4 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Thu Mar 15 09:04:44 2018 +0000
+++ b/devel/py-hypothesis/distinfo      Thu Mar 15 09:08:36 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.47 2018/03/06 08:06:37 adam Exp $
+$NetBSD: distinfo,v 1.48 2018/03/15 09:08:36 adam Exp $
 
-SHA1 (hypothesis-3.48.1.tar.gz) = ba73b49f30d19355dcddd4e98ad7fb6dc456d7ca
-RMD160 (hypothesis-3.48.1.tar.gz) = 8a598bb9d2bc25de7ae929c73db7f33b0c7ff059
-SHA512 (hypothesis-3.48.1.tar.gz) = a3e421821222d26f49009e4b545208552e4654ae0197a4c8a0ee8d2458d2881de22945c89b97764771185a8e4f135de053260050c29edad5c888f30d178310ca
-Size (hypothesis-3.48.1.tar.gz) = 150199 bytes
+SHA1 (hypothesis-3.49.1.tar.gz) = ece4a0bf84bf77a662307d3ab1401c826de39a06
+RMD160 (hypothesis-3.49.1.tar.gz) = 4922c69b25b96563e579b7c4bcbeb652ca56ec09
+SHA512 (hypothesis-3.49.1.tar.gz) = 7d9d8abf8c572cf48f111df6ad29123cbc79343b4ac92d65429d0803b5100c6e083dab1fc1410e03ba70ef710c0034e82bd21706fb1c55e1d14984178120e08d
+Size (hypothesis-3.49.1.tar.gz) = 150289 bytes



Home | Main Index | Thread Index | Old Index