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.14.0 to 6.20.0 in /tools #36

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 9, 2021

Bumps hypothesis from 6.14.0 to 6.20.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.20.0

This release allows "slices()" to generate "step=None", and fixes an off-by-one error where the "start" index could be equal to "size". This works fine for all Python sequences and Numpy arrays, but is undefined behaviour in the Array API standard (see pull request #3065).

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

Hypothesis for Python - version 6.19.0

This release makes stateful testing more likely to tell you if you do something unexpected and unsupported:

  • The "return_value" health check now applies to "rule()" and "initialize()" rules, if they don't have "target" bundles, as well as "invariant()".

  • Using a "consumes()" bundle as a "target" is deprecated, and will be an error in a future version.

If existing code triggers these new checks, check for related bugs and misunderstandings - these patterns never had any effect.

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

Hypothesis for Python - version 6.18.0

This release teaches "from_type()" a neat trick: when resolving an "typing.Annotated" type, if one of the annotations is a strategy object we use that as the inferred strategy. For example:

PositiveInt = Annotated[int, st.integers(min_value=1)]

If there are multiple strategies, we use the last outer-most annotation. See issue #2978 and pull request #3082 for discussion.

Requires Python 3.9 or later for "get_type_hints(..., include_extras=False)".

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

Hypothesis for Python - version 6.17.4

This patch makes unique "arrays()" much more efficient, especially when there are only a few valid elements - such as for eight-bit integers (issue #3066).

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

Hypothesis for Python - version 6.17.3

This patch fixes the repr of "array_shapes()".

... (truncated)

Commits
  • 5b48257 Bump hypothesis-python version to 6.20.0 and update changelog
  • 55d5af8 Merge pull request #3087 from Zac-HD/slices-bugfix
  • 702af09 Fix undefined slice error
  • 246caae Slices permit step=None
  • 17ad666 Bump hypothesis-python version to 6.19.0 and update changelog
  • 7c24ab1 Merge pull request #3084 from Zac-HD/stateful-legibility
  • 1f489d0 Use more f-strings
  • 39dbada Loosen dep versions
  • 07be56f tracebackhide only works in locals
  • 6cf8dcd Stateful return_value healthcheck
  • 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.14.0 to 6.20.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.14.0...hypothesis-python-6.20.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 Sep 9, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 10, 2021

Superseded by #37.

@dependabot dependabot bot closed this Sep 10, 2021
@dependabot dependabot bot deleted the dependabot/pip/tools/hypothesis-6.20.0 branch September 10, 2021 11:14
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
Development

Successfully merging this pull request may close these issues.

0 participants