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 6.57.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/ddfd01449971
branches: trunk
changeset: 388114:ddfd01449971
user: adam <adam%pkgsrc.org@localhost>
date: Mon Nov 14 08:33:57 2022 +0000
description:
py-hypothesis: updated to 6.57.1
6.57.1 - 2022-11-14
This patch updates some internal type annotations and fixes a formatting bug in the explain phase reporting.
6.57.0 - 2022-11-14
Hypothesis now raises an error if you passed a strategy as the alphabet= argument to text(), and it generated something which was not a length-one string. This has never been supported, we’re just
adding explicit validation to catch cases like this StackOverflow question.
diffstat:
devel/py-hypothesis/Makefile | 5 +-
devel/py-hypothesis/distinfo | 9 +--
devel/py-hypothesis/patches/patch-src_hypothesis_extra_array__api.py | 25 ----------
3 files changed, 6 insertions(+), 33 deletions(-)
diffs (58 lines):
diff -r 9fbec105c7c3 -r ddfd01449971 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile Sun Nov 13 21:21:12 2022 +0000
+++ b/devel/py-hypothesis/Makefile Mon Nov 14 08:33:57 2022 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.114 2022/11/04 18:34:09 adam Exp $
+# $NetBSD: Makefile,v 1.115 2022/11/14 08:33:57 adam Exp $
#
# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
-DISTNAME= hypothesis-6.56.4
-PKGREVISION= 1
+DISTNAME= hypothesis-6.57.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 9fbec105c7c3 -r ddfd01449971 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo Sun Nov 13 21:21:12 2022 +0000
+++ b/devel/py-hypothesis/distinfo Mon Nov 14 08:33:57 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.110 2022/11/04 18:34:09 adam Exp $
+$NetBSD: distinfo,v 1.111 2022/11/14 08:33:57 adam Exp $
-BLAKE2s (hypothesis-6.56.4.tar.gz) = 34cc00172c0a88f85ea6699233c16af1e7b7b0ab1318ce91e109e789713a737d
-SHA512 (hypothesis-6.56.4.tar.gz) = 7ca2a1e677444f3073e3ebf8a4c39039636f92b51f28f4b296998a6d10cde3ff9321c0d9ee7ff6d5748f3cf4b196bbf795cb5f3e5bd78585b6dc34af5587fe97
-Size (hypothesis-6.56.4.tar.gz) = 333424 bytes
-SHA1 (patch-src_hypothesis_extra_array__api.py) = 788a333566cf2d8b800ad43e2b6583f31ff04597
+BLAKE2s (hypothesis-6.57.1.tar.gz) = 86454ceec3a0fdea0444752156b465783a05961a5864d24e63764d4a35478552
+SHA512 (hypothesis-6.57.1.tar.gz) = 44b9c95d68025b6fe35405ae146a189af8c9474b4c51cdb645b23f52f3b3e9cfc3da884e48ab5440137fc858195986f6174b0205353ce8f26b86b5f8b16b49d5
+Size (hypothesis-6.57.1.tar.gz) = 333817 bytes
diff -r 9fbec105c7c3 -r ddfd01449971 devel/py-hypothesis/patches/patch-src_hypothesis_extra_array__api.py
--- a/devel/py-hypothesis/patches/patch-src_hypothesis_extra_array__api.py Sun Nov 13 21:21:12 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_hypothesis_extra_array__api.py,v 1.1 2022/11/04 18:34:09 adam Exp $
-
-Fix build for Python 3.7.
-https://github.com/HypothesisWorks/hypothesis/issues/3500
-
---- src/hypothesis/extra/array_api.py.orig 2022-11-04 18:29:04.000000000 +0000
-+++ src/hypothesis/extra/array_api.py
-@@ -902,7 +902,7 @@ def make_strategies_namespace(
- check_argument(
- isinstance(xp.__array_api_version__, str)
- and xp.__array_api_version__ in RELEASED_VERSIONS,
-- f"{xp.__array_api_version__=}, but xp.__array_api_version__ must "
-+ f"{xp.__array_api_version__}, but xp.__array_api_version__ must "
- f"be a valid version string {RELEASED_VERSIONS}. {not_available_msg}",
- )
- api_version = xp.__array_api_version__
-@@ -910,7 +910,7 @@ def make_strategies_namespace(
- else:
- check_argument(
- isinstance(api_version, str) and api_version in NOMINAL_VERSIONS,
-- f"{api_version=}, but api_version must be None, or a valid version "
-+ f"{api_version}, but api_version must be None, or a valid version "
- f"string {RELEASED_VERSIONS}. {not_available_msg}",
- )
- inferred_version = False
Home |
Main Index |
Thread Index |
Old Index