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

Add venv as an environment manager option #164

Open
nickcorona opened this issue Apr 21, 2019 · 6 comments
Open

Add venv as an environment manager option #164

nickcorona opened this issue Apr 21, 2019 · 6 comments
Milestone

Comments

@nickcorona
Copy link

nickcorona commented Apr 21, 2019

It's the default python virtual environment library now and ships with python 3.

@floer32
Copy link

floer32 commented Apr 22, 2019

Good call.

various tools auto-discover “venv” and “.venv” - including IDEs like PyCharm and the (wonderful) package manager, Poetry

@pjbull
Copy link
Member

pjbull commented Apr 22, 2019

We don't use venv in our projects could one of you (@hangtwenty @nickcorona) point towards a resource with the basics so that it can be implemented with #162?

@floer32
Copy link

floer32 commented Apr 22, 2019 via email

@nickcorona
Copy link
Author

nickcorona commented Apr 26, 2019

Hah I was misunderstanding this thread. I thought it was talking about which directory name to use for a virtualenv if created within project. But I think OP was talking about venv vs virtualenv libraries in stdlib

Yeah, that is what I mean.

@jamesmyatt
Copy link
Contributor

jamesmyatt commented Oct 2, 2020

The general advice is to still prefer virtualenv since it's faster, has more features and can be upgraded via pip.

Update: In most cases, "virtualenv" is still recommended over just "venv". See the https://virtualenv.pypa.io/en/stable/index.html for details, but basically (as I understand it), only the minimum functionality was migrated to venv to enable everyone to get basic native isolated environments without pip-installing anything. So if you can pip-install anything, then you might as well use virtualenv.

@jayqi jayqi changed the title Use venv instead of virtualenv Add venv as an environment manager option Sep 10, 2023
@jayqi
Copy link
Member

jayqi commented Sep 10, 2023

Changing this issue to consider venv in addition_to and not instead of virtualenv. virtualenv is still popularly used and provides a superset of the functionality of venv. However, it may make sense to include venv as an option since it is part of the Python standard library.

@jayqi jayqi added this to the v2.1 milestone Sep 10, 2023
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

No branches or pull requests

5 participants