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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34caa88e7684
branches:  trunk
changeset: 381209:34caa88e7684
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jul 02 09:10:39 2022 +0000

description:
py-hypothesis: updated to 6.48.2

6.48.2

This patch tidies up some internal introspection logic, which will improve support for positional-only arguments in a future release (issue 2706).

6.48.1

This release automatically rewrites some simple filters, such as floats().filter(lambda x: x >= 10) to the more efficient floats(min_value=10), based on the AST of the predicate.

We continue to recommend using the efficient form directly wherever possible, but this should be useful for e.g. pandera “Checks” where you already have a simple predicate and translating manually is 
really annoying.

6.48.0

This release raises SkipTest for which never executed any examples, for example because the phases setting excluded the explicit, reuse, and generate phases. This helps to avoid cases where broken 
tests appear to pass, because they didn’t actually execute (issue 3328).

6.47.5

This patch fixes type annotations that had caused the signature of @given to be partially-unknown to type-checkers for Python versions before 3.10.

6.47.4

This patch fixes from_type() on Python 3.11, following python/cpython-93754.

6.47.3

This patch makes the too_slow health check more consistent with long deadline tests (issue 3367) and fixes an install issue under pipenv which was introduced in Hypothesis 6.47.2 (issue 3374).

6.47.2

We now use the PEP 654 ExceptionGroup type - provided by the exceptiongroup backport on older Pythons - to ensure that if multiple errors are raised in teardown, they will all propagate.

6.47.1

Our pretty-printer no longer sorts dictionary keys, since iteration order is stable in Python 3.7+ and this can affect reproducing examples (issue 3370). This PR was kindly supported by Ordina 
Pythoneers.

6.47.0

The Ghostwritter can now write tests for @classmethod or @staticmethod methods, in addition to the existing support for functions and other callables (issue 3318). Thanks to Cheuk Ting Ho for the 
patch.

diffstat:

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

diffs (27 lines):

diff -r 120d002af323 -r 34caa88e7684 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Sat Jul 02 08:01:35 2022 +0000
+++ b/devel/py-hypothesis/Makefile      Sat Jul 02 09:10:39 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.108 2022/01/31 11:43:31 wiz Exp $
+# $NetBSD: Makefile,v 1.109 2022/07/02 09:10:39 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.36.1
+DISTNAME=      hypothesis-6.48.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 120d002af323 -r 34caa88e7684 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Sat Jul 02 08:01:35 2022 +0000
+++ b/devel/py-hypothesis/distinfo      Sat Jul 02 09:10:39 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.105 2022/01/31 11:43:31 wiz Exp $
+$NetBSD: distinfo,v 1.106 2022/07/02 09:10:39 adam Exp $
 
-BLAKE2s (hypothesis-6.36.1.tar.gz) = 39d29de1a449744ad5440e4e9b6f99f91386d6819e7d2e488b97f148e36305b8
-SHA512 (hypothesis-6.36.1.tar.gz) = 7df36ec9568972a493d46c839a81ec21a1cdadfa1559b6ae618e5bc6cc8f9f5ce234c5ca7051e12ce299614490ff0ab4d9e64b0e1c39925c342364be511ad4f0
-Size (hypothesis-6.36.1.tar.gz) = 316531 bytes
+BLAKE2s (hypothesis-6.48.2.tar.gz) = dd06b9ae83976c77a522ddaa5338ca2ba8f078955f69aac958f0026d26eab2ab
+SHA512 (hypothesis-6.48.2.tar.gz) = a736fe4206ac24d8e16e64154656b90d4d180c9e731bdd53416efdd2cb023dff8ebb429baf63b3663bcf143ae93ef87025bbde4f6a05676086067a3a2cedef46
+Size (hypothesis-6.48.2.tar.gz) = 326586 bytes


Home | Main Index | Thread Index | Old Index