Summary: | dev-python/click-help-colors-0.9.1-r1 fails tests (MUSL-SYSTEM) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Marek Szuba (RETIRED) <marecki> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/click-contrib/click-help-colors/pull/25 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 917832 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2023-05-18 17:34:24 UTC
Created attachment 861913 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern: E AssertionError: assert ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --help Show this message and exit.', '', 'Commands:', ' cmd1', ' cmd2'] == ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --help Show this message and exit.', '', 'Commands:', ' cmd1', ' cmd2'] E AssertionError: assert ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --help Show this message and exit.', '', 'Commands:', ' command'] == ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --help Show this message and exit.', '', 'Commands:', ' command'] E AssertionError: assert ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --help Show this message and exit.', '', 'Commands:', ' command1', ' command2'] == ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --help Show this message and exit.', '', 'Commands:', ' command1', ' command2'] E AssertionError: assert ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --name TEXT The person to greet.', ' --help Show this message and exit.'] == ['Usage: cli [OPTIONS] COMMAND [ARGS]...', '', 'Options:', ' --name TEXT The person to greet.', ' --help Show this message and exit.'] E AssertionError: assert ['Usage: cli command [OPTIONS]', '', 'Options:', ' --name TEXT The person to greet.', ' --help Show this message and exit.'] == ['Usage: cli command [OPTIONS]', '', 'Options:', ' --name TEXT The person to greet.', ' --help Show this message and exit.'] E AssertionError: assert ['Usage: cli command [OPTIONS]', '', 'Options:', ' --name TEXT The person to greet.', ' --help Show this message and exit.'] == ['Usage: cli command [OPTIONS]', '', 'Options:', ' --name TEXT The person to greet.', ' --help Show this message and exit.'] E AssertionError: assert ['Usage: cli command [OPTIONS]', '', 'Options:', ' --shout / --no-shout', ' --help Show this message and exit.'] == ['Usage: cli command [OPTIONS]', '', 'Options:', ' --shout / --no-shout', ' --help Show this message and exit.'] E AssertionError: assert ['Usage: cli command [OPTIONS]', '', 'Options:', ' -n, --name TEXT The person to greet.', ' --help Show this message and exit.'] == ['Usage: cli command [OPTIONS]', '', 'Options:', ' -n, --name TEXT The person to greet.', ' --help Show this message and exit.'] E AssertionError: assert ['example 1.0', ' python=3.7'] == ['example 1.0', ' python=3.7'] E AssertionError: assert ['example, version 1.0'] == ['example, version 1.0'] E AssertionError: assert ['example, version 1.0'] == ['example, version 1.0'] FAILED tests/test_basic.py::test_basic_command - AssertionError: assert ['Usa... FAILED tests/test_basic.py::test_basic_group - AssertionError: assert ['Usage... FAILED tests/test_basic.py::test_unknown_color - assert None FAILED tests/test_custom_colors.py::test_command_custom_colors - AssertionErr... FAILED tests/test_custom_colors.py::test_custom_option_color - AssertionError... FAILED tests/test_custom_colors.py::test_flag_option_color[--no-shout] - Asse... FAILED tests/test_custom_colors.py::test_flag_option_color[--shout] - Asserti... FAILED tests/test_custom_colors.py::test_multi_name_option_color[--name] - As... FAILED tests/test_custom_colors.py::test_multi_name_option_color[-n,] - Asser... FAILED tests/test_custom_colors.py::test_multi_name_option_color[-n] - Assert... FAILED tests/test_custom_colors.py::test_option_color - AssertionError: asser... FAILED tests/test_multi_commands.py::test_multi_command - AssertionError: ass... FAILED tests/test_version_option.py::test_custom_message - AssertionError: as... FAILED tests/test_version_option.py::test_message_color - AssertionError: ass... FAILED tests/test_version_option.py::test_version_and_prog_name_color - Asser... This fails when NO_COLOR=1 is set in env. A NO_COLOR problem. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6095715d85ffde3a9ff983716032aedf0ad2be96 commit 6095715d85ffde3a9ff983716032aedf0ad2be96 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-11-24 18:41:40 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-11-24 18:46:39 +0000 dev-python/click-help-colors: Fix testing with NO_COLOR Closes: https://bugs.gentoo.org/906698 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../click-help-colors/click-help-colors-0.9.4.ebuild | 6 ++++++ .../files/click-help-colors-0.9.4-no-color.patch | 14 ++++++++++++++ 2 files changed, 20 insertions(+) |