Open
Labels
Description
Crash Report
dmypy run
Traceback
(env) grantmathews@grants-mbp gem % dmypy run
Daemon crashed!
Traceback (most recent call last):
File "mypy/dmypy_server.py", line 237, in serve
File "mypy/dmypy_server.py", line 286, in run_command
File "mypy/dmypy_server.py", line 354, in cmd_run
File "mypy/dmypy_server.py", line 433, in check
File "mypy/dmypy_server.py", line 650, in fine_grained_increment_follow_imports
File "mypy/dmypy_server.py", line 762, in find_reachable_changed_modules
KeyError: 'sqlite3.dbapi2'
To Reproduce
Sorry, can't provide better repro steps
Your Environment
see #18751
- Mypy version used:
- Mypy command-line flags:
- Mypy configuration options from
mypy.ini(and other config files): - Python version used:
- Operating system and version:
Reacted by Nicholas Grisafi
Activity
emmatyping commentedon Aug 5, 2025
Is there any additional information you can provide, like if any files import sqlite3? Without any actionable reproducer I would say we should close this.
njgrisafi commentedon Nov 20, 2025
Running into this issue post
1.18.2upgrade.The first run passes but after 1-2
recheckit fails.It seems to be erroring on files we
excludein themypy.iniJelleZijlstra commentedon Nov 20, 2025
@njgrisafi what stack trace or other information are you seeing? Are you able to come up with a way to reproduce the failure?
njgrisafi commentedon Nov 20, 2025
@JelleZijlstra I've opened a new issue with simple reproduction of the crash #20279