ITADN

Sphinks build failure in Read the Docs

#688ClosedJosverl 创建于 2025-09-02
bugDocumentation
J
Josverlcommented
This error is logged : ```html <html> <body> <!--StartFragment--> git clone --depth 1 https://github.com/Josverl/micropython-stubber.git . --   | git fetch origin --force --prune --prune-tags --depth 50 refs/heads/main:refs/remotes/origin/main   | git checkout --force origin/main   | cat .readthedocs.yaml   | asdf global python 3.11.12   | python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH   | pip install poetry   | poetry config virtualenvs.create false   | poetry install --with docs   | python -m pip install --upgrade --no-cache-dir pip setuptools   | python -m pip install --upgrade --no-cache-dir sphinx   | python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html   | Running Sphinx v8.2.3   | loading translations [en]... done   |     | Extension error!   |     | Versions   | ========   |     | * Platform: linux; (Linux-6.8.0-1029-aws-x86_64-with-glibc2.31)   | * Python version: 3.11.12 (CPython)   | * Sphinx version: 8.2.3   | * Docutils version: 0.21.2   | * Jinja2 version: 3.1.6   | * Pygments version: 2.19.2   |     | Last Messages   | =============   |     | None.   |     | Loaded Extensions   | =================   |     | None.   |     | Traceback   | =========   |     | Traceback (most recent call last):   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/registry.py", line 541, in load_extension   | mod = import_module(extname)   | ^^^^^^^^^^^^^^^^^^^^^^   | File "/home/docs/.asdf/installs/python/3.11.12/lib/python3.11/importlib/__init__.py", line 126, in import_module   | return _bootstrap._gcd_import(name[level:], package, level)   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import   | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load   | File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked   | ModuleNotFoundError: No module named 'myst_parser'   |     | The above exception was the direct cause of the following exception:   |     | Traceback (most recent call last):   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py", line 414, in build_main   | app = Sphinx(   | ^^^^^^^   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 291, in __init__   | self.setup_extension(extension)   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 489, in setup_extension   | self.registry.load_extension(self, extname)   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/registry.py", line 544, in load_extension   | raise ExtensionError(   | sphinx.errors.ExtensionError: Could not import extension myst_parser (exception: No module named 'myst_parser')   |     |     | The full traceback has been saved in:   | /tmp/sphinx-err-pnuk2ul2.log   |     | To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!   | Please also report this if it was a user error, so that a better error message can be provided next time. <!--EndFragment--> </body> </html><html> <body> <!--StartFragment--> git clone --depth 1 https://github.com/Josverl/micropython-stubber.git . --   | git fetch origin --force --prune --prune-tags --depth 50 refs/heads/main:refs/remotes/origin/main   | git checkout --force origin/main   | cat .readthedocs.yaml   | asdf global python 3.11.12   | python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH   | pip install poetry   | poetry config virtualenvs.create false   | poetry install --with docs   | python -m pip install --upgrade --no-cache-dir pip setuptools   | python -m pip install --upgrade --no-cache-dir sphinx   | python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html   | Running Sphinx v8.2.3   | loading translations [en]... done   |     | Extension error!   |     | Versions   | ========   |     | * Platform: linux; (Linux-6.8.0-1029-aws-x86_64-with-glibc2.31)   | * Python version: 3.11.12 (CPython)   | * Sphinx version: 8.2.3   | * Docutils version: 0.21.2   | * Jinja2 version: 3.1.6   | * Pygments version: 2.19.2   |     | Last Messages   | =============   |     | None.   |     | Loaded Extensions   | =================   |     | None.   |     | Traceback   | =========   |     | Traceback (most recent call last):   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/registry.py", line 541, in load_extension   | mod = import_module(extname)   | ^^^^^^^^^^^^^^^^^^^^^^   | File "/home/docs/.asdf/installs/python/3.11.12/lib/python3.11/importlib/__init__.py", line 126, in import_module   | return _bootstrap._gcd_import(name[level:], package, level)   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import   | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load   | File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked   | ModuleNotFoundError: No module named 'myst_parser'   |     | The above exception was the direct cause of the following exception:   |     | Traceback (most recent call last):   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py", line 414, in build_main   | app = Sphinx(   | ^^^^^^^   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 291, in __init__   | self.setup_extension(extension)   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 489, in setup_extension   | self.registry.load_extension(self, extname)   | File "/home/docs/checkouts/readthedocs.org/user_builds/micropython-stubber/envs/latest/lib/python3.11/site-packages/sphinx/registry.py", line 544, in load_extension   | raise ExtensionError(   | sphinx.errors.ExtensionError: Could not import extension myst_parser (exception: No module named 'myst_parser')   |     |     | The full traceback has been saved in:   | /tmp/sphinx-err-pnuk2ul2.log   |     | To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!   | Please also report this if it was a user error, so that a better error message can be provided next time. <!--EndFragment--> </body> </html> ```
关闭于 2025-09-02 0 条评论