dropbox / dropbox-sdk-python

The Official Dropbox API V2 SDK for Python
https://www.dropbox.com/developers
MIT License
932 stars 317 forks source link

Bump actions/setup-python from 2.2.2 to 2.3.2 #414

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps actions/setup-python from 2.2.2 to 2.3.2.

Release notes

Sourced from actions/setup-python's releases.

Update primary and restore keys for pip

In scope of this release we include a version of python in restore and primary cache keys for pip. Besides, we add temporary fix for Windows caching issue, that the pip cache dir command returns non zero exit code or writes to stderr. Moreover we updated node-fetch dependency.

Update actions/cache version to 1.0.8

We have updated actions/cache dependency version to 1.0.8 to support 10GB cache upload

Support caching dependencies

This release introduces dependency caching support (actions/setup-python#266)

Caching dependencies.

The action has a built-in functionality for caching and restoring pip/pipenv dependencies. The cache input is optional, and caching is turned off by default.

Besides, this release introduces dependency caching support for mono repos and repositories with complex structure.

By default, the action searches for the dependency file (requirements.txt for pip or Pipfile.lock for pipenv) in the whole repository. Use the cache-dependency-path input for cases when you want to override current behaviour and use different file for hash generation (for example requirements-dev.txt). This input supports wildcards or a list of file names for caching multiple dependencies.

Caching pip dependencies:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
- run: pip install -r requirements.txt
- run: pip test

Caching pipenv dependencies:

steps:
- uses: actions/checkout@v2
- name: Install pipenv
  run: pipx install pipenv
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pipenv'
- run: pipenv install
- run: pipenv test

Change dependency file:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
</tr></table> 

... (truncated)

Commits


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)
codecov[bot] commented 2 years ago

Codecov Report

Merging #414 (50ab8b8) into main (735e077) will decrease coverage by 0.57%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #414      +/-   ##
==========================================
- Coverage   64.24%   63.66%   -0.58%     
==========================================
  Files          30       30              
  Lines       51600    51600              
  Branches     5741     5741              
==========================================
- Hits        33150    32853     -297     
- Misses      18292    18713     +421     
+ Partials      158       34     -124     
Flag Coverage Δ
integration ?
unit 63.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
dropbox/stone_serializers.py 0.00% <0.00%> (-100.00%) :arrow_down:
dropbox/dropbox_client.py 38.43% <0.00%> (-34.36%) :arrow_down:
dropbox/exceptions.py 61.22% <0.00%> (-16.33%) :arrow_down:
dropbox/check.py 77.77% <0.00%> (-8.34%) :arrow_down:
dropbox/common.py 72.44% <0.00%> (-5.52%) :arrow_down:
dropbox/users.py 62.93% <0.00%> (-4.08%) :arrow_down:
dropbox/team_common.py 72.99% <0.00%> (-3.65%) :arrow_down:
dropbox/base.py 25.87% <0.00%> (-3.37%) :arrow_down:
dropbox/files.py 66.92% <0.00%> (-1.82%) :arrow_down:
dropbox/base_team.py 29.08% <0.00%> (-1.45%) :arrow_down:
... and 2 more

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 735e077...50ab8b8. Read the comment docs.

dependabot[bot] commented 2 years ago

Superseded by #415.