Pipenv lock overwrites its output in verbose mode #5530
Labels
triage
Type: Bug 🐛
This issue is a bug.
Type: Regression
This issue is a regression of a previous behavior.
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
When running
pipenv lock --verbose
, it outputs verbose messages (starting round, adding requirement, etc.) but then carriage returns and overwrites it with the next message. Because of that you can't actually see the sequence of steps that it is taking. When debugging an infinity lock issue this can be annoying.Expected result
It should leave all of the steps in the output, or at least have an option to log them to a file.
Actual result
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
pipenv lock --dev --verbose --clear
https://github.com/Recidiviz/pulse-data/blob/01d29e570a255b78ca0c7c2ab304c1a34d1f7dde/Pipfile
You'll notice in support that I have updated
sklearn
toscikit-learn
in the Pipfile. It happens for both.Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.$ pipenv --support
Pipenv version:
'2022.11.25'
Pipenv location:
'/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/lib/python3.9/site-packages/pipenv'
Python location:
'/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python'
OS Name:
'posix'
User pip version:
'22.3'
user Python installations found:
3.10.8
:/usr/local/bin/python3
3.9.14
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python3
3.9.14
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python
3.9.14
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python3.9
3.9.14
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python3
3.9.14
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python
3.9.14
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin/python3.9
3.9.14
:/usr/local/bin/python3.9
3.8.14
:/usr/local/bin/python3.8
3.8.2
:/usr/bin/python3
3.7.14
:/usr/local/opt/python@3.7/bin/python3.7m
3.7.14
:/usr/local/opt/python@3.7/bin/python3.7
3.7.14
:/usr/local/bin/python3.7m
3.7.14
:/usr/local/bin/python3.7
PEP 508 Information:
System environment variables:
TERM_SESSION_ID
SSH_AUTH_SOCK
LC_TERMINAL_VERSION
COLORFGBG
ITERM_PROFILE
SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS
XPC_FLAGS
LANG
PWD
SHELL
__CFBundleIdentifier
SECURITYSESSIONID
TERM_PROGRAM_VERSION
TERM_PROGRAM
PATH
LC_TERMINAL
COLORTERM
COMMAND_MODE
TERM
HOME
TMPDIR
USER
XPC_SERVICE_NAME
LOGNAME
LaunchInstanceID
__CF_USER_TEXT_ENCODING
ITERM_SESSION_ID
SHLVL
OLDPWD
ZSH
PAGER
LESS
LSCOLORS
LC_ALL
EDITOR
NVM_DIR
NVM_CD_FLAGS
NVM_BIN
NVM_INC
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PIPENV_ACTIVE
VIRTUAL_ENV
PS1
_
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt/bin:/usr/local/opt/postgresql@13/bin:/usr/local/opt/redis@4.0/bin:/Users/colin/.nvm/versions/node/v14.15.1/bin:/Users/colin/google-cloud-sdk/bin:/Users/colin/dev/flutter/bin:/usr/local/opt/python@3.7/bin:/Users/colin/Library/Python/3.7/bin:/usr/local/bin:/usr/local/opt/postgresql@13/bin:/usr/local/opt/redis@4.0/bin:/Users/colin/.nvm/versions/node/v14.15.1/bin:/Users/colin/google-cloud-sdk/bin:/Users/colin/dev/flutter/bin:/usr/local/opt/python@3.7/bin:/Users/colin/Library/Python/3.7/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL
:/bin/zsh
EDITOR
:vim
LANG
:en_US.UTF-8
PWD
:/Users/colin/code/recidiviz-data
VIRTUAL_ENV
:/Users/colin/.local/share/virtualenvs/recidiviz-data-QdL6rflt
Contents of
Pipfile
('/Users/colin/code/recidiviz-data/Pipfile'):Contents of
Pipfile.lock
('/Users/colin/code/recidiviz-data/Pipfile.lock'):See lock file here: https://github.com/Recidiviz/pulse-data/blob/01d29e570a255b78ca0c7c2ab304c1a34d1f7dde/Pipfile.lock
(Github was mad it was so big)
The text was updated successfully, but these errors were encountered: