Skip to content

Don't run mypy self-test? #4333

@srittau

Description

@srittau

I suggest to turn off the mypy self test in CI. These tests are the slowest tests by far, taking over 20 minutes to complete, compared to the 7 minutes it takes the pytest tests to complete. When they fail, they also require the feared "typeshed/mypy" shuffle that only mypy/typeshed maintainers (effectively Jelle) can do.

On the other hand, I can't remember the last time these tests flagged a genuine problem with the stubs. (But I don't have the best memory.) If they fail, it's usually due to a tight coupling between the self test and the way things are typed in typeshed.

As with #4332, the main disadvantage of not running those tests is a higher change of failure of the typeshed sync for mypy failing. But I'd argue that it is easier to resolve at sync time than to do the whole shuffle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    project: policyOrganization of the typeshed project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions