Hypothesis now raises an error if you passed a strategy as the
"alphabet=" argument to "text()", and it generated something which was
not a length-one string. This has never been supported, we're just
adding explicit validation to catch cases like this StackOverflow
question.
This patch updates our vendored list of top-level domains, which is
used by the provisional "domains()" strategy, and fixes some incorrect
examples in the docs for "mutually_broadcastable_shapes()".
This patch improves the error message when Hypothesis detects "flush
to zero" mode for floating-point: we now report which package(s)
enabled this, which can make debugging much easier. See issue #3458
for details.
This release defines "bool()" on "SearchStrategy". It always
returns "True", like before, but also emits a warning to help with
cases where you intended to draw a value (issue #3463).
In preparation for future versions of the Array API standard,
"make_strategies_namespace()" now accepts an optional "api_version"
argument, which determines the version conformed to by the returned
strategies namespace. If "None", the version of the passed array
module "xp" is inferred.
... (truncated)
Commits
db48c3b Bump hypothesis-python version to 6.57.0 and update changelog
1f6bdc3 Merge pull request #3505 from Zac-HD/validate-alphabet
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.57.0.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
db48c3b
Bump hypothesis-python version to 6.57.0 and update changelog1f6bdc3
Merge pull request #3505 from Zac-HD/validate-alphabet6760241
Finish fix and text for traceback error7d1c3ec
Fix reported error in traceback trimmer702c353
Explicit array-api error on Py37ab8bb72
Validate alphabet strategies9f5b69e
Merge pull request #3502 from HypothesisWorks/create-pull-request/patch6f27658
Skip report summariesccd3025
Update pinned dependencies47b35ce
Bump hypothesis-python version to 6.56.4 and update changelogDependabot 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)