pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-hypothesis



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Sep 18 05:56:32 UTC 2023

Modified Files:
        pkgsrc/devel/py-hypothesis: Makefile distinfo

Log Message:
py-hypothesis: updated to 6.86.1

6.86.1

This patch improves the documentation of @example(...).xfail() by adding a note about PEP 614, similar to @example(...).via(), and adds a warning when a strategy generates a test case which seems 
identical to one provided by an xfailed example.

6.86.0

This release enables the explain phase by default. We hope it helps you to understand why your failing tests have failed!

6.85.1

This patch switches some of our type annotations to use typing.Literal when only a few specific values are allowed, such as UUID or IP address versions.

6.85.0

This release deprecates the old whitelist/blacklist arguments to characters(), in favor of include/exclude arguments which more clearly describe their effects on the set of characters which can be 
generated.

You can use Hypothesis’ codemods to automatically upgrade to the new argument names. In a future version, the old names will start to raise a DeprecationWarning.

6.84.3

This patch automatically disables the differing_executors health check for methods which are also pytest parametrized tests, because those were mostly false alarms.

6.84.2

Building on recent releases, characters() now accepts _any_ codec=, not just "utf-8" and "ascii".

This includes standard codecs from the codecs module and their aliases, platform specific and user-registered codecs if they are available, and python-specific text encodings (but not text transforms 
or binary transforms).

6.84.1

This patch by Reagan Lee makes st.text(...).filter(str.isidentifier) return an efficient custom strategy.

6.84.0

The from_regex() strategy now takes an optional alphabet=characters(codec="utf-8") argument for unicode strings, like text().

This offers more and more-consistent control over the generated strings, removing previously-hard-coded limitations. With fullmatch=False and alphabet=characters(), surrogate characters are now 
possible in leading and trailing text as well as the body of the match. Negated character classes such as [^A-Z] or \S had a hard-coded exclusion of control characters and surrogate characters; now 
they permit anything in alphabet= consistent with the class, and control characters are permitted by default.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.122 -r1.123 pkgsrc/devel/py-hypothesis/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-hypothesis/Makefile
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.126 pkgsrc/devel/py-hypothesis/Makefile:1.127
--- pkgsrc/devel/py-hypothesis/Makefile:1.126   Fri Aug 25 11:08:48 2023
+++ pkgsrc/devel/py-hypothesis/Makefile Mon Sep 18 05:56:32 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.126 2023/08/25 11:08:48 adam Exp $
+# $NetBSD: Makefile,v 1.127 2023/09/18 05:56:32 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.82.6
+DISTNAME=      hypothesis-6.86.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.122 pkgsrc/devel/py-hypothesis/distinfo:1.123
--- pkgsrc/devel/py-hypothesis/distinfo:1.122   Fri Aug 25 11:08:48 2023
+++ pkgsrc/devel/py-hypothesis/distinfo Mon Sep 18 05:56:32 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.122 2023/08/25 11:08:48 adam Exp $
+$NetBSD: distinfo,v 1.123 2023/09/18 05:56:32 adam Exp $
 
-BLAKE2s (hypothesis-6.82.6.tar.gz) = 7fdb186ba4fea1731a76694460bb9f6f58ddde53d955af914e3b2b3814fda096
-SHA512 (hypothesis-6.82.6.tar.gz) = 9c940b9025d3a92d65b112c2cf004ae30175660aeb0f24a17fcc5c260393831663f2ff9da1d889bc8a9a99d58af64a8cdc1266d3d5595c43daabbfbc56f41cc5
-Size (hypothesis-6.82.6.tar.gz) = 353353 bytes
+BLAKE2s (hypothesis-6.86.1.tar.gz) = 5da3cddb9377a0b70e6e853773475b2b60e5bfdc8dce89b280387493f538dd40
+SHA512 (hypothesis-6.86.1.tar.gz) = e78cd140c7c1e678ab8f5a796e0e4b71575b8267116aa41f6724bb749c7fefcabcb7b581a6d2ef3b68dbedf92d0f91a34f1dd369453fe2b858c32290aeef5f92
+Size (hypothesis-6.86.1.tar.gz) = 359742 bytes



Home | Main Index | Thread Index | Old Index