-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mypy crashes with "Cannot find component" on subsequent runs #18751
Comments
Here's another one I got just now.
|
Running into the same issue at work |
Did the crash occur with previous version(s) of mypy? Did you recently update the version of |
I have managed to track this one down. We use sqlalchemy type stubs installed locally + sqlalchemy. It can happen sometimes if you import, say, |
Crash Report
Running
mypy
after the first run sometimes crashes.rm -rf .mypy_cache
fixes the issue, but if I then runmypy
a few more times, it crashes again.Traceback
To Reproduce
This is at work, and it's a rather large repo, so I can't provide easy repro steps. I would be happy to provide additional information that you need.
Your Environment
mypy.ini
(and other config files):Additionally, we added
ignore_missing_imports
to most of our libraries.The text was updated successfully, but these errors were encountered: