Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949535 - dev-python/rich-13.9.4 fails tests
Summary: dev-python/rich-13.9.4 fails tests
Status: RESOLVED FIXED
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 17:50 UTC by Jonathan Lovelace
Modified: 2025-02-16 16:02 UTC (History)
1 user (show)

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


Attachments
dev-python:rich-13.9.4:20250209-173807.log (dev-python:rich-13.9.4:20250209-173807.log,128.39 KB, text/plain; charset=utf-8)
2025-02-09 17:50 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,10.32 KB, text/plain; charset=utf-8)
2025-02-09 17:52 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 17:50:27 UTC
Created attachment 918503 [details]
dev-python:rich-13.9.4:20250209-173807.log

While rebuilding as part of an 'emerge -e @world' while setting up a new machine, =dev-python/rich-13.9.4 failed its test phase, specifically the following tests:  tests/test_markdown.py::test_inline_code, tests/test_syntax.py::test_blank_lines, and tests/test_syntax.py::test_python_render_simple_indent_guides.

In test_markdown.py::test_inline_code, I used the diff-highlighting feature of 'vimdiff' to compare the 'expected' and 'actual' output, and found that in three places, starting at column 71, the 'expected' output has a '0' and the 'actual' has '187'. I know very little about Python or terminal color sequences, but I hope that will be a useful hint to someone who knows more.
Comment 1 Jonathan Lovelace 2025-02-09 17:52:04 UTC
Created attachment 918504 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2025-02-16 16:02:23 UTC
The bug has been closed via the following commit(s):

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

commit 2c155e929f784cb331a3c322d68162199d99240e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-02-16 15:50:43 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-02-16 16:02:18 +0000

    dev-python/rich: Update test deselects
    
    Closes: https://bugs.gentoo.org/949535
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/rich/rich-13.9.4.ebuild | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)