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

Add back workaround to avoid confusing mypy.types and types in pyinfo #13176

Merged
merged 1 commit into from Jul 18, 2022

Commits on Jul 18, 2022

  1. Add back workaround to avoid confusing mypy.types and types in pyinfo

    We run mypy/pyinfo.py as a script, and this means that mypy/types.py
    could be picked up instead of the stdlib `types` module, which clearly
    doesn't work. This seems to happen at least on macOS, and it broke
    PEP 561 tests.
    
    The workaround was accidentally removed as part of #13161.
    
    This should fix #13174 and help with the wheel builds.
    JukkaL committed Jul 18, 2022
    Copy the full SHA
    fdbbf87 View commit details
    Browse the repository at this point in the history