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

build(deps): bump hypothesis from 6.3.0 to 6.62.1 #181

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Bumps hypothesis from 6.3.0 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)

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

---
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 16, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2023

Codecov Report

Merging #181 (cb01329) into master (619ff26) will decrease coverage by 0.80%.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##            master     #181      +/-   ##
===========================================
- Coverage   100.00%   99.19%   -0.81%     
===========================================
  Files           25       25              
  Lines         5109     5109              
  Branches      1050     1050              
===========================================
- Hits          5109     5068      -41     
- Misses           0       20      +20     
- Partials         0       21      +21     
Impacted Files Coverage Δ
pydantic/typing.py 87.42% <0.00%> (-12.58%) ⬇️
pydantic/mypy.py 95.50% <0.00%> (-4.50%) ⬇️
pydantic/json.py 96.00% <0.00%> (-4.00%) ⬇️
pydantic/env_settings.py 99.20% <0.00%> (-0.80%) ⬇️
pydantic/utils.py 99.31% <0.00%> (-0.69%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 619ff26...cb01329. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 23, 2023

Superseded by #182.

@dependabot dependabot bot closed this Jan 23, 2023
@dependabot dependabot bot deleted the dependabot/pip/hypothesis-6.62.1 branch January 23, 2023 18:01
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
1 participant