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.2.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
ab8276d
Bump hypothesis-python version to 6.43.2 and update changeloge70dfc0
Merge pull request #3293 from Zac-HD/pyright-and-dead-code-fixes771f1a0
Remove dead code093556c
Tune typechecking tests5c1305a
Add RELEASE0ac84d6
Add xfailed testse05f1ac
Fixes for pyright strict modece6f020
Add test_pyright.py2b74d83
Rename test_type_hints.py to test_mypy.py071a742
Allow specifying pytest command in check-whole-repo-testsDependabot 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)