Skip to content

Bump hypothesis from 6.135.26 to 6.152.7 in /Tools#13

Closed
dependabot[bot] wants to merge 2 commits into
aospfrom
dependabot/pip/Tools/hypothesis-6.152.7
Closed

Bump hypothesis from 6.135.26 to 6.152.7 in /Tools#13
dependabot[bot] wants to merge 2 commits into
aospfrom
dependabot/pip/Tools/hypothesis-6.152.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor

Bumps hypothesis from 6.135.26 to 6.152.7.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.152.7

This patch improves our type hints for ".filter()" to work with "typing.TypeGuard". For example:

from typing import TypeGuard

from hypothesis import strategies as st

def is_str(x: object) -> TypeGuard[str]: return isinstance(x, str)

s = st.from_type(object).filter(is_str)

previously: SearchStrategy[object]

now: SearchStrategy[str]

reveal_type(s)

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.152.6

This patch adds a shrinking pass that tries natural text transformations - unicode decomposition (NFD/NFKD) and case mapping - on individual characters in string choices. Failures involving e.g. ""À" != "À".lower()" will now reliably shrink to ""A"" rather than sometimes getting stuck on the high-codepoint accented form (issue #4725).

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.152.5

This patch improves the "Phase.explain" phase so that simple cases like "assert n1 == n2" no longer get a misleading "# or any other generated value" comment (issue #4715). Before falling back to random sampling, we now also try borrowing values from each other arg slice with matching shape.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.152.4

This patch fixes a rare internal error during "Phase.explain" introduced in version 6.149.0 for certain strategies (issue #4708).

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.152.3

The "hypothesis-urandom" backend now reads from "/dev/urandom" with buffering disabled, which improves the control of those hooking "/dev/urandom" to change or read Hypothesis's random decisions.

The canonical version of these notes (with links) is on readthedocs.

... (truncated)

Commits
  • adc8d2d Bump hypothesis-python version to 6.152.7 and update changelog
  • d66ce67 Merge pull request #4672 from CharString/annotate-filter
  • df88957 Merge pull request #4727 from hettlage/patch-1
  • 415443c Merge branch 'master' into patch-1
  • bfd0ebf Revert RELEASE.rst to original version
  • 492f818 attempt to de-flake test
  • 55ab356 fix release notes
  • 7fd8e50 simplify type hints
  • c8b952e Merge remote-tracking branch 'upstream/master' into annotate-filter-4672
  • b2e8d89 add tests and release notes
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: skip issue, skip news. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@George-Codr George-Codr force-pushed the aosp branch 7 times, most recently from d8688b9 to b3b4d5e Compare May 27, 2026 10:35
@Aasyaco Aasyaco force-pushed the aosp branch 8 times, most recently from d206427 to 8ae4cfb Compare May 28, 2026 16:01
@dependabot @github

dependabot Bot commented on behalf of github May 28, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of hypothesis exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Aasyaco and others added 2 commits May 28, 2026 22:29
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.135.26 to 6.152.7.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.135.26...hypothesis-python-6.152.7)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-version: 6.152.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/Tools/hypothesis-6.152.7 branch from 61579ab to 210bce0 Compare May 28, 2026 16:32
@George-Codr George-Codr force-pushed the aosp branch 3 times, most recently from 51cb3e6 to a5d1b4d Compare May 29, 2026 14:50
@dependabot @github

dependabot Bot commented on behalf of github May 29, 2026

Copy link
Copy Markdown
Contributor Author

Looks like hypothesis is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 29, 2026
@dependabot dependabot Bot deleted the dependabot/pip/Tools/hypothesis-6.152.7 branch May 29, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant