Skip to content

Bump hypothesis from 6.112.0 to 6.128.1 in /tools#672

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/tools/hypothesis-6.128.1
Closed

Bump hypothesis from 6.112.0 to 6.128.1 in /tools#672
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/tools/hypothesis-6.128.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps hypothesis from 6.112.0 to 6.128.1.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.128.1

Rename a few internal classes for clarity.

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

Hypothesis for Python - version 6.128.0

"text()" now occasionally generates from a preselected list of strings which are likely to find bugs. These include ligatures, right-to-left and top-to-bottom text, emojis, emoji modifiers, strings like ""Infinity"", ""None"", and ""FALSE"", and other interesting things. This is especially useful when testing the full unicode range, where the search space is too large for uniform sampling to be very effective.

Of course, examples generated this way shrink just like they normally would. It was always possible for Hypothesis to generate these strings; it is just more likely after this change. From the outside, it is as if Hypothesis generated the example completely randomly.

Many thanks to the Big List of Naughty Strings, Text Rendering Hates You, and Text Editing Hates You Too for forming the basis of this list.

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

Hypothesis for Python - version 6.127.9

We now provide a better string representation for "one_of()" strategies, by flattening consecutive "|" combinations. For instance:

st.integers() | st.text() | st.booleans()

previously: one_of(one_of(integers(), text()), booleans())

one_of(integers(), text(), booleans())

Explicit calls to "one_of()" remain unflattened, in order to make tracking down complicated "one_of()" constructions easier:

st.one_of(st.integers(), st.one_of(st.text(), st.booleans())) one_of(integers(), one_of(text(), booleans()))

We print "one_of" in reprs (rather than "integers() | text() | ...") for consistency with reprs containing ".filter" or ".map" calls, which uses the full "one_of" to avoid ambiguity.

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

Hypothesis for Python - version 6.127.8

This patch improves shrinking behavior for values from "text()" and "binary()" which contain duplicate elements, like ""zzzabc"". It also improves shrinking for bugs which require the same character to be drawn from two different "text()" strategies to trigger.

... (truncated)

Commits
  • 7713777 Bump hypothesis-python version to 6.128.1 and update changelog
  • 9fb9de1 Merge pull request #4292 from tybug/rename-to-span
  • efac907 Bump hypothesis-python version to 6.128.0 and update changelog
  • 9436f60 Merge pull request #4291 from tybug/nasty-strings
  • 51e3256 add nasty strings shrink test
  • fa9c469 reword release notes
  • 0f75a83 add release notes
  • 8781447 Merge pull request #4290 from tybug/listener-test-deflake
  • 2e4b581 make a TrailType enum
  • 5a42684 cleaner ceil
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.112.0 to 6.128.1.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.112.0...hypothesis-python-6.128.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 10, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 11, 2025

Superseded by #673.

@dependabot dependabot bot closed this Mar 11, 2025
@dependabot dependabot bot deleted the dependabot/pip/tools/hypothesis-6.128.1 branch March 11, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants