phenobarbital / asyncdb

Collection of Asynchronous (Asyncio-based) generic Database connectors
Other
38 stars 6 forks source link

Bump hypothesis from 6.91.0 to 6.118.0 #1335

Closed dependabot[bot] closed 1 day ago

dependabot[bot] commented 4 days ago

Bumps hypothesis from 6.91.0 to 6.118.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.118.0

The "urls()" strategy no longer generates URLs where the port number is 0.

This change is motivated by the idea that the generated URLs should, at least in theory, be possible to fetch. The port number 0 is special; if a server binds to port 0, the kernel will allocate an unused, and non-zero, port instead. That means that it's not possible for a server to actually be listening on port 0. This motivation is briefly described in the documentation for "urls()".

Fixes issue #4157.

Thanks to @​gmacon for this contribution!

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

Hypothesis for Python - version 6.117.0

This changes the behaviour of settings profiles so that if you reregister the currently loaded profile it will automatically reload it. Previously you would have had to load it again.

In particular this means that if you register a "ci" profile, it will automatically be used when Hypothesis detects you are running on CI.

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

Hypothesis for Python - version 6.116.0

Hypothesis now detects if it is running on a CI server and provides better default settings for running on CI in this case.

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

Hypothesis for Python - version 6.115.6

This patch changes the priority order of pretty printing logic so that a user provided pretty printing method will always be used in preference to e.g. printing it like a dataclass.

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

Commits
  • 2fd99dd Bump hypothesis-python version to 6.118.0 and update changelog
  • 9f10bad Merge pull request #4158 from gmacon/4157-urls-zero-port
  • 66b292a Don't generate port 0 in urls strategy
  • 7ba5a57 Bump hypothesis-python version to 6.117.0 and update changelog
  • 1ce7770 Merge pull request #4153 from HypothesisWorks/DRMacIver/reload-on-register
  • 364f309 Remove unneeded pragma
  • b2262b8 Update documentation
  • 843f6f6 Merge pull request #4156 from Zac-HD/use-nonlocal
  • cd38367 use nonlocal
  • 880963f annotate tests
  • 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 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

Build:

sourcery-ai[bot] commented 4 days ago

Reviewer's Guide by Sourcery

This is a dependency update PR that bumps the Hypothesis testing library from version 6.91.0 to 6.118.0. The update includes several improvements including changes to URL generation, settings profiles behavior, CI detection, and pretty printing logic.

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

File-Level Changes

Change Details Files
URL generation improvement in the urls() strategy
  • Removed generation of URLs with port number 0 to ensure generated URLs are theoretically fetchable
docs/requirements-dev.txt
Settings profiles behavior enhancement
  • Added automatic reload when reregistering the current profile
  • Improved CI profile handling to automatically apply when running on CI
docs/requirements-dev.txt
Pretty printing logic modification
  • Changed priority order to prefer user-provided pretty printing methods over default formatting
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](https://app.sourcery.ai) 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 - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
dependabot[bot] commented 1 day ago

Superseded by #1337.