Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906695 - dev-python/ansible-pygments-0.1.1-r1: tests/lexer_test.py failure against newer dev-python/pygments
Summary: dev-python/ansible-pygments-0.1.1-r1: tests/lexer_test.py failure against new...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL: https://github.com/ansible-community/...
Whiteboard:
Keywords:
Depends on:
Blocks: 917849
  Show dependency tree
 
Reported: 2023-05-18 17:34 UTC by Agostino Sarubbo
Modified: 2023-12-05 12:16 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,76.49 KB, text/plain)
2023-05-18 17:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-18 17:34:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/ansible-pygments-0.1.1-r1 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-18 17:34:15 UTC
Created attachment 861910 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-18 17:34:16 UTC
Error(s) that match a know pattern:


FAILED tests/lexer_test.py::test_ansible_output_lexer - assert '<div class="h...
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-10-31 08:52:28 UTC
It's not musl.
Comment 4 Marek Szuba (RETIRED) archtester gentoo-dev 2023-12-05 11:14:05 UTC
Having finally managed to make sense of the relevant wall of text, it seems that  lexer_test.py incorrectly identifies the version of installed dev-python/pygments. I shall try once again to reproduce this error on my end, then report the issue upstream.
Comment 5 Larry the Git Cow gentoo-dev 2023-12-05 12:16:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1841f909c97a2fc9f3e34d990ca192da2eb78af

commit d1841f909c97a2fc9f3e34d990ca192da2eb78af
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-12-05 12:06:12 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-12-05 12:15:53 +0000

    dev-python/ansible-pygments: patch tests to be less dependent on the version of Pygments
    
    Closes: https://bugs.gentoo.org/906695
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../ansible-pygments-0.1.1-r1.ebuild               |   7 +-
 ...ents-0.1.1-make_lexer_test_compare_tokens.patch | 324 +++++++++++++++++++++
 ...ansible-pygments-0.1.1-tests_pygments2_14.patch |  75 -----
 3 files changed, 327 insertions(+), 79 deletions(-)