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 5.2.0: self-triggered warning Pygments lexer name 'pycon3' is not known #10861

Closed
neutrinoceros opened this issue Sep 25, 2022 · 3 comments
Labels

Comments

@neutrinoceros
Copy link

Describe the bug

Sphinx 5.2.0 broke unyt's docs, see yt-project/unyt#274

Warning, treated as error:
/home/runner/work/unyt/unyt/docs/index.rst:17:Pygments lexer name 'pycon3' is not known
ERROR: InvocationError for command /home/runner/work/unyt/unyt/.tox/py38-docs/bin/python -m sphinx -M html . _build -W (exited with code 2)

How to Reproduce

$ git clone https://github.com/yt-project/unyt
$ cd unyt
$ pip install -r requirements.txt
$ cd docs
$ python -m sphinx -M html "." "_build" -W

with requirements.txt:

pytest
sphinx
numpy
sympy
matplotlib!=3.5.0
dask[array,diagnostics]>=2021.04.1

Expected behavior

no error

Your project

https://github.com/yt-project/unyt

Screenshots

No response

OS

seen on Linux and Mac

Python version

reproduced with 3.8 and 3.10

Sphinx version

5.2.0

Sphinx extensions

sphinx.ext.autodoc, sphinx.ext.viewcode, sphinx.ext.doctest, sphinx.ext.napoleon, sphinx.ext.mathjax

Extra tools

No response

Additional context

Getting no error with Sphinx 5.1.1

@AA-Turner
Copy link
Member

Sphinx 5.2.1 has been released with a fix.

A

@AA-Turner
Copy link
Member

Please let me know if 5.2.1 doesn't fix the issue and I'll re-open.

A

@neutrinoceros
Copy link
Author

I confirm that the problem is resolved with the new release. Thank you !

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants