Skip to content

MAINT: Bump hypothesis from 6.14.0 to 6.21.0 #41

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Bumps hypothesis from 6.14.0 to 6.21.0.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.21.0

This release introduces strategies for array/tensor libraries adopting the Array API standard (issue #3037). They are available in the hypothesis.extra.array_api extra, and work much like the existing strategies for NumPy.

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

Hypothesis for Python - version 6.20.1

This patch fixes issue #961, where calling "given()" inline on a bound method would fail to handle the "self" argument correctly.

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

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(...,

... (truncated)

Commits
  • 3761dc7 Bump hypothesis-python version to 6.21.0 and update changelog
  • 420fdf8 Merge pull request #3065 from honno/honno/array-api
  • 500fd15 Set, not defaultdict
  • bd9797b Avoid type: ignore
  • 47ba696 Link to xp.unique() issue
  • e90e34d Refactor test code
  • 520d018 Dtype name lists are now tuples
  • 72dd427 Change max_dims defaulting in indices() to len(shape)
  • fba0fb2 Improved clarity in ellipsis indices test (NumPy and Array API)
  • b6c2e42 Clarified comment in ellipsis indices test (NumPy and Array API)
  • 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.21.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.14.0...hypothesis-python-6.21.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 20, 2021

Superseded by #43.

@dependabot dependabot bot closed this Sep 20, 2021
@dependabot dependabot bot deleted the dependabot/pip/hypothesis-6.21.0 branch September 20, 2021 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants