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

Mimic pip when handling --user-only in a virtual environment #364

Merged
merged 2 commits into from
May 7, 2024

Conversation

kemzeb
Copy link
Collaborator

@kemzeb kemzeb commented May 7, 2024

In v2.16.1, we would not print any user-site packages if we were:

  • In a virtual environment
  • Using a custom interpreter

This makes since as we should be isolated away from the system environment. The only case where we should be seeing user-site packages is when these environments have system site packages enabled. This patch brings back this behavior.

@kemzeb
Copy link
Collaborator Author

kemzeb commented May 7, 2024

Will release 2.20.0 after successful merge and workflows

@kemzeb kemzeb merged commit e88356f into tox-dev:main May 7, 2024
9 checks passed
@kemzeb kemzeb deleted the dont-snatch-user-site-in-virtual-env branch May 7, 2024 17:01
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.

2 participants