Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77954 - [bandit] missing new dependency python-rich

Attached to Project: Community Packages
Opened by Jake Dane (jakedane) - Wednesday, 22 March 2023, 17:18 GMT
Last edited by Toolybird (Toolybird) - Friday, 24 March 2023, 20:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-rich is missing from the dependencies in the bandit package

rich is a new dependency for bandit 1.7.5, see #863 in https://github.com/PyCQA/bandit/releases/tag/1.7.5

Additional info:
* package version: 1.7.5-1

Steps to reproduce:
Run `bandit somefile.py`, it throws this exception:

```
Traceback (most recent call last):
File "/usr/bin/bandit", line 6, in <module>
from bandit.cli.main import main
File "/usr/lib/python3.10/site-packages/bandit/__init__.py", line 7, in <module>
from bandit.core import config # noqa
File "/usr/lib/python3.10/site-packages/bandit/core/__init__.py", line 7, in <module>
from bandit.core import manager # noqa
File "/usr/lib/python3.10/site-packages/bandit/core/manager.py", line 16, in <module>
from rich import progress
ModuleNotFoundError: No module named 'rich'
```

Installing python-rich makes it work again.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 24 March 2023, 20:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  bandit 1.7.5-2

Loading...