This patch updates the type annotations for "tuples()" and "one_of()"
so that type-checkers require its arguments to be positional-only, and
so that it no longer fails under pyright-strict mode (see issue
#3348). Additional changes are made to Hypothesis' internals improve
pyright scans.
This patch by Cheuk Ting Ho makes it an explicit error to call
"from_type()" or "register_type_strategy()" with types that have no
runtime instances (issue #3280).
This patch fixes silently dropping examples when the "@example"
decorator is applied to itself (issue #3319). This was always a weird
pattern, but now it works. Thanks to Ray Sogata, Keeri Tramm, and
Kevin Khuong for working on this patch!
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 6.43.3 to 6.46.7.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
7a7b0e9
Bump hypothesis-python version to 6.46.7 and update changelogb7a9c89
Merge pull request #3349 from HypothesisWorks/fix-tuples-annotations795f3b5
fix docstring typo74674e0
revert change to st.nothing() back to being partially-unknowna883977
fix overly-narrow base annotation for one_of5d5830d
fix inconsistent types in TupleStrategy77fca5a
fix partially-unknown sampled_from626ddfb
replace overload bodies with ellipsesd0ce241
fix partially-unknown st.nothing()3670425
fix mypy testDependabot 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)