This patch tweaks "xps.arrays()" internals to improve PyTorch
compatibility. Specifically, "torch.full()" does not accept integers
as the shape argument (n.b. technically "size" in torch), but such
behaviour is expected in internal code, so we copy the "torch" module
and patch in a working "full()" function.
A classic error when testing is to write a test function that can
never fail, even on inputs that aren't allowed or manually provided.
By analogy to the design pattern of:
This patch teaches our enhanced "get_type_hints()" function to 'see
through' "partial" application, allowing inference from type hints to
work in a few more cases which aren't (yet!) supported by the
standard-library version.
This patch brings our "domains()" and "emails()" strategies into
compliance with RFC 5890 §2.3.1: we no longer generate parts-of-
domains where the third and fourth characters are "--" ("R-LDH
labels"), though future versions may deliberately generate "xn--"
punycode labels. Thanks to python-email-validator for the report!
... (truncated)
Commits
5f1fdd4 Bump hypothesis-python version to 6.62.1 and update changelog
0e12119 Merge pull request #3542 from honno/xp-tuple-shapes
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.62.1.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
5f1fdd4
Bump hypothesis-python version to 6.62.1 and update changelog0e12119
Merge pull request #3542 from honno/xp-tuple-shapesc485d49
Remove unusedlru_cache
importb051c3e
Remove caching formake_mock_xp()
test util95244a6
Testtorch.full()
patchingabeade8
Patchtorch.full()
forxps.arrays()
142d49f
Bump hypothesis-python version to 6.62.0 and update changelog329ba04
Merge pull request #3537 from Zac-HD/example-xfaile1deea8
Fix formatting0f749bc
Update hypothesis-python/src/hypothesis/core.pyDependabot 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)