This release makes some small improvements to how filtered strategies
work. It should improve the performance of shrinking filtered
strategies, and may under some (probably rare) circumstances improve
the diversity of generated examples.
This patch fixes an interaction where our test statistics handling
made Pytest's "--junit-xml" output fail to validate against the strict
"xunit2" schema (issue #1975).
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,
</tr></table>
... (truncated)
Commits
167fedc Bump hypothesis-python version to 6.0.2 and update changelog
76e5a8e Merge pull request #2757 from HypothesisWorks/DRMacIver/filter-mark-discarded
f54a2ce Actually mark filter iterations as discarded
0016b32 Bump hypothesis-python version to 6.0.1 and update changelog
ae70c2c Merge pull request #2743 from Zac-HD/interoperable-stats
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.2.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
167fedc
Bump hypothesis-python version to 6.0.2 and update changelog76e5a8e
Merge pull request #2757 from HypothesisWorks/DRMacIver/filter-mark-discardedf54a2ce
Actually mark filter iterations as discarded0016b32
Bump hypothesis-python version to 6.0.1 and update changelogae70c2c
Merge pull request #2743 from Zac-HD/interoperable-stats71646ab
Add covering examplea782932
Ensure pytest --junitxml is valide22d858
Merge pull request #2754 from Stranger6667/dd/remove-panicky-clonee405148
Bump hypothesis-ruby version to 0.4.0 and update changeloga4c1013
Merge pull request #2753 from amw-zero/dont-require-rspecDependabot 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)