This patch makes it an explicit error to call
"register_type_strategy()" with a Pydantic GenericModel and a
callable, because "GenericModel" isn't actually a generic type at
runtime and so you have to register each of the "parametrized
versions" (actually subclasses!) manually. See issue #2940 for more
details.
This release makes it an explicit error to apply "@pytest.fixture" to
a function which has already been decorated with "@given()".
Previously, "pytest" would convert your test to a fixture, and then
never run it.
This patch fixes "from_type()" on a "TypedDict" with complex
annotations, defined in a file using "from future import
annotations". Thanks to Katelyn Gigante for identifying and fixing
this bug!
The Hypothesis pytest plugin was not outputting valid xunit2 nodes
when "--junit-xml" was specified. This has been broken since Pytest
5.4, which changed the internal API for adding nodes to the junit
report.
This also fixes the issue when using hypothesis with "--junit-xml" and
"pytest-xdist" where the junit xml report would not be xunit2
compatible. Now, when using with "pytest-xdist", the junit report will
just omit the "" node.
For more details, see this pytest issue, this pytest issue, and issue
#1935
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)
Bumps hypothesis from 5.23.11 to 6.43.1.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
e3329ac
Bump hypothesis-python version to 6.43.1 and update changelog82e5d37
Merge pull request #3291 from Zac-HD/pydantic-generics-messageeb50bbb
Error out on misleading psudeo-genericsda94895
Bump hypothesis-python version to 6.43.0 and update changelogf44687b
Merge pull request #3290 from Zac-HD/fixture-xor-given4217570
Ban turning PB-tests into fixtures82fa47c
given can't be used on fixtures7f94ce1
Bump hypothesis-python version to 6.42.3 and update changelogd3bf9c5
Merge pull request #3285 from silasary/forward_typed_dict8235f70
Fix rare BytesWarningDependabot 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)