data61 / clkhash

CLK hash: hash pii for entity matching
Apache License 2.0
47 stars 9 forks source link

Bump hypothesis from 6.43.3 to 6.62.1 #646

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps hypothesis from 6.43.3 to 6.62.1.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.62.1

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.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.62.0

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:

@​pytest.mark.parametrize("arg", [ ..., # passing examples pytest.param(..., marks=[pytest.mark.xfail]) # expected-failing input ])

we now support "@​example(...).xfail()", with the same (optional) "condition", "reason", and "raises" arguments as "pytest.mark.xfail()".

Naturally you can also write ".via(...).xfail(...)", or ".xfail(...).via(...)", if you wish to note the provenance of expected-failing examples.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.61.3

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.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.61.2

This patch improves our pretty-printing of failing examples, including some refactoring to prepare for exciting future features.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.61.1

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
  • c485d49 Remove unused lru_cache import
  • b051c3e Remove caching for make_mock_xp() test util
  • 95244a6 Test torch.full() patching
  • abeade8 Patch torch.full() for xps.arrays()
  • 142d49f Bump hypothesis-python version to 6.62.0 and update changelog
  • 329ba04 Merge pull request #3537 from Zac-HD/example-xfail
  • e1deea8 Fix formatting
  • 0f749bc Update hypothesis-python/src/hypothesis/core.py
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
dependabot[bot] commented 1 year ago

Superseded by #648.