-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
I'm not sure whether the name "configuration" is specific to our code (we do have a module called configuration
) or is it mypy-internal thing.
CPython 3.5.1, mypy a284c48, command: python -m mypy --silent-imports --incremental --fast-parser BUNCH OF MODULES AND PACKAGES
, result:
Traceback (most recent call last):
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/bin/mypy", line 6, in <module>
main(__file__)
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/lib/python3.5/site-packages/mypy/main.py", line 40, in main
res = type_check_only(sources, bin_dir, options)
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/lib/python3.5/site-packages/mypy/main.py", line 81, in type_check_only
options=options)
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/lib/python3.5/site-packages/mypy/build.py", line 180, in build
dispatch(sources, manager)
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/lib/python3.5/site-packages/mypy/build.py", line 1335, in dispatch
process_graph(graph, manager)
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/lib/python3.5/site-packages/mypy/build.py", line 1424, in process_graph
stale_deps = {id for id in deps if not graph[id].is_fresh()}
File "/var/lib/jenkins/workspace/smarkets-pylint/env3/lib/python3.5/site-packages/mypy/build.py", line 1424, in <setcomp>
stale_deps = {id for id in deps if not graph[id].is_fresh()}
KeyError: 'configuration'
I've backed up .mypy_cache
, I'll see whether I can reproduce this reliably and provide a minimal test case.