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

Preserve seed packages for non-Puffin-created virtualenvs #535

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

charliermarsh
Copy link
Member

Summary

This PR modifies the install plan to avoid removing seed packages if the virtual environment was created by anyone other than Puffin.

Closes #414.

Test Plan

  • Ran: virtualenv .venv.
  • Ran: cargo run -p puffin-cli -- pip-sync scripts/benchmarks/requirements.txt --verbose --no-cache.
  • Verified that pip et al were not removed, and that the logging including a message around preserving seed packages.

@charliermarsh charliermarsh added the bug Something isn't working label Dec 4, 2023
@charliermarsh charliermarsh merged commit 95b8316 into main Dec 4, 2023
3 checks passed
@charliermarsh charliermarsh deleted the charlie/seed-packages branch December 4, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't remove pip from the user's venv
2 participants