DiamondLightSource / DiamondLightSource/httomo
Sphinx docs build in CI produces warning due to import error when importing `httomo.cli` module
- Dominant language
- Python
- Stars
- 10
- Forks
- 5
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 1
Description
See [this](https://github.com/DiamondLightSource/httomo/actions/runs/11384129814/job/31671185076?pr=494) 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...
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.