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 certain packages such as zope-components using --skip-lock an error occurs due to missing hashes.
Expected result
Package listing in Pipfile is installed along with all transient dependencies.
Actual result
Package installation fails with:
Traceback (most recent call last):
File "/Users/dhunt/.local/share/virtualenvs/pipenv-scratchpad--GgvuMLL/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/Users/dhunt/.local/share/virtualenvs/pipenv-scratchpad--GgvuMLL/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 318, in run
resolver.resolve(requirement_set)
File "/Users/dhunt/.local/share/virtualenvs/pipenv-scratchpad--GgvuMLL/lib/python3.7/site-packages/pip/_internal/resolve.py", line 109, in resolve
raise hash_errors
pip._internal.exceptions.HashErrors: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
zope.deferredimport>=4.2.1 from https://files.pythonhosted.org/packages/62/d2/e03e4b0c9103817e19d1ea577c1f7fb9b67e4c0397ca5127d377e1eafe0c/zope.deferredimport-4.3-py2.py3-none-any.whl#sha256=4aae9cbacb2146cca58e62be0a914f0cec034d3b2d41135ea212ca8a96f4b5ec (from zope-component==4.5->-r /var/folders/wz/3v_j7g2n2zx_q6qs8g7vmyg00000gn/T/pipenv-vezy9g1n-requirements/pipenv-xv4pd16_-requirement.txt (line 1))
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/bin/pipenv", line 11, in <module>
load_entry_point('pipenv==2018.11.14', 'console_scripts', 'pipenv')()
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/cli/command.py", line 249, in install
editable_packages=state.installstate.editables,
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/core.py", line 1872, in do_install
keep_outdated=keep_outdated
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/core.py", line 1232, in do_init
pypi_mirror=pypi_mirror,
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/core.py", line 844, in do_install_dependencies
_cleanup_procs(procs, False, failed_deps_queue, retry=False)
File "/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv/core.py", line 676, in _cleanup_procs
raise exceptions.InstallError(c.dep.name, extra=err_lines)
pipenv.exceptions.InstallError: ERROR: ERROR: Package installation failed...
Issue description
When installing certain packages such as zope-components using
--skip-lock
an error occurs due to missing hashes.Expected result
Package listing in Pipfile is installed along with all transient dependencies.
Actual result
Package installation fails with:
Steps to replicate
$ pipenv --support
Pipenv version:
'2018.11.14'
Pipenv location:
'/usr/local/Cellar/pipenv/2018.11.14/libexec/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/local/Cellar/pipenv/2018.11.14/libexec/bin/python3.7'
Python installations found:
3.7.1
:/usr/local/bin/python3
3.7.1
:/usr/local/bin/python3.7m
3.7.0
:/Users/dhunt/.pyenv/versions/3.7.0/bin/python3
3.7.0
:/Users/dhunt/.pyenv/versions/3.7.0/bin/python3.7m
3.7.0
:/Users/dhunt/.pyenv/versions/tmp-3.7.0-dhunt-oYjJx3/bin/python3
3.7.0
:/Users/dhunt/.pyenv/versions/tmp-3.7.0-wpt-api-6xB6J5/bin/python3
3.6.5
:/Users/dhunt/.pyenv/versions/3.6.5/bin/python3
3.6.5
:/Users/dhunt/.pyenv/versions/3.6.5/bin/python3.6m
3.5.5
:/Users/dhunt/.pyenv/versions/3.5.5/bin/python3
3.5.5
:/Users/dhunt/.pyenv/versions/3.5.5/bin/python3.5m
3.4.8
:/Users/dhunt/.pyenv/versions/3.4.8/bin/python3
3.4.8
:/Users/dhunt/.pyenv/versions/3.4.8/bin/python3.4m
2.7.15
:/Users/dhunt/.pyenv/versions/2.7.15/bin/python
2.7.15
:/Users/dhunt/.pyenv/versions/selenium/bin/python
2.7.15
:/Users/dhunt/.pyenv/versions/tmp-2.7.15-dhunt-lmhFAI/bin/python
2.7.15
:/usr/local/bin/python
2.7.15
:/usr/local/bin/pythonw
2.7.13
:/Users/dhunt/.pyenv/versions/pypy-5.7.1/bin/python
2.7.10
:/usr/bin/python
2.7.10
:/usr/bin/pythonw
2.7.10
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
PATH
SPACESHIP_VERSION
TERM_PROGRAM
NVM_CD_FLAGS
TERM
SHELL
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
NVM_DIR
USER
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
PYENV_VIRTUALENV_INIT
PAGER
LSCOLORS
_
PWD
LANG
ITERM_PROFILE
XPC_FLAGS
SPACESHIP_ROOT
XPC_SERVICE_NAME
PYENV_SHELL
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LESS
LOGNAME
LC_CTYPE
NVM_BIN
DISPLAY
COLORTERM
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/Cellar/pipenv/2018.11.14/libexec/tools:/Users/dhunt/.local/bin:/Users/dhunt/.nvm/versions/node/v6.11.1/bin:/Users/dhunt/.cargo/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/dhunt/.pyenv/shims:/Users/dhunt/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin::/Users/dhunt/workspace/arcanist/bin/
SHELL
:/usr/local/bin/zsh
LANG
:en_GB.UTF-8
PWD
:/Users/dhunt/workspace/pipenv-scratchpad
Contents of
Pipfile
('/Users/dhunt/workspace/pipenv-scratchpad/Pipfile'):Contents of
Pipfile.lock
('/Users/dhunt/workspace/pipenv-scratchpad/Pipfile.lock'):The text was updated successfully, but these errors were encountered: