Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Adam Ciarcinski
Date: 2023-09-18 07:56:32
Message id: 20230918055632.A15A5FBDB@cvs.NetBSD.org
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.
Files: