dropbox / dropbox-sdk-python

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

Bump actions/setup-python from 2.2.2 to 4.5.0 #462

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps actions/setup-python from 2.2.2 to 4.5.0.

Release notes

Sourced from actions/setup-python's releases.

Fix cache issue for Poetry projects located in subfolders

In scope of this release we fixed cache issue for Poetry projects located in subfolders (actions/setup-python#446). Besides that we updated json5 version from 2.2.0 to 2.2.3 (actions/setup-python#579).

Add support to install multiple python versions

In scope of this release we added support to install multiple python versions. For this you can try to use this snippet:

    - uses: actions/setup-python@v4
      with:
        python-version: |
            3.8
            3.9
            3.10

Besides, we changed logic with throwing the error for GHES if cache is unavailable to warn (actions/setup-python#566).

Improve error handling and messages

In scope of this release we added improved error message to put operating system and its version in the logs (actions/setup-python#559). Besides, the release

v4.3.0

  • Update @​actions/core to 1.10.0 version #517
  • Update @​actions/cache to 3.0.4 version #499
  • Only use github.token on github.com #443
  • Improvement of documentation #477 #479 #491 #492

Add check-latest input and bug fixes

In scope of this release we add the check-latest input. If check-latest is set to true, the action first checks if the cached version is the latest one. If the locally cached version is not the most up-to-date, the version will then be downloaded from python-versions repository. By default check-latest is set to false. For PyPy it will to try to reach https://downloads.python.org/pypy/versions.json

Example of usage:

steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-python@v4
    with:
      python-version: '3.9'
      check-latest: true
  - run: python --version

Besides, it includes such changes as

v4.1.0

... (truncated)

Commits


Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
codecov[bot] commented 1 year ago

Codecov Report

Merging #462 (637da26) into main (9895d70) will decrease coverage by 0.58%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #462      +/-   ##
==========================================
- Coverage   64.26%   63.69%   -0.58%     
==========================================
  Files          31       31              
  Lines       52609    52609              
  Branches     3841     3841              
==========================================
- Hits        33810    33510     -300     
- Misses      18638    19064     +426     
+ Partials      161       35     -126     
Flag Coverage Δ
integration ?
unit 63.69% <ø> (ø)

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.96% <0.00%> (-3.33%) :arrow_down:
dropbox/files.py 66.81% <0.00%> (-1.85%) :arrow_down:
dropbox/base_team.py 29.09% <0.00%> (-1.39%) :arrow_down:
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

dependabot[bot] commented 1 year ago

Superseded by #468.