melodic-knife-23027
03/31/2025, 8:46 PMpants check is able to pick them up. Is there a recommended way of setting this up?wide-midnight-78598
03/31/2025, 8:47 PMmelodic-knife-23027
03/31/2025, 8:54 PMabsl but it does not include type stubs. I've generated my own and put them in the repo, but pants check does not find them. I've tried adding them as resource dependencies, but they're not getting found. Running Pyright in the exported virtual environment is able to pick them up.wide-midnight-78598
03/31/2025, 8:58 PMwide-midnight-78598
03/31/2025, 8:59 PMmelodic-knife-23027
03/31/2025, 9:00 PMpants exportwide-midnight-78598
03/31/2025, 9:00 PMpants --keep-sandboxes=always check --only=pyright :: and then check out the created sandbox, does pyright work in there?melodic-knife-23027
03/31/2025, 9:04 PMboto3 and that one seems to work. I suspect it's working for some libraries and not others due to issues with packages vs namespace packages, but I don't know enough about how Pyright resolves paths to say. I know I've had issues in the past with it finding generated protos when there's an init.py in the corresponding source directory.melodic-knife-23027
03/31/2025, 9:04 PMwide-midnight-78598
03/31/2025, 9:07 PMmelodic-knife-23027
03/31/2025, 9:19 PMabsl does actually have type stubs and I just have an old version pinned...