Skip to content

Bump hypothesis from 5.16.1 to 5.49.0#475

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/hypothesis-5.49.0
Closed

Bump hypothesis from 5.16.1 to 5.49.0#475
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/hypothesis-5.49.0

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps hypothesis from 5.16.1 to 5.49.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 5.49.0

This release adds the "function_scoped_fixture" health check value, which can be used to suppress the existing warning that appears when "@given" is applied to a test that uses pytest function-scoped fixtures.

(This warning exists because function-scoped fixtures only run once per function, not once per example, which is usually unexpected and can cause subtle problems.)

When this warning becomes a health check error in a future release, suppressing it via Python warning settings will no longer be possible. In the rare case that once-per-function behaviour is intended, it will still be possible to use "function_scoped_fixture" to opt out of the health check error for specific tests.

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

Hypothesis for Python - version 5.48.0

This release adds "hypothesis.currently_in_test_context()", which can be used to check whether the calling code is currently running inside an "@given" or stateful test.

This is most useful for third-party integrations and assertion helpers which may wish to use "assume()" or "target()", without also requiring that the helper only be used from property-based tests (issue #2581).

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

Hypothesis for Python - version 5.47.0

This release upgrades the import logic for ghostwritten tests, handling many cases where imports would previously be missing or from unexpected locations.

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

Hypothesis for Python - version 5.46.0

This release upgrades "from_type()", to infer strategies for type- annotated arguments even if they have defaults when it otherwise falls back to "builds()" (issue #2708).

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

Hypothesis for Python - version 5.45.0

This release adds the hypothesis[codemods] extra, which you can use to check for and automatically fix issues such as use of deprecated Hypothesis APIs (issue #2705).

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

Commits
  • a45ff47 Bump hypothesis-python version to 5.49.0 and update changelog
  • ff5ba48 Merge pull request #2738 from Zalathar/function-scoped-fixture
  • 440622a Test given and settings appearing in either order
  • 763e545 Add HealthCheck.function_scoped_fixture to suppress fixture warnings
  • 805b4e3 Bump hypothesis-python version to 5.48.0 and update changelog
  • 4691673 Merge pull request #2742 from Zac-HD/context-predicate
  • 8a3db18 Merge pull request #2736 from HypothesisWorks/ci-caching
  • 5a7ffac Add currently_in_test_context()
  • 1724307 Fallback restore key
  • f5806cf Tweak Windows cache
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Jan 7, 2021
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #479.

@dependabot-preview dependabot-preview Bot deleted the dependabot/pip/hypothesis-5.49.0 branch January 11, 2021 06:48
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants