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

Fix crash on Python 2 when reusing environments #450

Merged
merged 4 commits into from
Jun 12, 2021

Conversation

cjolowicz
Copy link
Collaborator

Fixes #449

This breaks tests comparing a string from pyvenv.cfg to command output, because
the latter will be a mock. There is no inherent need for this mock. It was added
recently, and probably speculatively or for performance reasons.
@cjolowicz cjolowicz merged commit 2791b70 into wntrblm:main Jun 12, 2021
@cjolowicz cjolowicz deleted the fix-staleness-check-py2 branch June 12, 2021 20:29
@cjolowicz cjolowicz mentioned this pull request Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Sessions using Python2.7 cannot reuse virtual envs (-r) as Python 2.7 doesn't have attr sys.base_prefix
2 participants