hexa | ERROR: An error occurred during the fetch of repository 'lint_dependencies':
Traceback (most recent call last):
File "/build/output/external/rules_python/python/pip.bzl", line 40, column 13, in _pip_import_impl
fail("pip_import failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: pip_import failed: (Traceback (most recent call last):
File "/nix/store/abax98471z8fshv4b9p46bkh3lxmpy0z-python3-3.10.9/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/nix/store/abax98471z8fshv4b9p46bkh3lxmpy0z-python3-3.10.9/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/build/output/external/rules_python/tools/piptool.par/__main__.py", line 18, in <module>
File "/build/output/external/rules_python/tools/piptool.par/subpar/runtime/support.py", line 326, in setup
File "/build/output/external/rules_python/tools/piptool.par/subpar/runtime/support.py", line 157, in _setup_pkg_resources
File "/build/output/external/rules_python/tools/piptool.par/pypi__setuptools_38_2_4/pkg_resources/__init__.py", line 77, in <module>
File "/build/output/external/rules_python/tools/piptool.par/pypi__setuptools_38_2_4/pkg_resources/_vendor/packaging/requirements.py", line 9, in <module>
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
File "/build/output/external/rules_python/tools/piptool.par/pypi__setuptools_38_2_4/pkg_resources/extern/__init__.py", line 43, in load_module
File "/build/output/external/rules_python/tools/piptool.par/pypi__setuptools_38_2_4/pkg_resources/_vendor/pyparsing.py", line 943, in <module>
AttributeError: module 'collections' has no attribute 'MutableMapping'
)
| 17:01:06 |
hexa | # Note rules_python is placed earlier as tensorflow's version is older
http_archive(
name = "rules_python",
sha256 = "aa96a691d3a8177f3215b14b0edc9641787abaaa30363a080165d06ab65e1161",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz",
"https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz",
],
)
| 17:12:28 |