Skip to content

[Regression] dmypy run broken on Windows with 0.710 #7031

@emmatyping

Description

@emmatyping

This is a regression in 0.710
My environment:
Windows 10
mypy (from pypi) 0.710
Python 3.7.2

I finally got to testing the release on Windows and it seems that dmypy run is broken on Windows. This seems to be an issue with how mypyc is handling the dmypy directory.

A sample of the behavior:

$ dmypy run -- test.py --follow-imports=error
Timed out waiting for daemon to start.

The work-around for now is to install mypy without mypyc via pip install mypy --no-binary mypy.

Not satisfied with that, I decided to start removing binary extensions until things worked. I was able to further narrow things down to the offending file, which is (oddly) dmypy/__main__.py. I'm not at all sure why deleting the extension module corresponding to that file should fix things, but it does. The corresponding PR that introduced this change is #6851.

cc @msullivan

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions