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.
This release also introduces "xps.real_dtypes()". This is currently
equivalent to the existing "xps.numeric_dtypes()" strategy, but exists
because the latter is expected to include complex numbers in the next
version of the standard.
If multiple explicit examples (from "@example()") raise a Skip
exception, for consistency with generated examples we now re-raise the
first instead of collecting them into an ExceptionGroup (issue #3453).
This patch fixes some type annotations for Python 3.9 and earlier
(issue #3397), and teaches explain mode about certain locations it
should not bother reporting (issue #3439).
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.56.1.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
fda07ec
Bump hypothesis-python version to 6.56.1 and update changelogdb07696
Merge pull request #3472 from Zac-HD/better-ftz-errore8c8932
Clarify manual-testing directions2dd25f0
Identify FTZ-causing library35c228c
Bump hypothesis-python version to 6.56.0 and update changelog7839707
Merge pull request #3471 from HypothesisWorks/create-pull-request/patch4c94bf4
Warn on bool(strategy)d85a647
Add pandas 1.5 to CI43a1a8a
Add target() example to docsb36c896
Fix type hints for new mypyDependabot 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)