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

Builtin pip cache #226

Closed
chingc opened this issue Jul 14, 2021 · 5 comments
Closed

Builtin pip cache #226

chingc opened this issue Jul 14, 2021 · 5 comments
Labels
feature request New feature or request to improve the current logic

Comments

@chingc
Copy link

chingc commented Jul 14, 2021

setup-node recently released a new version with builtin cache support that can be enabled simply by adding cache under with. Are there plans for setup-python to get the same convenience instead of having to use actions/cache?

setup-node@v2

The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are npm , yarn .

- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: 'npm'

I asked on github.community but got no response so I figured I try here.

@chingc chingc added the bug Something isn't working label Jul 14, 2021
@chingc
Copy link
Author

chingc commented Oct 6, 2021

setup-java recently added builtin cache support as well.

@hugovk
Copy link
Contributor

hugovk commented Nov 12, 2021

Good news, a PR is at #266!

@nikita-bykov nikita-bykov added feature request New feature or request to improve the current logic and removed bug Something isn't working labels Nov 12, 2021
@dmitry-shibanov
Copy link
Contributor

Hello everyone. We added support for pip and pipenv caching for setup-python in 2.3.0 release. Soon we'll update major tag.

@chingc
Copy link
Author

chingc commented Nov 17, 2021

Thank you!

@chingc chingc closed this as completed Nov 17, 2021
@dmitry-shibanov
Copy link
Contributor

Hello everyone, we've updated tag v2. It points to release 2.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

4 participants