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

Clear the cache when the pip/Pipenv version changes #1674

Closed
edmorley opened this issue Oct 30, 2024 · 0 comments · Fixed by #1679
Closed

Clear the cache when the pip/Pipenv version changes #1674

edmorley opened this issue Oct 30, 2024 · 0 comments · Fixed by #1679
Assignees

Comments

@edmorley
Copy link
Member

If the pip or Pipenv version changes we should clear the cache to:

  1. Avoid any issues with backwards compatibility.
  2. Help improve determinism between environments (eg between a staging app and a prod app, where the package manager version used to install a package might be different, if they were deployed at different times)

In particular, this blocks upgrading to pip 24.1 - since newer versions of pip aren't able to uninstall legacy Python packages with broken version specifiers. See:
#1619 (comment)

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

Successfully merging a pull request may close this issue.

1 participant