You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command output on pipenv install / pipenv lock timeout is in desparate need of a makeover. It's not great UX for a program to take ages, then eventually fail with unhelpful information.
Expected result
Information which tells us:
which action timed out (e.g. which package was being installed)
how we might increase the timeout
Actual result
pipenv update --dev --pre
Running $ pipenv lock then $ pipenv sync.
Locking [dev-packages] dependencies…
Building requirements...
Resolving dependencies...
Success!
Locking [packages] dependencies…
Building requirements...
Resolving dependencies...
Traceback (most recent call last):
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\TobyHarradine\AppData\Local\Programs\Python\Python36\Scripts\pipenv.exe\__main__.py", line 7, in <module>
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\cli\command.py", line 591, in update
write=not state.quiet,
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\core.py", line 1114, in do_lock
keep_outdated=keep_outdated
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\utils.py", line 1323, in venv_resolve_deps
c = resolve(cmd, sp)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\utils.py", line 1136, in resolve
result = c.expect(u"\n", timeout=environments.PIPENV_INSTALL_TIMEOUT)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\delegator.py", line 215, in expect
self.subprocess.expect(pattern=pattern, timeout=timeout)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pexpect\spawnbase.py", line 344, in expect
timeout, searchwindowsize, async_)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pexpect\spawnbase.py", line 372, in expect_list
return exp.expect_loop(timeout)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pexpect\expect.py", line 181, in expect_loop
return self.timeout(e)
File "c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pipenv\vendor\pexpect\expect.py", line 144, in timeout
raise exc
pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x0000011F76521D68>
searcher: searcher_re:
0: re.compile('\n')
<pexpect.popen_spawn.PopenSpawn object at 0x0000011F76521D68>
searcher: searcher_re:
0: re.compile('\n')
Issue description
The command output on
pipenv install
/pipenv lock
timeout is in desparate need of a makeover. It's not great UX for a program to take ages, then eventually fail with unhelpful information.Expected result
Information which tells us:
Actual result
$ pipenv --support
Pipenv version:
'2020.6.2'
Pipenv location:
'c:\\users\\tobyharradine\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\pipenv'
Python location:
'c:\\users\\tobyharradine\\appdata\\local\\programs\\python\\python36\\python.exe'
Python installations found:
3.8.0
:C:\Users\TobyHarradine\AppData\Local\Programs\Python\Python38\python.exe
3.6.8
:C:\Users\TobyHarradine\AppData\Local\Programs\Python\Python36\python.exe
PEP 508 Information:
System environment variables:
PIPENV_VENV_IN_PROJECT
PYCHARM COMMUNITY EDITION
PROGRAMFILES
VIRTUAL_ENV
USERNAME
POWERSHELL_DISTRIBUTION_CHANNEL
FPS_BROWSER_USER_PROFILE_STRING
NUMBER_OF_PROCESSORS
PROCESSOR_ARCHITECTURE
AWS_SHARED_CREDENTIALS_FILE
SPARK_HOME
SYSTEMDRIVE
LOCALAPPDATA
PUBLIC
PROGRAMDATA
COMSPEC
COMMONPROGRAMFILES(X86)
USERPROFILE
COMMONPROGRAMW6432
_OLD_VIRTUAL_PATH
USERDOMAIN
FPS_BROWSER_APP_PROFILE_STRING
PROCESSOR_LEVEL
TEMP
PROMPT
ONEDRIVE
APPDATA
LOGONSERVER
PSMODULEPATH
PATHEXT
TERMINAL_EMULATOR
PROCESSOR_IDENTIFIER
WINDIR
_OLD_VIRTUAL_PROMPT
SYSTEMROOT
__INTELLIJ_COMMAND_HISTFILE__
COMPUTERNAME
SESSIONNAME
PROGRAMFILES(X86)
ALLUSERSPROFILE
HOMEPATH
DRIVERDATA
PROCESSOR_REVISION
TMP
IDEA_INITIAL_DIRECTORY
ONEDRIVECOMMERCIAL
PATH
HOMEDRIVE
COMMONPROGRAMFILES
HADOOP_HOME
USERDOMAIN_ROAMINGPROFILE
OS
PROGRAMW6432
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT
:1
Debug–specific environment variables:
PATH
:c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pywin32_system32;C:\Users\TobyHarradine\PycharmProjects\job-submission-notebooks\.venv\Scripts;C:\Program Files (x86)\Common Files\Oracle\J ava\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\Terraform;C:\Program Files (x86)\scala\bin;C:\ProgramFiles\ApacheSpark\spark-2.4.4-hadoop2.7\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Microsoft Office\DOCRECRYPT\;C:\Scripts;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program File s\Git\usr\bin;C:\Program Files\PowerShell\7\;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\TobyHarradine\.poetry\bin;c:\users\tobyharradine\appdata\local\programs\python\python36\lib\site-packages\pywin32_system32;C:\Program Files (x86 )\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\Ter raform;C:\Program Files (x86)\scala\bin;C:\ProgramFiles\ApacheSpark\spark-2.4.4-hadoop2.7\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Microsoft Office\DOCRECRYPT\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\ Program Files\Git\usr\bin;C:\Scripts;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\PowerShell\7\;C:\Users\TobyHarradine\AppData\Roaming\Python\Python36\Scripts\;C:\Users\TobyH arradine\AppData\Roaming\Python\Python36\;C:\Users\TobyHarradine\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\TobyHarradine\AppData\Local\Programs\Python\Python36\;C:\Users\TobyHarradine\AppData\Local\Microsoft\WindowsAp ps;C:\Users\TobyHarradine\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.3\bin;C:\Users\TobyHarradine\AppData\Roaming\npm;C:\Users\TobyHarradine\.local\bin;C:\Users\TobyHarra dine\AppData\Local\dephell\dephell\venvs\dephell\Scripts;
VIRTUAL_ENV
:C:\Users\TobyHarradine\PycharmProjects\job-submission-notebooks\.venv
Contents of
Pipfile
('C:\Users\TobyHarradine\PycharmProjects\job-submission-notebooks\Pipfile'):Contents of
Pipfile.lock
('C:\Users\TobyHarradine\PycharmProjects\job-submission-notebooks\Pipfile.lock'):The text was updated successfully, but these errors were encountered: