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

Sphinx docs build in CI produces warning due to import error when importing httomo.cli module #495

Open
yousefmoazzam opened this issue Oct 17, 2024 · 0 comments
Labels
ci documentation Improvements or additions to documentation

Comments

@yousefmoazzam
Copy link
Collaborator

See this CI job (in the `Build docs" section) for the warning, the main point of interest is the following:

/home/runner/work/httomo/httomo/docs/source/developers/api.rst:4: WARNING: autosummary: failed to import httomo.cli.
Possible hints:
* AttributeError: module 'httomo' has no attribute 'cli'
* ImportError: cannot import name '__version__' from 'httomo' (/home/runner/work/httomo/httomo/httomo/__init__.py)
* ImportError: 

As mentioned in #494, this isn't seen when building the docs locally, only when building the docs in CI, so this may be trickier to understand the cause...

@yousefmoazzam yousefmoazzam added documentation Improvements or additions to documentation ci labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant