Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump hypothesis from 6.127.5 to 6.128.2 in /dependencies/default #1071

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps hypothesis from 6.127.5 to 6.128.2.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.128.2

Improves input validation for several strategies in our pandas extra, so that they raise a helpful "InvalidArgument" rather than "OverflowError".

Discovered by our recent string generation upgrade.

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

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

... (truncated)

Commits
  • 8ba690e Bump hypothesis-python version to 6.128.2 and update changelog
  • 093c1b0 Merge pull request #4294 from Zac-HD/could-be-overflow
  • e1e585b handle overflow in validation
  • eba9c12 Merge pull request #4293 from HypothesisWorks/create-pull-request/patch
  • 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
  • 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.127.5 to 6.128.2.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.127.5...hypothesis-python-6.128.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 10, 2025
@Pierre-Sassoulas Pierre-Sassoulas added this pull request to the merge queue Mar 10, 2025
Merged via the queue into main with commit d5eced4 Mar 10, 2025
15 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the dependabot/pip/dependencies/default/main/hypothesis-6.128.2 branch March 10, 2025 18:49
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.84%. Comparing base (cab894a) to head (778d0f5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1071   +/-   ##
=======================================
  Coverage   90.84%   90.84%           
=======================================
  Files           2        2           
  Lines         579      579           
  Branches       77       77           
=======================================
  Hits          526      526           
  Misses         32       32           
  Partials       21       21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants