Skip to content

mypy ReadTheDocs build is failing #11412

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

Closed
hauntsaninja opened this issue Oct 30, 2021 · 3 comments · Fixed by #11419 or #11429
Closed

mypy ReadTheDocs build is failing #11412

hauntsaninja opened this issue Oct 30, 2021 · 3 comments · Fixed by #11419 or #11429
Labels
bug mypy got something wrong

Comments

@hauntsaninja
Copy link
Collaborator

See https://readthedocs.org/projects/mypy/builds/

It looks like this is related to sphinx-doc/sphinx#9777 , in which case the quickest resolution is probably just pinning some package versions.

However, it looks like the ReadTheDocs build its own instructions that are unrelated to tox -e docs / the versions specified in the mypy repo. I'm not really familiar with RTD — where are its build steps coming from and who has permission to change it?

@hauntsaninja hauntsaninja added the bug mypy got something wrong label Oct 30, 2021
@astrojuanlu
Copy link
Contributor

MyPy could add a .readthedocs.yaml file to tell Read the Docs to use https://github.com/python/mypy/blob/master/docs/requirements-docs.txt, see readthedocs/readthedocs.org#8616 (comment)

@sobolevn sobolevn mentioned this issue Oct 31, 2021
@hauntsaninja
Copy link
Collaborator Author

Thanks astrojuanlu and sobolevn!!!

hauntsaninja pushed a commit that referenced this issue Oct 31, 2021
@hauntsaninja
Copy link
Collaborator Author

hooray Hooray!

hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this issue Nov 1, 2021
This was added in python#11419 to fix python#11412

However, the presence of this file also configured mypyc's RTD. See python#901

I recently acquired access to mypy's RTD, so I think I can fix without
this configuration file.
hauntsaninja added a commit that referenced this issue Nov 1, 2021
This was added in #11419 to fix #11412

However, the presence of this file also configured mypyc's RTD. See #901

I recently acquired access to mypy's RTD, so I think I can fix without
this configuration file.

Co-authored-by: hauntsaninja <>
hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this issue Nov 16, 2021
ilevkivskyi pushed a commit that referenced this issue Nov 17, 2021
Some context in #11412 / change as mentioned in #11158 (comment)

Co-authored-by: hauntsaninja <>
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this issue Jan 20, 2022
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this issue Jan 20, 2022
This was added in python#11419 to fix python#11412

However, the presence of this file also configured mypyc's RTD. See python#901

I recently acquired access to mypy's RTD, so I think I can fix without
this configuration file.

Co-authored-by: hauntsaninja <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants