aiidateam / aiida-pseudo

MIT License
5 stars 8 forks source link

Docs: Add `sphinx-click` dependency #91

Closed mbercx closed 3 years ago

mbercx commented 3 years ago

Forgot to add this one, my bad! 😅

sphuber commented 3 years ago

I noticed when I tried to build this. Let's hold of with this PR because I think we might need to add some more to the conf.py. I think the following may be necessary:

html_context = {
    'github_user': 'aiidateam',
    'github_repo': 'aiida-pseudo',
    'github_version': 'master',
    'doc_path': 'docs/source',
}

EDIT: seems that builds are finding the source just fine, so this can be ignored

mbercx commented 3 years ago

It's also failing because of reentry scan:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/envs/91/lib/python3.8/site-packages/sphinx_click/ext.py", line 390, in _load_module
    mod = __import__(module_name, globals(), locals(), [attr_name])
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/checkouts/91/aiida_pseudo/cli/__init__.py", line 9, in <module>
    from .root import cmd_root
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/checkouts/91/aiida_pseudo/cli/root.py", line 5, in <module>
    from aiida.cmdline.params import options, types
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/envs/91/lib/python3.8/site-packages/aiida/cmdline/__init__.py", line 13, in <module>
    from .params.arguments import *
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/envs/91/lib/python3.8/site-packages/aiida/cmdline/params/arguments/__init__.py", line 45, in <module>
    GROUP = OverridableArgument('group', type=types.GroupParamType())
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/envs/91/lib/python3.8/site-packages/aiida/cmdline/params/types/group.py", line 46, in __init__
    super().__init__(sub_classes=sub_classes)
  File "/home/docs/checkouts/readthedocs.org/user_builds/aiida-pseudo/envs/91/lib/python3.8/site-packages/aiida/cmdline/params/types/identifier.py", line 62, in __init__
    raise ValueError(f'{entry_point_string} is not a valid entry point string: {exception}')
ValueError: aiida.groups:core is not a valid entry point string: Entry point 'core' not found in group 'aiida.groups'. Try running `reentry scan` to update the entry point cache.
looking for now-outdated files... none found