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

Bump hypothesis from 6.91.0 to 6.123.0 #1362

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 23, 2024

Bumps hypothesis from 6.91.0 to 6.123.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.123.0

"from_type()" can now handle constructors with required positional- only arguments if they have type annotations. Previously, we only passed arguments by keyword.

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

Hypothesis for Python - version 6.122.7

This patch lays some groundwork for migrating our internal representation to the typed choice sequence (issue #3921)

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

Hypothesis for Python - version 6.122.6

This patch cleans up some internal code around clamping floats.

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

Hypothesis for Python - version 6.122.5

This release improves shrinking in some cases, especially for strategies using "one_of()". This will typically improve shrinking speed and may in some cases improve the end result.

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

Hypothesis for Python - version 6.122.4

This patch improves generation performance for the provisional "domains()" strategy, including its derivative strategies "urls()" and "emails()".

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

Hypothesis for Python - version 6.122.3

This patch improves our error and warning messages.

  • Add a warning for "st.text("ascii")" - you probably meant "st.text(st.characters(codec="ascii"))". Similarly for ""utf-8"".

  • Recommend remedies in the error message of "Unsatisfiable".

  • When "@​given" errors because it was given an extra keyword argument, and the keyword matches a setting name like "max_examples", recommend "@​settings(max_examples=...)" instead.

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

Hypothesis for Python - version 6.122.2

This patch updates some outdated external links in our documentation.

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

... (truncated)

Commits
  • e6f4519 Bump hypothesis-python version to 6.123.0 and update changelog
  • 60d070e Merge pull request #4211 from Zac-HD/from-type-posonly
  • b68123b teach from_type to build with posonly args
  • 218897e Bump hypothesis-python version to 6.122.7 and update changelog
  • 296447f Merge pull request #4210 from tybug/clamper-signed-zero
  • c786238 rework clamper test to avoid signed zero issues with sorted()
  • 7cdeb91 properly clamp signed zeroes
  • 9fa1801 Merge pull request #4209 from tybug/choice-to-index
  • e289629 change bounded ordering to match semibounded
  • b6456b1 Merge branch 'master' into choice-to-index
  • 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)

Summary by Sourcery

Update Hypothesis to 6.123.0.

Enhancements:

  • Improve handling of constructors with required positional-only arguments in from_type().
  • Improve shrinking, especially for strategies using one_of().
  • Improve generation performance for domains(), urls(), and emails().
  • Improve error and warning messages.

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

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:development
  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 Dec 23, 2024
Copy link
Contributor

sourcery-ai bot commented Dec 23, 2024

Reviewer's Guide by Sourcery

This PR upgrades the Hypothesis library from version 6.91.0 to 6.123.0. This upgrade includes several improvements, such as better handling of constructors with required positional-only arguments in from_type(), improved shrinking performance, enhanced error messages, and performance improvements for the domains() strategy.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Upgrade Hypothesis library
  • Bumped Hypothesis version from 6.91.0 to 6.123.0 in requirements-dev.txt
docs/requirements-dev.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 24, 2024

Superseded by #1363.

@dependabot dependabot bot closed this Dec 24, 2024
@dependabot dependabot bot deleted the dependabot/pip/hypothesis-6.123.0 branch December 24, 2024 12:21
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