-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Pipenv fails to install extras from Pipfile.lock
#4407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Regenerate the lock file by |
The same issue with |
I can confirm this issue. |
@rfrowe or @ElijahSink Could you recheck with latest version of pipenv |
@matteius The issue is still present for me. Pipenv version |
@dspechnikov Can you check again with |
@matteius looks good. Also actually I double-checked |
This is stilling happening in Release v2022.5.2 |
@elanou Please provide additional details on how to reproduce if this is still happening with |
Uh oh!
There was an error while loading. Please reload this page.
Issue description
Pipenv fails to install extras for a dependency if using
Pipfile.lock
. This would appear to be related to #1094.Expected result
Pipenv should install extras regardless of whether
Pipefile
orPipfile.lock
is used, given the two are in sync. However,pip freeze
shows none of the packages required by the desired extra as installed. However,--verbose
output shows that installation is occurring:Actual result
Pipenv only installs extras when installing from
Pipfile
.Steps to replicate
Pipfile
(sanitized):When I install in my development environment via
pipenv update
, the extra is installed. MyPipfile.lock
contains:When installing for production via:
The extra is not installed. And I see the following output:
If I instead install via:
Then the extra is installed and I see output similar to that above but with an additional line at the end:
$ pipenv --support
Pipenv version:
'2020.6.2'
Pipenv location:
'/usr/local/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/local/opt/[email protected]/bin/python3.8'
Python installations found:
3.8.1
:/usr/local/opt/[email protected]/bin/python3
3.8.1
:/usr/local/opt/[email protected]/bin/python3.8
3.7.6
:/usr/local/bin/python3
3.7.6
:/usr/local/bin/python3.7m
3.7.6
:/usr/local/bin/python3.7
2.7.10
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
USER
TERMINAL_EMULATOR
HOME
COMMAND_MODE
LOGIN_SHELL
XPC_SERVICE_NAME
LOGNAME
TMPDIR
SHELL
__INTELLIJ_COMMAND_HISTFILE__
XPC_FLAGS
Apple_PubSub_Socket_Render
__CF_USER_TEXT_ENCODING
DISPLAY
ZDOTDIR
PATH
TERM
SSH_AUTH_SOCK
SHLVL
PWD
OLDPWD
ZSH
PAGER
LESS
LSCOLORS
LC_CTYPE
EDITOR
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
VIRTUAL_ENV
PS1
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
The text was updated successfully, but these errors were encountered: