-
Notifications
You must be signed in to change notification settings - Fork 39
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
1.6.0: sphinx warning WARNING: autodoc: failed to import module 'cftime'
#275
Comments
does "make html" work for you? That's the only thing that is tested right now. |
This has nothing to do witj output format because sphins cannot find location of the input module [tkloczko@devel-g2v cftime-1.6.0rel]$ /usr/bin/sphinx-build -n -T -b html docs build/sphinx/html
Running Sphinx v4.5.0
making output directory... done
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 3 source files that are out of date
updating environment: [new config] 3 added, 0 changed, 0 removed
reading sources... [100%] installing
WARNING: autodoc: failed to import module 'cftime'; the following exception was raised:
No module named 'cftime'
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] installing
generating indices... genindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 1 warning. |
Looks like something went wrong with your install then. Can you import cftime from the python interpreter? |
That part of the log is from rpm package buil log.
So as you see that patch is necessary to have such process sucessfull. |
FYI most of the modules (probably +90%) already have such adaptations in copy.py files. |
I'm trying to build cftime documentation and I see that sphinx shows one warning
I've been trying to solve that by using below patch but even that does not work
The text was updated successfully, but these errors were encountered: