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

add a cache key to venv restore plugin for easy busting #221

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

4141done
Copy link
Contributor

@4141done 4141done commented Jan 6, 2023

Proposed changes

Per the docs at for the restore-virtualenv plugin here we can specify an arbitrary cache key that adds to the key that is partially defined by the Pipfile.lock hash.

We can use this to easily bust cache when we run into python dependency issues which seems to happen every few weeks.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have written my commit messages in the Conventional Commits format.
  • I have read the CONTRIBUTING doc
  • I have added tests (when possible) that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant