Improve resolution error for incompatible version #6073
Labels
Contributor Candidate
The issue has been identified/triaged and contributions are welcomed/encouraged.
Type: Enhancement 💡
This is a feature or enhancement request.
Is your feature request related to a problem? Please describe.
If I try to resolve a version that doesn't exist, maybe due to an error, I get a very large error where the true error is at the first line.
Describe the solution you'd like
I would like just the resolution failure message, and not the RuntimeError as well.
Describe alternatives you've considered
N/A
Additional context
Pipenv is installed via homebrew
$ pipenv --support
Pipenv version:
'2023.11.17'
Pipenv location:
'/opt/homebrew/Cellar/pipenv/2023.11.17/libexec/lib/python3.12/site-packages/pipenv'
Python location:
'/opt/homebrew/Cellar/pipenv/2023.11.17/libexec/bin/python'
OS Name:
'posix'
User pip version:
'23.3.2'
user Python installations found:
PEP 508 Information:
System environment variables:
MallocNanoZone
USER
COMMAND_MODE
__CFBundleIdentifier
PATH
LOGNAME
SSH_AUTH_SOCK
HOME
SHELL
TMPDIR
__CF_USER_TEXT_ENCODING
XPC_SERVICE_NAME
XPC_FLAGS
ORIGINAL_XDG_CURRENT_DESKTOP
SHLVL
PWD
OLDPWD
HOMEBREW_PREFIX
HOMEBREW_CELLAR
HOMEBREW_REPOSITORY
MANPATH
INFOPATH
ZSH
PAGER
LESS
LSCOLORS
LS_COLORS
P9K_SSH
GPG_TTY
LDFLAGS
CPPFLAGS
EDITOR
GIT_EDITOR
VISUAL
TERM_PROGRAM
TERM_PROGRAM_VERSION
LANG
COLORTERM
GIT_ASKPASS
VSCODE_GIT_ASKPASS_NODE
VSCODE_GIT_ASKPASS_EXTRA_ARGS
VSCODE_GIT_ASKPASS_MAIN
VSCODE_GIT_IPC_HANDLE
SENTRY_DSN
VSCODE_ENV_REPLACE
KITSU_REFRESH_TOKEN
KITSU_ACCESS_TOKEN
KITSU_EXPIRES_AT
VSCODE_ENV_PREPEND
PS1
TERM
pipfile_dir
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
PIPENV_ACTIVE
DYLD_LIBRARY_PATH
P9K_TTY
_P9K_TTY
VIRTUAL_ENV
VIRTUAL_ENV_PROMPT
_
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/Users/User/.local/share/virtualenvs/wikidata-manga-import-SvfOvIlf/bin:/opt/homebrew/opt/curl/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/User/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/deactivate/zsh:/Users/User/.local/share/virtualenvs/wikidata-manga-import-SvfOvIlf/bin:/opt/homebrew/opt/curl/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin
SHELL
:/bin/zsh
EDITOR
:code --wait
LANG
:en_US.UTF-8
PWD
:/Users/User/Projects/wikidata-manga-import
VIRTUAL_ENV
:/Users/User/.local/share/virtualenvs/wikidata-manga-import-SvfOvIlf
Contents of
Pipfile
('/Users/User/Projects/wikidata-manga-import/Pipfile'):Contents of
Pipfile.lock
('/Users/User/Projects/wikidata-manga-import/Pipfile.lock'):The text was updated successfully, but these errors were encountered: