Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909027 - dev-python/scikit-build-core-0.4.6 fails tests
Summary: dev-python/scikit-build-core-0.4.6 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-23 09:20 UTC by Agostino Sarubbo
Modified: 2023-06-23 09:38 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,64.75 KB, text/plain)
2023-06-23 09:20 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-06-23 09:20:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/scikit-build-core-0.4.6 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-23 09:20:34 UTC
Created attachment 864441 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-23 09:20:35 UTC
Error(s) that match a know pattern:


E       AssertionError: assert 'hello world' == 'hello world'
FAILED tests/test_logging.py::test_rich_print_forcecolor - AssertionError: as...
SKIPPED [1] tests/test_fortran.py:17: could not import 'numpy': No module named 'numpy'
SKIPPED [1] tests/test_program_search.py:17: could not import 'cmake': No module named 'cmake'
SKIPPED [1] tests/test_program_search.py:26: could not import 'ninja': No module named 'ninja'
tests/test_program_search.py::test_get_cmake_programs_cmake_module SKIPPED (could not import 'cmake': No module named 'cmake') [ 58/120]
tests/test_program_search.py::test_get_ninja_programs_cmake_module SKIPPED (could not import 'ninja': No module named 'ninja') [ 59/120]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-23 09:21:00 UTC
Sigh, colours...


capsys = <_pytest.capture.CaptureFixture object at 0x7f81ac0a5480>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f81ac0a6020>

    def test_rich_print_forcecolor(capsys, monkeypatch):
        monkeypatch.setenv("FORCE_COLOR", "1")
        rich_print("[red bold]hello[/bold] world", end="")
>       assert capsys.readouterr().out == "\33[91m\33[1mhello\33[22m world\33[0m"
E       AssertionError: assert 'hello world' == '\x1b[91m\x1b[1mhello\x1b[22m world\x1b[0m'
E         - hello world
E         + hello world

capsys     = <_pytest.capture.CaptureFixture object at 0x7f81ac0a5480>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f81ac0a6020>