Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove six as a test dependency #15589

Merged
merged 1 commit into from Jul 4, 2023
Merged

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
18 checks passed
@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.

None yet

2 participants