Skip to content

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

@yousefmoazzam

Description

@yousefmoazzam

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    cidocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions