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
Title: failed when running ./tools/vscode/refresh_compdb.sh
Description:
$ git pull upstream main
$ ./tools/vscode/refresh_compdb.sh
INFO: Repository pylint_pip3 instantiated at:
/data/envoy-learn/istio/envoy/WORKSPACE:17:25: in<toplevel>
/data/envoy-learn/istio/envoy/bazel/repositories_extra.bzl:124:17: in envoy_dependencies_extra
/data/envoy-learn/istio/envoy/bazel/repositories_extra.bzl:81:16: in _python_deps
/data/.cache/envoy-compdb/_bazel_wangcong01/b938f25908549f924e43a4413d4b5096/external/rules_python/python/pip.bzl:53:19: in pip_install
Repository rule pip_repository defined at:
/data/.cache/envoy-compdb/_bazel_wangcong01/b938f25908549f924e43a4413d4b5096/external/rules_python/python/pip_install/pip_repository.bzl:67:33: in<toplevel>
ERROR: An error occurred during the fetch of repository 'pylint_pip3':
Traceback (most recent call last):
File "/data/.cache/envoy-compdb/_bazel_wangcong01/b938f25908549f924e43a4413d4b5096/external/rules_python/python/pip_install/pip_repository.bzl", line 63, column 13, in _pip_repository_impl
fail("rules_python_external failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: rules_python_external failed: Collecting flake8==3.9.0
Using cached https://files.pythonhosted.org/packages/2a/cb/cd92e789442e234b8701bf6e886a55fbc83b7fd6e529b047e20b9cf196e8/flake8-3.9.0-py2.py3-none-any.whl
...
Collecting typing-extensions>=3.6.4; python_version <"3.8"
(ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
typing-extensions>=3.6.4; python_version <"3.8" from https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl#sha256=7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 (from importlib-metadata==3.9.0->-r /data/.cache/envoy-compdb/_bazel_wangcong01/b938f25908549f924e43a4413d4b5096/external/envoy/tools/code_format/requirements.txt (line 4))
Repro steps:
python version Python 3.6.9
pip version pip 21.0.1
I use below requirement.txt in my machine, and run /usr/bin/python3 -m pip wheel -r ./requirements.txt --require-hashes
Title: failed when running ./tools/vscode/refresh_compdb.sh
Description:
Repro steps:
Python 3.6.9
pip 21.0.1
I use below
requirement.txt
in my machine, and run/usr/bin/python3 -m pip wheel -r ./requirements.txt --require-hashes
Related Link
python-poetry/poetry#3472
cjolowicz/hypermodern-python#174
The text was updated successfully, but these errors were encountered: