I’ve hit a weird error running `./pants check` on ...
# development
s
I’ve hit a weird error running
./pants check
on
pantsbuild/pants
twice today - the error doesn’t repro if I immediately re-run the command, so it could be a race condition?
Copy code
23:55:38.23 [ERROR] Completed: Typecheck using MyPy - mypy - mypy failed (exit code 1).
src/python/pants/goal/anonymous_telemetry.py:14: note: In module imported here,
src/python/pants/core/register.py:54: note: ... from here,
src/python/pants/core/goals/deploy_test.py:17: note: ... from here:
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: error: Library stubs not installed for "requests" (or incompatible with Python 3.7)  [import]
    import requests
    ^
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: note: Hint: "python3 -m pip install types-requests"
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: note: (or run "mypy --install-types" to install all missing stub packages)
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: note: See <https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports>