Skip to content

main: avoid cost of importing virtualenv if not using it#636

Merged
henryiii merged 1 commit intopypa:mainfrom
henryiii:henryiii/fix/virtualenvimport
Jul 3, 2023
Merged

main: avoid cost of importing virtualenv if not using it#636
henryiii merged 1 commit intopypa:mainfrom
henryiii:henryiii/fix/virtualenvimport

Conversation

@henryiii
Copy link
Contributor

@henryiii henryiii commented Jul 3, 2023

Fix #510. If a user is using -n, skip the cost of importing virtualenv.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii changed the title fix: avoid importing virtualenv if not using it main: avoid cost of importing virtualenv if not using it Jul 3, 2023
@henryiii henryiii merged commit 7a4b1bf into pypa:main Jul 3, 2023
@henryiii henryiii deleted the henryiii/fix/virtualenvimport branch July 3, 2023 22:52
@KOLANICH
Copy link
Contributor

KOLANICH commented Jul 4, 2023

Thanks.

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.

Don't import virtualenv if it is not actually needed.

3 participants