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

Doc build failing #366

Closed
soxofaan opened this issue Jan 19, 2023 · 4 comments
Closed

Doc build failing #366

soxofaan opened this issue Jan 19, 2023 · 4 comments

Comments

@soxofaan
Copy link
Member

Since ae24926 the docs fail to build, with

Run python -m sphinx -b html docs build
  python -m sphinx -b html docs build
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.15/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.15/x64/lib
Running Sphinx v5.3.0
WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English).
myst v0.18.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, words_per_minute=200, sub_delimiters=('{', '}'), linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area')
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 23 source files that are out of date
updating environment: [new config] 23 added, 0 changed, 0 removed
reading sources... [  4%] api

Extension error (sphinx_autodoc_typehints):
Handler <function process_docstring at 0x7f908c7e0430> for event 'autodoc-process-docstring' threw an exception (exception: )
Error: Process completed with exit code 2.

Unfortunately no clear exception or stack trace to figure out what is going wrong

@soxofaan
Copy link
Member Author

I also can not reproduce locally so far

soxofaan added a commit that referenced this issue Jan 19, 2023
@soxofaan
Copy link
Member Author

I can reproduce now locally when upgrading to latest sphinx-autodoc-typehints, which is version 1.21.4

downgrading to 1.21.3 does not have this issue

@soxofaan
Copy link
Member Author

This seems to be the issue (or at least related): tox-dev/sphinx-autodoc-typehints#302

@soxofaan
Copy link
Member Author

build works again

closing for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant