Skip to content

Conversation

@henryiii
Copy link
Contributor

@henryiii henryiii commented May 28, 2024

Include the VIRTUAL_ENV variable when running "in" a virtualenv. This will be useful when we start trying out uv.

Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii requested a review from mayeut May 29, 2024 02:29
@mayeut mayeut merged commit c333b13 into pypa:main May 29, 2024
self.assertTrue(path_contains(sys.prefix, sys.executable))
self.assertTrue(path_contains(sys.prefix, spam.__file__))
self.assertIn("VIRTUAL_ENV", os.environ)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thinking after I've merged the PR...
Should a test like this one be added for build environments as well ? (except on Linux)

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