Skip to content

Conversation

@AlexWaygood
Copy link
Member

Only one test fails if we remove six as a test dependency. The test was added in #8119, and isn't really testing anything to do with six specifically -- it's just a general test for mypyc's handling of metaclasses -- so I think it's fine to change the test so that it just doesn't import six anymore. We will still have plenty of other tests that check that mypy's special handling of six works correctly.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2023

Diff from mypy_primer, showing the effect of this PR on open source code:

vision (https://github.com/pytorch/vision): typechecking got 1.44x faster (40.0s -> 27.9s)
(Performance measurements are based on a single noisy sample)

@hauntsaninja hauntsaninja merged commit a9f8df7 into python:master Jul 4, 2023
@AlexWaygood AlexWaygood deleted the ditch-six branch July 4, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants