Summary: | dev-python/bandit-1.7.5 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Matthew Thode ( prometheanfire ) <prometheanfire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 857103 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern: ' FAILED (failures=16, errors=22) FAIL: test_example_imports (tests.functional.test_runtime.RuntimeTests) FAIL: test_example_nonexistent (tests.functional.test_runtime.RuntimeTests) FAIL: test_example_nonsense2 (tests.functional.test_runtime.RuntimeTests) FAIL: test_example_nonsense (tests.functional.test_runtime.RuntimeTests) FAIL: test_example_okay (tests.functional.test_runtime.RuntimeTests) FAIL: test_existing_and_new_candidates (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_help_arg (tests.functional.test_runtime.RuntimeTests) FAIL: test_new_candidates_include_nosec_new_nosecs (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_new_candidates_include_nosec_only_nosecs (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_no_arguments (tests.functional.test_runtime.RuntimeTests) FAIL: test_no_existing_no_new_candidates (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_no_existing_with_new_candidates (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_no_new_candidates_include_nosec (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_no_new_candidates (tests.functional.test_baseline.BaselineFunctionalTests) FAIL: test_nonexistent_config (tests.functional.test_runtime.RuntimeTests) FAIL: test_piped_input (tests.functional.test_runtime.RuntimeTests) File "/var/tmp/portage/dev-python/bandit-1.7.5/work/bandit-1.7.5-python3_9/install/usr/bin/bandit", line 5, in <module> File "/var/tmp/portage/dev-python/bandit-1.7.5/work/bandit-1.7.5-python3_9/install/usr/lib/python3.9/site-packages/bandit/core/__init__.py", line 7, in <module> File "/var/tmp/portage/dev-python/bandit-1.7.5/work/bandit-1.7.5-python3_9/install/usr/lib/python3.9/site-packages/bandit/core/manager.py", line 16, in <module> File "/var/tmp/portage/dev-python/bandit-1.7.5/work/bandit-1.7.5-python3_9/install/usr/lib/python3.9/site-packages/bandit/__init__.py", line 7, in <module> from bandit.cli.main import main from bandit.core import config # noqa from bandit.core import manager # noqa from rich import progress ImportError: Failed to import test module: bandit ImportError: Failed to import test module: tests.functional.test_functional ImportError: Failed to import test module: tests.unit.cli.test_baseline ImportError: Failed to import test module: tests.unit.cli.test_config_generator ImportError: Failed to import test module: tests.unit.cli.test_main ImportError: Failed to import test module: tests.unit.core.test_blacklisting ImportError: Failed to import test module: tests.unit.core.test_config ImportError: Failed to import test module: tests.unit.core.test_context ImportError: Failed to import test module: tests.unit.core.test_docs_util ImportError: Failed to import test module: tests.unit.core.test_issue ImportError: Failed to import test module: tests.unit.core.test_manager ImportError: Failed to import test module: tests.unit.core.test_meta_ast ImportError: Failed to import test module: tests.unit.core.test_test_set ImportError: Failed to import test module: tests.unit.core.test_util ImportError: Failed to import test module: tests.unit.formatters.test_csv ImportError: Failed to import test module: tests.unit.formatters.test_custom ImportError: Failed to import test module: tests.unit.formatters.test_html ImportError: Failed to import test module: tests.unit.formatters.test_json ImportError: Failed to import test module: tests.unit.formatters.test_screen ImportError: Failed to import test module: tests.unit.formatters.test_text ImportError: Failed to import test module: tests.unit.formatters.test_xml ImportError: Failed to import test module: tests.unit.formatters.test_yaml ModuleNotFoundError: No module named 'rich' ModuleNotFoundError: No module named \'rich\' testtools.matchers._impl.MismatchError: 0 != 1 testtools.matchers._impl.MismatchError: 2 != 1 testtools.matchers._impl.MismatchError: 'Total lines of code: 12' not in '' testtools.matchers._impl.MismatchError: 'Total lines of code: 4' not in 'Traceback (most recent call last): The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fd1917921706384deac269bfb5b452795b7ad0 commit b9fd1917921706384deac269bfb5b452795b7ad0 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-10 09:00:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-10 09:00:36 +0000 dev-python/bandit: add dev-python/rich dep Closes: https://bugs.gentoo.org/900659 Signed-off-by: Sam James <sam@gentoo.org> dev-python/bandit/{bandit-1.7.5.ebuild => bandit-1.7.5-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) |