Skip to content

Adding a flag to skip all LaTeX related tests #13736

@maxschloegel

Description

@maxschloegel

Is your feature request related to a problem? Please describe.
When running the tests for sphinx on a clean install some tests failed due to what seems to be an outdated Tex Live install. The Tex Live requirements don't seem to be listed in the Installing Sphinx section nor the Contributing to Sphinx.

FAILED tests/test_builders/test_build_latex.py::test_build_latex_doc[lualatex-manual-None] - AssertionError: lualatex exited with return code 1
FAILED tests/test_builders/test_build_latex.py::test_build_latex_doc[lualatex-howto-None] - AssertionError: lualatex exited with return code 1

It seems my Tex Live version is too old, tlmgr --version returns:

tlmgr revision 60693 (2021-10-04 04:24:25 +0200)
tlmgr using installation: /usr/share/texlive
TeX Live (https://tug.org/texlive) version 2021

Describe the solution you'd like

One solution would be to add a flag to disable all LaTeX related tests, since they seem to be isolated from the rest and would make the requirements for testing non-LaTeX code more lightweight.

Describe alternatives you've considered

Another way of resolving this issue in the future would be to add a small section in the the documentation about the current requirements of Tex Live.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting:responseWaiting for a response from the author of this issuebuilder:latexsprintFor work completed at a conference or similar event.type:proposala feature suggestiontype:tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions