In Python 3.7, typing breaks mypy with 'type object 'Callable' has no attribute '_abc_registry'

1 job for feature_to_pass_latest_mypy_checks in 16 seconds
Status Job ID Name Coverage
  Build
failed #684
build

00:00:16

 
Name Stage Failure
failed
build Build
    from typing import List, Optional
File "/usr/local/lib/python3.7/dist-packages/typing.py", line 1357, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/local/lib/python3.7/dist-packages/typing.py", line 1005, in __new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
make: *** [flake8] Error 1
Makefile:23: recipe for target 'flake8' failed
ERROR: Job failed: exit code 1