Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps hypothesis from 6.122.4 to 6.127.9.

Release notes

Sourced from hypothesis's releases.

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.

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

Hypothesis for Python - version 6.127.7

Fix a type-hinting regression from version 6.125.1, where we would no longer guarantee the type of the argument to ".filter" predicates (issue #4269).

x was previously Unknown, but is now correctly guaranteed to be int

st.integers().filter(lambda x: x > 0)

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

Hypothesis for Python - version 6.127.6

This patch tweaks the performance of the target phase, avoiding aborting some test cases when it would be better to finish generating them.

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

Hypothesis for Python - version 6.127.5

This patch fixes a bug where "from_type()" would error on certain types involving "Protocol" (issue #4194).

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

... (truncated)

Commits
  • a8f9089 Bump hypothesis-python version to 6.127.9 and update changelog
  • 7cb887b Merge pull request #4281 from tybug/merge-oneof
  • b6de1ba reword release notes
  • 6618fe6 Bump hypothesis-python version to 6.127.8 and update changelog
  • af39ce9 Merge pull request #4288 from tybug/duplicate-element-shrinking
  • e359603 add release notes
  • d5f0b38 shrink duplicated elements within a choice in Collection shrinker
  • 8f3230b add lower_duplicated_characters shrink pass
  • 77519d0 Merge remote-tracking branch 'upstream/master'
  • 8364e31 rename nodes -> choices in shrink pass
  • 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.122.4 to 6.127.9.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.122.4...hypothesis-python-6.127.9)

---
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 dependencies labels Mar 7, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 10, 2025

Superseded by #1240.

@dependabot dependabot bot closed this Mar 10, 2025
@dependabot dependabot bot deleted the dependabot/pip/hypothesis-6.127.9 branch March 10, 2025 07:35
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 dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant