Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump hypothesis from 6.24.4 to 6.65.0 in /tools #3159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 24, 2023

Bumps hypothesis from 6.24.4 to 6.65.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.65.0

Hypothesis now reports some failing inputs by showing the call which constructed an object, rather than the repr of the object. This can be helpful when the default repr does not include all relevant details, and will unlock further improvements in a future version.

For now, we capture calls made via "builds()", and via SearchStrategy.map().

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

Hypothesis for Python - version 6.64.0

The Ghostwritter will now include type annotations on tests for type- annotated code. If you want to force this to happen (or not happen), pass a boolean to the new "annotate=" argument to the Python functions, or the "--[no-]annotate" CLI flag.

Thanks to Nicolas Ganz for this new feature!

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

Hypothesis for Python - version 6.63.0

"range_indexes()" now accepts a "name=" argument, to generate named "pandas.RangeIndex" objects.

Thanks to Sam Watts for this new feature!

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

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

... (truncated)

Commits
  • 39e3fba Bump hypothesis-python version to 6.65.0 and update changelog
  • 6191745 De-flake test
  • c56d069 Merge pull request #3540 from Zac-HD/creation-reprs
  • 406eb02 Bump hypothesis-python version to 6.64.0 and update changelog
  • 3f545a6 Merge pull request #3548 from ThunderKey/feature/add-annotations-to-ghostwriter
  • ae85e0e Merge pull request #3553 from HypothesisWorks/create-pull-request/patch
  • 51d82da Update pinned dependencies
  • a515963 Merge pull request #3545 from adamatan/master
  • 149d590 Remove the RELEASE file - not required for examples
  • ee56faf Bump hypothesis-python version to 6.63.0 and update changelog
  • 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)

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.24.4 to 6.65.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.24.4...hypothesis-python-6.65.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
0 participants