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
Installing the typing
backport causes autodoc errors with python 2.7.11
#2470
Comments
Never mind, that doesn't seem to fix the problem. |
In my short investigation: It seems the
|
Fixed at 20b3da5. Thank you for reporting! |
Today I tried installing the (apparently new?) backport of the
typing
module from PyPI (I'm using Python 2.7.11). Immediately after installing the module, but before ever referencing it in my code, my documentation builds started spitting out this warning for every single function:The HTML documentation does get built, but all the arguments are missing from all functions. The problem goes away if you run
pip uninstall typing
Steps to reproduce:
Using python 2.7:
pip install typing
Then run
make html
for any project. It should produce many errors like the ones shown above, and the produced documentation should be missing all function arguments.If I had to guess, by installing the
typing
module, I somehow tricked autodoc into thinking that I'm using 3.5?Workaround
pip uninstall typing
The text was updated successfully, but these errors were encountered: