Update dependency hypothesis to v6.158.1#12
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
2 times, most recently
from
September 16, 2025 12:09
ff904b5 to
4c941b6
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
September 16, 2025 18:57
4c941b6 to
efe20f5
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
September 16, 2025 21:54
efe20f5 to
40c72ba
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
September 18, 2025 05:49
40c72ba to
20d6a0a
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
2 times, most recently
from
September 22, 2025 20:51
19ff84b to
27a0d2c
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
September 23, 2025 01:58
27a0d2c to
7e25ea8
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 5, 2025 00:49
7e25ea8 to
b0b2d11
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 14, 2025 17:11
b0b2d11 to
cd7ca04
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 15, 2025 05:50
cd7ca04 to
47d8e90
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 15, 2025 22:36
47d8e90 to
2ecc635
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 16, 2025 09:48
2ecc635 to
a356506
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 16, 2025 21:40
a356506 to
b5ea078
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
October 20, 2025 16:31
b5ea078 to
4935b09
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 3, 2025 11:09
1afb351 to
10b186a
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 3, 2025 22:32
10b186a to
2f7783f
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 5, 2025 11:33
2f7783f to
5e488c0
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 6, 2025 23:04
5e488c0 to
6944232
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 15, 2025 10:16
6944232 to
124edbe
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 16, 2025 09:52
124edbe to
1ae49bb
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 19, 2025 01:51
1ae49bb to
70776b3
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
November 27, 2025 09:38
70776b3 to
e11f13c
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
December 1, 2025 08:40
e11f13c to
aab1faa
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
December 4, 2025 06:16
aab1faa to
ee718ee
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
December 5, 2025 04:03
ee718ee to
376c638
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
December 23, 2025 04:59
376c638 to
8677724
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
January 1, 2026 06:37
8677724 to
900f442
Compare
renovate
Bot
force-pushed
the
renovate/hypothesis-6.x-lockfile
branch
from
January 3, 2026 21:08
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.158.1Release Notes
HypothesisWorks/hypothesis (hypothesis)
v6.158.1: Hypothesis version 6.158.1Compare Source
This patch implements filter-rewriting for "times()" and
"datetimes()": simple comparison filters such as
".filter(partial(operator.ge, bound))" are rewritten into efficient
bounds, as "dates()" already did. This includes strategies inferred
from annotated-types bounds like "Annotated[datetime, Gt(...)]", and
contradictory filters now give an empty strategy instead of failing
health checks.
The canonical version of these notes (with links) is on readthedocs.
v6.158.0: Hypothesis version 6.158.0Compare Source
"datetimes()" now accepts timezone-aware "min_value" and "max_value"
bounds, which are treated as moments in time. In this case "timezones"
defaults to "timezones()", and each generated datetime lies between
the two moments. Passing one aware and one naive bound is an error.
If annotated-types has been imported, the overloaded type hints for
this strategy now distinguish naive from aware datetimes using
"Timezone" metadata.
The canonical version of these notes (with links) is on readthedocs.
v6.157.2: Hypothesis version 6.157.2Compare Source
This patch continues our migration of Hypothesis internals to rust
(issue #4740), porting some internal float helpers. There should be no
user-visible change. If you see any change in behavior, please open an
issue.
The canonical version of these notes (with links) is on readthedocs.
v6.157.1: Hypothesis version 6.157.1Compare Source
Internal refactoring of how "Phase.explain" tracks which parts of a
failing example can vary, with no user-visible change.
The canonical version of these notes (with links) is on readthedocs.
v6.157.0: Hypothesis version 6.157.0Compare Source
"from_type()" now supports the annotated-types "Timezone" constraint
on "datetime" and "time", resolves the typing-extensions
"TypeAliasType" backport as well as the native form from Python 3.12+,
and suggests subscripting generic aliases like
"annotated_types.LowerCase" if they are mistakenly passed as
"Annotated" metadata.
The canonical version of these notes (with links) is on readthedocs.
v6.156.9: Hypothesis version 6.156.9Compare Source
This release improves observability output under symbolic backends by
displaying arguments generated by "data()" as "data(...)".
Thanks to zhangli091011 for this fix!
The canonical version of these notes (with links) is on readthedocs.
v6.156.8: Hypothesis version 6.156.8Compare Source
This patch improves the performance of unique collections drawing from
a fixed pool of elements, such as "sets()" of "sampled_from()", under
symbolic-execution backends such as hypothesis-crosshair.
The canonical version of these notes (with links) is on readthedocs.
v6.156.7: Hypothesis version 6.156.7Compare Source
This patch fixes a bug where calling ".flatmap()" on a "consumes()"
bundle raised an error (issue #4427).
The canonical version of these notes (with links) is on readthedocs.
v6.156.6: Hypothesis version 6.156.6Compare Source
This patch fixes "GitHubArtifactDatabase" failing to download
artifacts due to a colliding "Authorization" header.
The canonical version of these notes (with links) is on readthedocs.
v6.156.5: Hypothesis version 6.156.5Compare Source
We now publish abi3 wheels for 32-bit linux and 32-bit windows.
The canonical version of these notes (with links) is on readthedocs.
v6.156.4: Hypothesis version 6.156.4Compare Source
In addition to our version-specific wheels, we now also publish "abi3"
wheels, built against the 3.10 stable ABI.
The canonical version of these notes (with links) is on readthedocs.
v6.156.3: Hypothesis version 6.156.3Compare Source
Fix not uploading source distributions to PyPI, as of v6.156.0.
v6.156.2: Hypothesis version 6.156.2Compare Source
This patch fixes a
KeyErrorin |GitHubArtifactDatabase| when reading anartifact whose zip file contains no explicit directory entries, which is the
case for zips produced by
actions/upload-artifact.v6.156.1: Hypothesis version 6.156.1Compare Source
This patch fixes our build pipeline from v6.156.0, so that wheels are actually published.
v6.155.7: Hypothesis version 6.155.7Compare Source
This patch fixes a thread-safety bug where concurrent use of the same
strategy instance could error in rare cases. (issue #4475).
The canonical version of these notes (with links) is on readthedocs.
v6.155.6: Hypothesis version 6.155.6Compare Source
This patch replaces some internal "%"-style string formatting with
f-strings. There is no user-visible change.
The canonical version of these notes (with links) is on readthedocs.
v6.155.5: Hypothesis version 6.155.5Compare Source
"dates()" now raises "InvalidArgument" if a "datetime" is passed as
"min_value" or "max_value". Because "datetime" is a subclass of
"date", such bounds were previously accepted and then failed with a
confusing "TypeError" while generating examples.
The canonical version of these notes (with links) is on readthedocs.
v6.155.4: Hypothesis version 6.155.4Compare Source
This patch removes a stray "print()" which fired whenever a "dates()"
filter was rewritten.
The canonical version of these notes (with links) is on readthedocs.
v6.155.3: Hypothesis version 6.155.3Compare Source
When using an alternative backend (such as hypothesis-crosshair),
Hypothesis no longer emits a "test_case" observation for an iteration
that the backend aborts via "BackendCannotProceed" before the test
body runs. Previously such an iteration -- for example when the
crosshair backend has exhausted its search paths -- could surface as a
spurious, draw-less "passed" observation with an empty representation,
even though the engine already discards the iteration entirely.
The canonical version of these notes (with links) is on readthedocs.
v6.155.2: Hypothesis version 6.155.2Compare Source
This patch rewrites the internal date- and time-drawing helper to use
plain arithmetic instead of branching on the values it draws. The
generated distribution is unchanged, but "dates()", "datetimes()", and
"times()" are now much more efficient under symbolic-execution
backends such as crosshair-tool, which can now solve for a specific
date directly rather than enumerating candidates (issue #4759).
The canonical version of these notes (with links) is on readthedocs.
v6.155.1: Hypothesis version 6.155.1Compare Source
Shrinking large floats, strings, and bytestrings is now much faster in
some cases (issue #4006).
The canonical version of these notes (with links) is on readthedocs.
v6.155.0: Hypothesis version 6.155.0Compare Source
"from_dtype()" now supports the variable-width string dtype
"numpy.dtypes.StringDType", generating arbitrary strings via "text()"
(issue #4039).
Additionally, passing a dtype class such as "np.dtypes.StringDType"
where an instance like "np.dtypes.StringDType()" was expected now
raises a clear error, rather than the previous confusing message (or
silent coercion to the object dtype in "arrays()").
The canonical version of these notes (with links) is on readthedocs.
v6.154.2: Hypothesis version 6.154.2Compare Source
This patch improves the type annotations of "fixed_dictionaries()",
which now accepts a "Mapping" rather than requiring an invariant
"dict". Because the value type is covariant, type-checkers can now
infer the generated type even when the strategies are heterogeneous,
e.g. a "mapping" annotated as "dict[str, SearchStrategy[int] |
SearchStrategy[str]]" (issue #4665).
The "mapping" and "optional" arguments may now also have different key
and value types, which are unioned in the inferred result.
The canonical version of these notes (with links) is on readthedocs.
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
v6.144.1Compare Source
v6.144.0Compare Source
v6.143.1Compare Source
v6.143.0Compare Source
v6.142.5Compare Source
v6.142.4Compare Source
v6.142.3Compare Source
v6.142.2Compare Source
v6.142.1Compare Source
v6.142.0Compare Source
v6.141.1Compare Source
v6.141.0Compare Source
v6.140.4Compare Source
v6.140.3Compare Source
v6.140.2Compare Source
v6.140.1Compare Source
v6.140.0Compare Source
v6.139.3Compare Source
v6.139.2Compare Source
v6.139.1Compare Source
v6.139.0Compare Source
v6.138.17Compare Source
v6.138.16Compare Source
v6.138.15Compare 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.