Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78699 - [python-sphinx-pytest] bug caused python-myst-parser to FTBFS
Attached to Project:
Arch Linux
Opened by Levi Zim (kxxt) - Sunday, 04 June 2023, 13:42 GMT
Last edited by Caleb Maclennan (alerque) - Friday, 16 June 2023, 15:18 GMT
Opened by Levi Zim (kxxt) - Sunday, 04 June 2023, 13:42 GMT
Last edited by Caleb Maclennan (alerque) - Friday, 16 June 2023, 15:18 GMT
|
DetailsDescription:
python-myst-parser's check() failed because of a bug in sphinx-pytest: check failure: > self.write_doctree(docname, doctree, _cache=_cache) E TypeError: DoctreeBuilder.write_doctree() got an unexpected keyword argument '_cache' /usr/lib/python3.11/site-packages/sphinx/builders/__init__.py:509: TypeError =========================== short test summary info ============================ FAILED tests/test_renderers/test_myst_refs.py::test_parse[null--False] - Type... FAILED tests/test_renderers/test_myst_refs.py::test_parse[missing-[](ref)-True] FAILED tests/test_renderers/test_myst_refs.py::test_parse[doc-[](index)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[doc_with_extension-[](index.md)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[doc_nested-[*text*](index)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[ref-(ref)=\n# Title\n[](ref)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[ref_nested-(ref)=\n# Title\n[*text*](ref)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[duplicate-(index)=\n# Title\n[](index)-True] FAILED tests/test_renderers/test_myst_refs.py::test_parse[ref_colon-(ref:colon)=\n# Title\n[](ref:colon)-False] === 9 failed, 751 passed, 3 skipped, 311 deselected, 3339 warnings in 1.26s ==== ==> ERROR: A failure occurred in check(). There is a PR that fixes this: https://github.com/sphinx-extensions2/sphinx-pytest/pull/8 Upstream seems inactive. We can fix this from our side by patching python-sphinx-pytest. Patch attached. |
This task depends upon
Comment by Caleb Maclennan (alerque) -
Friday, 16 June 2023, 15:18 GMT
It seems a little premature to say the upstream is inactive. The PR mentioned here has been merged and a new release is out. I would suggest flagging OOD and then if we still have problems with it after that we can report it upstream.
fix.patch