[issue22256] pyvenv should display a progress indicator while creating an environment

2020-09-14 Thread STINNER Victor


STINNER Victor  added the comment:

I close the issue.

If someone wants to work on venv, I suggest to attempt to copy virtualenv cache 
optimization of virtualenv 20, to speedup the creation of a venv, rather than 
adding a progress bar :-)

--
resolution:  -> out of date
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2020-09-13 Thread Vinay Sajip


Vinay Sajip  added the comment:

Can we close this? I guess this enhancement is no longer needed.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2015-01-04 Thread Nick Coghlan

Nick Coghlan added the comment:

I have a vague recollection of originally using check_call, and then switching 
to check_output. However, that may have just been for testing related reasons, 
which could be better handled in the test suite, allowing users to see the pip 
installation output as a progress indicator.

If we add the extra output, adding a -q/--quiet option at the same time would 
be a good idea.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2015-01-03 Thread Donald Stufft

Donald Stufft added the comment:

I just noticed this issue. I think all that really needs done here is changing 
the venv module to use subprocess.check_call instead of subprocess.check_output 
when calling ensurepip.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2014-10-27 Thread Vinay Sajip

Vinay Sajip added the comment:

It looks as if ensurepip is where changes should happen. The venv code just 
makes a subprocess.check_output() call to ensurepip, and anything that 
ensurepip outputs would be displayed on the console.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2014-10-27 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2014-10-26 Thread Steve Dower

Steve Dower added the comment:

virtualenv is definitely chattier - it prints out the path where the env will 
be and when it is installing setuptools and pip.

That's all that's really needed here too, IMHO - just enough to let users know 
that venv has heard them and is doing something (not just waiting for Python to 
start up).

--
nosy: +steve.dower

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2014-08-23 Thread Nick Coghlan

New submission from Nick Coghlan:

Creating an environment with pyvenv or python -m venv in 3.4+ can be a bit 
disconcerting, as it may take some time (especially on older machines).

It would be good if the command line utility displayed some kind of marking 
while this operation was in progress.

(The delay seems to be mostly due to ensurepip - running ./python -m venv 
--without-pip under my 3.4 checkout is relatively fast, at least on my system)

--
components: Library (Lib)
messages: 225737
nosy: dstufft, ncoghlan, vinay.sajip
priority: normal
severity: normal
stage: needs patch
status: open
title: pyvenv should display a progress indicator while creating an environment
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2014-08-23 Thread Vinay Sajip

Vinay Sajip added the comment:

Should this be a change to ensurepip, then, or a change in pyvenv? My original 
pyvenvex.py script at

https://gist.github.com/vsajip/4673395

shows progress information as the subprocess runs. However, it somewhat depends 
on the verbosity of the underlying child process to relay meaningful progress.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22256] pyvenv should display a progress indicator while creating an environment

2014-08-23 Thread Nick Coghlan

Nick Coghlan added the comment:

I'm not actually sure - it only occurred to me while filing the issue that 
ensurepip was the likely culprit.

Donald, what do you think? Is virtualenv chattier here?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22256
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com