Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949539 - dev-python/sphinx-8.1.3 fails tests
Summary: dev-python/sphinx-8.1.3 fails tests
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-02-09 18:12 UTC by Jonathan Lovelace
Modified: 2025-02-10 02:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:sphinx-8.1.3:20250209-175917.log.gz (dev-python:sphinx-8.1.3:20250209-175917.log.gz,80.75 KB, text/plain; charset=utf-8)
2025-02-09 18:12 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,13.97 KB, text/plain; charset=utf-8)
2025-02-09 18:13 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2025-02-09 18:12:29 UTC
While setting up a new machine (but to the stage of rebuilding everything to try to iron out what I hope are the last issues), I'm seeing test failures in dev-python/sphinx, both versions 8.0.2 and 8.1.3: tests/test_builders/test_build_html_code.py::test_html_code_role, tests/test_builders/test_build_latex.py::test_latex_code_role, tests/test_directives/test_directive_code.py::test_literal_include_linenos, tests/test_directives/test_directive_code.py::test_linenothreshold, tests/test_extensions/test_ext_viewcode.py::test_viewcode_linenos, tests/test_extensions/test_ext_viewcode.py::test_viewcode, tests/test_intl/test_intl.py::test_additional_targets_should_not_be_translated, tests/test_intl/test_intl.py::test_additional_targets_should_be_translated, and tests/test_util/test_util_i18n.py::test_format_date_timezone (which may be bug #942988 that I reported from the machine this one is replacing). 

In the test_html_code_role test, when I used 'vimdiff' to compare the actual output with what the test code was asserting it contained, I found that the actual HTML output wrapped '<span class="w">' and '</span>' tags around spaces, which the asserted string was not expecting.
Comment 1 Jonathan Lovelace 2025-02-09 18:12:47 UTC
Created attachment 918513 [details]
dev-python:sphinx-8.1.3:20250209-175917.log.gz
Comment 2 Jonathan Lovelace 2025-02-09 18:13:31 UTC
Created attachment 918514 [details]
emerge-info.txt