ripe-scooter-10665
06/22/2023, 1:53 PMpants check ::
as part of a GitHub action. Sometimes (but not always) pyright fails the check, it looks like its failing to find any of the 3rd part imports with lots of errors such as (file path redacted):
/tmp/pants-sandbox-zZouYc/.../models.py
/tmp/pants-sandbox-zZouYc/.../models.py:7:6 - error: Import "pydantic" could not be resolved (reportMissingImports)
There are hundreds of these errors, seemingly for every third party import, any idea on how to start debugging this or how to resolve it?ripe-scooter-10665
06/22/2023, 2:49 PM- name: Initialise Pants
uses: pantsbuild/actions/init-pants@v4-scie-pants
with:
gha-cache-key: cache0-py3.10
named-caches-hash: ${{ hashFiles('3rdparty/python/default.lock') }}
cache-lmdb-store: "true"
better-van-82973
06/28/2023, 12:50 AM- name: Initialize Pants
uses: pantsbuild/actions/init-pants@v5-scie-pants
with:
gha-cache-key: cache1-py3.10
named-caches-hash: ${{ hashFiles('3rdparty/python/*.lock') }}
better-van-82973
06/28/2023, 12:51 AMripe-scooter-10665
06/28/2023, 6:45 AMripe-scooter-10665
06/29/2023, 7:08 AMbetter-van-82973
06/29/2023, 12:36 PMcache-lmdb-store: "true"
from the optionsripe-scooter-10665
07/03/2023, 7:15 AMripe-scooter-10665
07/06/2023, 2:03 PM