This release fixes deprecation warnings about "sre_compile" /
"sre_parse" imports and "importlib.resources" usage when running
Hypothesis on Python 3.11.
It also ensures that Hypothesis' test suite runs with warnings turned
into errors, so that such issues will be discovered earlier in the
future. This uncovered a couple of formerly hidden minor issues with
the testsuite, which are now fixed as well.
This release updates "xps.indices()" by introducing an "allow_newaxis"
argument, defaulting to "False". If "allow_newaxis=True", indices can
be generated that add dimensions to arrays, which is achieved by the
indexer containing "None". This change is to support a specification
change that expand dimensions via indexing (data-apis/array-api#408).
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
... (truncated)
Commits
0fee385 Bump hypothesis-python version to 6.45.1 and update changelog
0ae77dc Merge pull request #3310 from The-Compiler/werror
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.45.1.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
0fee385
Bump hypothesis-python version to 6.45.1 and update changelog0ae77dc
Merge pull request #3310 from The-Compiler/werrore6d9cb4
Fix unused import764c82a
Allow mypy to follow PEP-561cb3d1b9
Add RELEASE.rstfc4ecc3
Ignore more pytest warnings for PYTHONOPTIMIZE tests71abb2a
Fix performance warning in thread7edec74
Fix importlib.resources deprecations in Python 3.116d1d17d
Adjust imports of deprecated sre_* modules in Python 3.11aa5d333
Wait for mypy process endDependabot 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)