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
When installing using "--deploy" with an outdated Pipfile, Pipenv fails with an exception.
Expected result
Pipenv should notify the lockfile is outdated and exit gracefully.
Actual result
Your Pipfile.lock (ee5679) is out of date. Expected: (c5ad03).
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/cli/command.py", line 235, in install
retcode = do_install(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1863, in do_install
do_init(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1192, in do_init
raise exceptions.DeployException
File "/usr/local/lib/python3.8/site-packages/pipenv/exceptions.py", line 168, in __init__
PipenvUsageError.__init__(message=fix_utf8(message), extra=extra, **kwargs)
TypeError: __init__() missing 1 required positional argument: 'self'
Steps to replicate
pipenv --three
edit Pipfile and add a dependency. Ex: pycodestyle = "==2.4.0"
pipenv lock
edit Pipfile: Ex: pycodestyle = "==2.5.0"
pipenv install --deploy
Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
Issue description
When installing using "--deploy" with an outdated Pipfile, Pipenv fails with an exception.
Expected result
Pipenv should notify the lockfile is outdated and exit gracefully.
Actual result
Steps to replicate
pipenv --three
pipenv lock
pipenv install --deploy
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:
'2018.11.26'
Pipenv location:
'/usr/local/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.8.0
:/usr/local/bin/python
3.7.3
:/usr/bin/python3.7
3.7.3
:/usr/bin/python3.7m
2.7.16
:/usr/bin/python
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_PIP_VERSION
HOME
GPG_KEY
PYTHON_GET_PIP_URL
PATH
LANG
PYTHON_VERSION
PWD
PYTHON_GET_PIP_SHA256
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/
Contents of
Pipfile
('/Pipfile'):Contents of
Pipfile.lock
('/Pipfile.lock'):The text was updated successfully, but these errors were encountered: