Update dependency hypothesis to v6.154.1#12
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
ff904b5 to
4c941b6
Compare
4c941b6 to
efe20f5
Compare
efe20f5 to
40c72ba
Compare
40c72ba to
20d6a0a
Compare
19ff84b to
27a0d2c
Compare
27a0d2c to
7e25ea8
Compare
7e25ea8 to
b0b2d11
Compare
b0b2d11 to
cd7ca04
Compare
cd7ca04 to
47d8e90
Compare
47d8e90 to
2ecc635
Compare
2ecc635 to
a356506
Compare
a356506 to
b5ea078
Compare
b5ea078 to
4935b09
Compare
1afb351 to
10b186a
Compare
10b186a to
2f7783f
Compare
2f7783f to
5e488c0
Compare
5e488c0 to
6944232
Compare
6944232 to
124edbe
Compare
124edbe to
1ae49bb
Compare
1ae49bb to
70776b3
Compare
70776b3 to
e11f13c
Compare
e11f13c to
aab1faa
Compare
aab1faa to
ee718ee
Compare
ee718ee to
376c638
Compare
376c638 to
8677724
Compare
8677724 to
900f442
Compare
900f442 to
66a8ad8
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.138.14→6.154.1Release Notes
HypothesisWorks/hypothesis (hypothesis)
v6.154.1: Hypothesis version 6.154.1Compare Source
This patch fixes a bug where resolving recursive forward references in
"from_type()" (such as "A = list[Union["A", str]]", added in
v6.152.11) could recurse until it hit the interpreter's recursion
limit before falling back to a deferred strategy. Because this
depended on the ambient stack depth, it occasionally surfaced as a
spurious "RecursionError" or other flaky failure. We now break the
cycle eagerly by deferring, so resolution uses a small and constant
amount of stack regardless of how deeply nested the reference is.
The canonical version of these notes (with links) is on readthedocs.
v6.154.0: Hypothesis version 6.154.0Compare Source
"fixed_dictionaries()" now varies the iteration order of the dicts it
generates, rather than always placing the required keys first, to help
find bugs in code which is sensitive to key order (issue #3906). If
you need a stable order, we recommend using
"fixed_dictionaries(...).map(stable_sort_function)" or similar.
The canonical version of these notes (with links) is on readthedocs.
v6.153.6: Hypothesis version 6.153.6Compare Source
The "--hypothesis-show-statistics" report now accounts for the
"Phase.explain" phase separately, rather than including its runtime
and test cases in the "Phase.shrink" phase (issue #4179).
The canonical version of these notes (with links) is on readthedocs.
v6.153.5: Hypothesis version 6.153.5Compare Source
This patch dramatically improves the performance of "from_type()" on
hierarchies of abstract classes whose subclasses refer back to the
base class (directly, or via a sibling subclass) in their annotations.
Resolution previously took time cubic in the number of subclasses; we
now resolve each type only once (issue #4729).
The canonical version of these notes (with links) is on readthedocs.
v6.153.4: Hypothesis version 6.153.4Compare Source
This patch fixes a bug where fuzz_one_input did not track the
"interesting_origin" of failures (issue #4420). As a result, it only
saved the single smallest failure to the database rather than the
smallest example of each distinct failure, and the
"interesting_origin" was missing from observability reports.
The canonical version of these notes (with links) is on readthedocs.
v6.153.3: Hypothesis version 6.153.3Compare Source
This patch fixes a bug where "decimals()" with the "places" argument
could generate values outside the "min_value" and "max_value" bounds,
when those bounds had more fractional digits than "places" (issue
#4651).
The canonical version of these notes (with links) is on readthedocs.
v6.153.2: Hypothesis version 6.153.2Compare Source
This patch improves the performance of stateful testing for state
machines with a large number of rules (issue #4465).
The canonical version of these notes (with links) is on readthedocs.
v6.153.1: Hypothesis version 6.153.1Compare Source
This patch fixes a bug where we emitted incorrect git patch files when
one file did not have a trailing newline (issue #4744).
The canonical version of these notes (with links) is on readthedocs.
v6.153.0: Hypothesis version 6.153.0Compare Source
"event()"'s "payload" is now typed as accepting "Any", matching its
runtime behavior of accepting any string-coercible object.
The canonical version of these notes (with links) is on readthedocs.
v6.152.12: Hypothesis version 6.152.12Compare Source
When Hypothesis detects that your data generation is flaky and raises
"FlakyStrategyDefinition", the error message now describes what
differed between the two runs - such as a different choice type,
different constraints, or drawing more or less data - as well as the
stack of strategies being drawn from, instead of only reporting that
generation was inconsistent. In stateful tests, it also reports the
steps leading up to the error.
Thanks to Ian Hunt-Isaak for this improvement!
The canonical version of these notes (with links) is on readthedocs.
v6.152.11: Hypothesis version 6.152.11Compare Source
This patch adds support for recursive forward references in
"from_type()", such as "A = list[Union["A", str]]" (issue #4542).
Previously, such recursive type aliases would raise a
"ResolutionFailed" error. Now, Hypothesis can automatically resolve
the forward reference by looking it up in the caller's namespace. This
also resolves forward references inside "type[...]", such as
"type["MyClass"]".
The canonical version of these notes (with links) is on readthedocs.
v6.152.10: Hypothesis version 6.152.10Compare Source
This patch renames our source code directory from "hypothesis-python"
to "hypothesis", and changes our canonical scheme for git tags from
"hypothesis-python-X.Y.Z" to "vX.Y.Z".
We have backfilled git tags in the new "vX.Y.Z" scheme. Any
distributions or build scripts which rely on the git tag scheme should
update to the new scheme.
The canonical version of these notes (with links) is on readthedocs.
v6.152.9Compare Source
v6.152.8Compare Source
v6.152.7Compare Source
v6.152.6Compare Source
v6.152.5Compare Source
v6.152.4Compare Source
v6.152.3Compare Source
v6.152.2Compare Source
v6.152.1Compare Source
v6.152.0Compare Source
v6.151.14Compare Source
v6.151.13Compare Source
v6.151.12Compare Source
v6.151.11Compare Source
v6.151.10Compare Source
v6.151.9Compare Source
v6.151.8Compare Source
v6.151.7Compare Source
v6.151.6Compare Source
v6.151.5Compare Source
v6.151.4Compare Source
v6.151.3Compare Source
v6.151.2Compare Source
v6.151.1Compare Source
v6.151.0Compare Source
v6.150.3Compare Source
v6.150.2Compare Source
v6.150.1Compare Source
v6.150.0Compare Source
v6.149.1Compare Source
v6.149.0Compare Source
v6.148.13Compare Source
v6.148.12Compare Source
v6.148.11Compare Source
v6.148.10Compare Source
v6.148.9Compare Source
v6.148.8Compare Source
v6.148.7Compare Source
v6.148.6Compare Source
v6.148.5Compare Source
v6.148.4Compare Source
v6.148.3Compare Source
v6.148.2Compare Source
v6.148.1Compare Source
v6.148.0Compare Source
v6.147.0Compare Source
v6.146.0Compare Source
v6.145.1Compare Source
v6.145.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.