The --categories
argument of the install
and requirements
commands expects different values and formatting
#5570
Labels
Contributor Candidate
The issue has been identified/triaged and contributions are welcomed/encouraged.
Type: Bug 🐛
This issue is a bug.
Type: Enhancement 💡
This is a feature or enhancement request.
Issue description
The
requirements
andinstall
commands have different expectations for the--categories
argument.Expected result
With the following
Pipfile
:I expect to see
pyvisa
,requests
, and their dependencies printed to the console.Actual result
The
requirements
command prints only the PyPI index.Further Debugging
I found the
install
command recommendspackages
ifdefault
is used.Nothing is installed if a comma is used.
The
requirements
command expectsdefault
instead ofpackages
.It also expects multiple categories to be comma separated.
$ pipenv --support
Pipenv version:
'2022.12.19'
Pipenv location:
'/Users/sean/.local/pipx/venvs/pipenv/lib/python3.10/site-packages/pipenv'
Python location:
'/Users/sean/.local/pipx/venvs/pipenv/bin/python'
OS Name:
'posix'
User pip version:
'22.3.1'
user Python installations found:
3.10.6
:/opt/brew/bin/python3
3.9.13
:/Users/sean/.pyenv/versions/3.9.13/bin/python3
3.9.6
:/usr/bin/python3
3.9.5
:/Users/sean/.pyenv/versions/3.9.5/bin/python3
PEP 508 Information:
System environment variables:
PATH
__CFBundleIdentifier
SHELL
TERM
USER
TMPDIR
COMMAND_MODE
TERMINAL_EMULATOR
LOGIN_SHELL
__INTELLIJ_COMMAND_HISTFILE__
SSH_AUTH_SOCK
XPC_FLAGS
TERM_SESSION_ID
__CF_USER_TEXT_ENCODING
LOGNAME
LC_CTYPE
XPC_SERVICE_NAME
HOME
SHLVL
PWD
OLDPWD
PYENV_ROOT
PYENV_SHELL
PIPENV_VENV_IN_PROJECT
ZSH
PAGER
LESS
LSCOLORS
HOMEBREW_PREFIX
PS1
_
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT
:1
Debug–specific environment variables:
PATH
:/Users/sean/.pyenv/shims:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/brew/bin:/Library/Apple/usr/bin:/Users/sean/.local/bin
SHELL
:/bin/zsh
PWD
:/Users/sean/Projects/sandbox
Contents of
Pipfile
('/Users/sean/Projects/sandbox/Pipfile'):Contents of
Pipfile.lock
('/Users/sean/Projects/sandbox/Pipfile.lock'):The text was updated successfully, but these errors were encountered: