pyrefly
pyrefly copied to clipboard
Pyrefly cannot locate dependencies with only `.pyc` bytecode
Describe the Bug
One of our vendors supply their Python packages as platform-specific wheels. Once installed, everything inside are .pyc files. In IDEs it is easy to inspect the content of these .pyc installed packages, and did not exhibit any error message prior to installing the pyrefly extension. Now with pyrefly, VS Code is showing red squiggly lines for all these .pyc imports, and is therefore unable to infer types. While it is not permitted to share propriety code, I suppose it would be easily reproducible if .pyc is simply not supported at all.
OS: Windows 11 Python: 3.11 Pyrefly: 0.17.1
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response