chore(deps): Update dependency hypothesis to v6.160.0#189
Open
williaby wants to merge 1 commit into
Open
Conversation
📝 WalkthroughWalkthroughUpdates the development dependency ChangesDevelopment dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@requirements-dev.txt`:
- Line 100: Update the Hypothesis dependency entry in uv.lock to match version
6.157.0, then regenerate requirements-dev.txt from the refreshed lockfile so
both generated dependency sources are consistent and uv sync --frozen resolves
the newer version.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
williaby
force-pushed
the
renovate/hypothesis-6.x
branch
from
July 23, 2026 19:59
2f49b9d to
6add2ab
Compare
williaby
force-pushed
the
renovate/hypothesis-6.x
branch
from
July 24, 2026 02:17
6add2ab to
f9964eb
Compare
williaby
force-pushed
the
renovate/hypothesis-6.x
branch
from
July 24, 2026 11:18
f9964eb to
4a01642
Compare
williaby
force-pushed
the
renovate/hypothesis-6.x
branch
from
July 24, 2026 20:13
4a01642 to
24b6b9c
Compare
williaby
force-pushed
the
renovate/hypothesis-6.x
branch
from
July 25, 2026 11:15
24b6b9c to
4783671
Compare
williaby
force-pushed
the
renovate/hypothesis-6.x
branch
from
July 25, 2026 14:16
4783671 to
39081d9
Compare
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.
Summary
Why
Scheduled patch update, bug fixes and security patches with no API changes.
Changes
This PR contains the following updates:
==6.156.6→==6.160.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Impact
Acceptance Criteria
Testing
Notes
Release Notes
HypothesisWorks/hypothesis (hypothesis)
v6.160.0: Hypothesis version 6.160.0Compare Source
"Bundle" now supports efficient ".filter()" and ".map()" methods,
which compose with "consumes()" in either order (issue #3944).
Previously, "consumes(bundle).filter(fn)" could remove rejected values
from the bundle while retrying, and "consumes(bundle.filter(fn))" was
a type error; filtered draws now select among currently-matching
values and consume only the value which was actually drawn.
Thanks to Reagan Lee for the initial implementation of this feature in
pull request #4084!
The canonical version of these notes (with links) is on readthedocs.
v6.159.0: Hypothesis version 6.159.0Compare Source
Hypothesis has historically referred to the single execution of a test
function as an "example". However, we have in recent years tended to
call a single execution a "test case" instead, which we think is a
more precise and less overloaded term.
This release updates user-facing documentation, log messages, and
error messages to use the "test case" terminology. Some observability
fields which contain raw strings from Hypothesis might change in
format as a result.
This is not a breaking change, as we have intentionally not changed
any code APIs. In particular, "settings.max_examples" has not been
changed.
The canonical version of these notes (with links) is on readthedocs.
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.
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 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 has been generated by Mend Renovate.