There are no new features here, as we release those in minor versions.
Instead, 6.0 is a chance for us to remove deprecated features (many
already converted into no-ops), and turn a variety of warnings into
errors.
If you were running on the last version of Hypothesis 5.x without any
Hypothesis deprecation warnings, this will be a very boring upgrade.
In fact, nothing will change for you at all.
Changes
* Many functions now use **PEP 3102** keyword-only arguments where
passing positional arguments was deprecated since 5.5.
"hypothesis.extra.django.from_model()" no longer accepts "model" as
a keyword argument, where it could conflict with fields named
"model".
"randoms()" now defaults to "use_true_random=False".
"complex_numbers()" no longer accepts "min_magnitude=None"; either
use "min_magnitude=0" or just omit the argument.
"hypothesis.provisional.ip4_addr_strings" and "ip6_addr_strings" are
removed in favor of "ip_addresses(v=...).map(str)".
"register_type_strategy()" no longer accepts generic types with type
arguments, which were always pretty badly broken.
Using function-scoped pytest fixtures is now a health-check error,
instead of a warning.
Tip:
The hypothesis codemod command can automatically refactor your
code, particularly to convert positional to keyword arguments where
those are now required.
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 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps hypothesis from 3.23.3 to 6.0.0.
Release notes
Sourced from hypothesis's releases.
Commits
ba196cb
Bump hypothesis-python version to 6.0.0 and update changelogd1f56a5
Merge pull request #2744 from Zac-HD/hypothesis-6131c558
Bump hypothesis-ruby version to 0.3.0 and update changelogbb270f5
Merge pull request #2680 from amw-zero/helix-rutie-migrationf1da326
Add changelogdeaba14
Add release keysb3ac612
Commit modifications from check-format task1cc837f
Add release file for hypothesis-ruby26f027c
Fix rubocop errors45a2bc0
Add ruby tasks back to the CI pipelineDependabot 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 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)