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

Start supporting pyvenv #67

Open
berdario opened this issue Sep 14, 2015 · 4 comments · May be fixed by #173
Open

Start supporting pyvenv #67

berdario opened this issue Sep 14, 2015 · 4 comments · May be fixed by #173

Comments

@berdario
Copy link
Collaborator

Supporting pyvenv (the stdlib venv module) might mean that in a remote future, where Python <3.4 will have disappeared, the virtualenv dependency will be redundant.

Due to this bug, to use venv on Ubuntu/Debian it'd require a preemptive check if ensurepip is available with python -c 'import ensurepip' (python -m ensurepip won't work due to a debian patch)

Still, before implementing it, it's better to wait until some bugs will have been ironed out

@AlJohri
Copy link
Contributor

AlJohri commented Nov 13, 2017

hi @berdario, any update on potentially using python3 -m venv in pew? thanks!

@FranklinYu
Copy link

The Ubuntu bug has been fixed in Ubuntu/Debian, but the Python bug is included only in next minor release (3.7).

@berdario
Copy link
Collaborator Author

berdario commented Jan 2, 2018

Hi everyone, thanks for checking on the other issues and updating here.

Yeah, I think it's a good time to start looking into it. Unfortunately I don't have time for it in the next month, I think (people are welcome to send a PR for it)

I'm also thinking, that this change should coexist with the normal virtualenv-dependency implementation. Probably toggled with an environment variable (not sure yet if it should be opt-out or opt-in... I'd prefer the former, since otherwise not many people might test it).

Only after a few months without complains, I'd then consider removing the virtualenv dependency for Python > 3.4 (or 3.7)

@uranusjr
Copy link
Contributor

uranusjr commented Jan 10, 2018

I looked into this a bit, and currently the most significant difference might be virtualenv-clone. I haven’t seen anything like this for venv—Does it “just work”, or is there an equivalent? I think I have solutions for all other parts.

@uranusjr uranusjr linked a pull request Jan 10, 2018 that will close this issue
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 a pull request may close this issue.

4 participants