This patch updates the type annotations for "@given" so that type-
checkers will warn on mixed positional and keyword arguments, as well
as fixing issue #3296.
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!
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.44.0.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
2947bff
Bump hypothesis-python version to 6.44.0 and update changelogdbf5e7d
Merge pull request #3302 from sam-watts/pd-index-name56b8e0e
fix formattingefa9db6
simple tests88b0bec
release tweakc4748f4
docs, draw from name strategies84d7cc5
add name to authors70b0e16
amend release notesfdad550
change name type to SearchStrategy8eb5658
add release typeDependabot 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)