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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f30f9f7d4d4
branches:  trunk
changeset: 384798:2f30f9f7d4d4
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 05 09:10:57 2022 +0000

description:
py-hypothesis: updated to 6.54.5

6.54.5 - 2022-09-05

This patch updates our autoformatting tools, improving our code style without any API changes.

6.54.4 - 2022-08-20

This patch fixes some type annotations for Python 3.9 and earlier (issue 3397), and teaches explain mode about certain locations it should not bother reporting (issue 3439).

6.54.3 - 2022-08-12

This patch teaches the Ghostwriter an additional check for function and class locations that should make it use public APIs more often.

6.54.2 - 2022-08-10

This patch fixes our workaround for a pytest bug where the inner exceptions in an ExceptionGroup are not displayed (issue 3430).

6.54.1 - 2022-08-02

This patch makes FailedHealthCheck and DeadlineExceeded exceptions picklable, for compatibility with Django’s parallel test runner (issue 3426).

6.54.0 - 2022-08-02

Reporting of multiple failing examples now uses the PEP 654 ExceptionGroup type, which is provided by the exceptiongroup backport on Python 3.10 and earlier (issue 3175). 
hypothesis.errors.MultipleFailures is therefore deprecated.

Failing examples and other reports are now stored as PEP 678 exception notes, which ensures that they will always appear together with the traceback and other information about their respective error.

6.53.0 - 2022-07-25

from_field() now supports UsernameField from django.contrib.auth.forms.

Thanks to Afonso Silva for reporting and working on issue 3417.

6.52.4 - 2022-07-22

This patch improves the error message when you pass filenames to the hypothesis write CLI, which takes the name of a module or function (e.g. hypothesis write gzip or hypothesis write 
package.some_function rather than hypothesis write script.py).

Thanks to Ed Rogers for implementing this as part of the SciPy 2022 sprints!

6.52.3 - 2022-07-19

This patch ensures that the warning for non-interactive .example() points to your code instead of Hypothesis internals (issue 3403).

Thanks to @jameslamb for this fix.

6.52.2 - 2022-07-19

This patch makes integers() more likely to generate boundary values for large two-sided intervals (issue 2942).

6.52.1 - 2022-07-18

This patch adds filter rewriting for math.isfinite(), math.isinf(), and math.isnan() on integers() or floats() (issue 2701).

6.52.0 - 2022-07-18

This release adds the allow_subnormal argument to complex_numbers() by applying it to each of the real and imaginary parts separately.

6.51.0 - 2022-07-17

Issue a deprecation warning if a function decorated with @composite does not draw any values

6.50.1 - 2022-07-09

This patch improves the error messages in @example() argument validation following the recent release of 6.49.1.

6.50.0 - 2022-07-09

This release allows from_dtype() to generate Unicode strings which cannot be encoded in UTF-8, but are valid in Numpy arrays (which use UTF-32).

This logic will only be used with Numpy >= 1.19, because earlier versions have an issue which led us to revert Hypothesis 5.2 last time!

diffstat:

 devel/py-hypothesis/Makefile |  15 +++++++--------
 devel/py-hypothesis/distinfo |   8 ++++----
 2 files changed, 11 insertions(+), 12 deletions(-)

diffs (51 lines):

diff -r 6c8c302bb808 -r 2f30f9f7d4d4 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Mon Sep 05 09:00:21 2022 +0000
+++ b/devel/py-hypothesis/Makefile      Mon Sep 05 09:10:57 2022 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.110 2022/07/03 12:44:09 wiz Exp $
+# $NetBSD: Makefile,v 1.111 2022/09/05 09:10:57 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.48.2
+DISTNAME=      hypothesis-6.54.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
 
@@ -16,16 +15,16 @@
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
-
-.if ${_PYTHON_VERSION} == 37 || ${_PYTHON_VERSION} == 38 || ${_PYTHON_VERSION} == 39 || ${_PYTHON_VERSION} == 310
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} != 311
 DEPENDS+=      ${PYPKGPREFIX}-exceptiongroup>=1.0.0rc8:../../devel/py-exceptiongroup
 .endif
 
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6c8c302bb808 -r 2f30f9f7d4d4 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Mon Sep 05 09:00:21 2022 +0000
+++ b/devel/py-hypothesis/distinfo      Mon Sep 05 09:10:57 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.106 2022/07/02 09:10:39 adam Exp $
+$NetBSD: distinfo,v 1.107 2022/09/05 09:10:57 adam Exp $
 
-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
+BLAKE2s (hypothesis-6.54.5.tar.gz) = 5a5ad6533b94e77f7ee53bb092aaac3bf31097ebf21540c577230245faef5193
+SHA512 (hypothesis-6.54.5.tar.gz) = 270cc081bddcca398aa80f1459288b121d05ec149d575237ddbf0feddc52d03efc3699d9473f40e1e343217e989278e11bc5bf4f7e12f5e5b2eb75a96c7d0870
+Size (hypothesis-6.54.5.tar.gz) = 329386 bytes


Home | Main Index | Thread Index | Old Index