Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps hypothesis from 6.31.6 to 6.62.0.

Release notes

Sourced from hypothesis's releases.

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!

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

Hypothesis for Python - version 6.61.0

This release improves our treatment of database keys, which based on (among other things) the source code of your test function. We now post-process this source to ignore decorators, comments, trailing whitespace, and blank lines - so that you can add "@​example()"s or make some small no-op edits to your code without preventing replay of any known failing or covering examples.

... (truncated)

Commits
  • 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
  • 679ce87 Merge pull request #3541 from HypothesisWorks/create-pull-request/patch
  • f0b1252 Skip some typecheck tests for py37
  • 88d9d7b Bump hypothesis-python version to 6.61.3 and update changelog
  • d10c36b Update pinned dependencies
  • 8334479 Merge pull request #3536 from Zac-HD/get-hints-from-partial
  • 86c17a7 Bump hypothesis-python version to 6.61.2 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)

@dependabot dependabot bot requested a review from a team as a code owner January 9, 2023 09:14
@dependabot dependabot bot added dependency breaking change python Pull requests that update Python code labels Jan 9, 2023
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.31.6 to 6.62.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.31.6...hypothesis-python-6.62.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 force-pushed the dependabot/pip/dev_requirements/hypothesis-6.62.0 branch from 947b269 to a0a0309 Compare January 11, 2023 18:38
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 16, 2023

Superseded by #514.

@dependabot dependabot bot closed this Jan 16, 2023
@dependabot dependabot bot deleted the dependabot/pip/dev_requirements/hypothesis-6.62.0 branch January 16, 2023 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency breaking change python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants