Bug 2136143 - bandit does not include a dependency on python3-pbr
Summary: bandit does not include a dependency on python3-pbr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bandit
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-19 12:29 UTC by David Shea
Modified: 2022-11-10 22:22 UTC (History)
2 users (show)

Fixed In Version: bandit-1.7.4-4.fc38 bandit-1.7.4-4.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-22 21:45:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Shea 2022-10-19 12:29:02 UTC
Description of problem:

On Fedora 37, bandit when installed with the `pbr` module will not run.

Traceback (most recent call last):
  File "/usr/bin/bandit", line 5, in <module>
    from bandit.cli.main import main
  File "/usr/lib/python3.11/site-packages/bandit/__init__.py", line 5, in <module>
    import pbr.version
ModuleNotFoundError: No module named 'pbr'


pbr used to be pulled in as a requirement by the python3-stevedore package, but that is no longer the case.

Version-Release number of selected component (if applicable):
bandit-1.7.4-3.fc37.noarch

How reproducible:
Always

Steps to Reproduce:
1. dnf install bandit
2. /usr/bin/bandit

Actual results:


Expected results:


Additional info:

Comment 1 Mikel Olasagasti Uranga 2022-10-22 10:26:48 UTC
Confirmed 

podman run -it fedora:37 bash

# dnf install bandit -y
# bandit
Traceback (most recent call last):
  File "/usr/bin/bandit", line 5, in <module>
    from bandit.cli.main import main
  File "/usr/lib/python3.11/site-packages/bandit/__init__.py", line 5, in <module>
    import pbr.version
ModuleNotFoundError: No module named 'pbr'

Works fine in F36

Comment 2 Fedora Update System 2022-10-22 21:45:18 UTC
FEDORA-2022-ca03898f00 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ca03898f00

Comment 3 Fedora Update System 2022-10-22 21:45:48 UTC
FEDORA-2022-ca03898f00 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2022-10-22 22:19:51 UTC
FEDORA-2022-7b7df81112 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7b7df81112

Comment 5 Fedora Update System 2022-10-23 07:35:47 UTC
FEDORA-2022-7b7df81112 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-7b7df81112`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7b7df81112

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-11-10 22:22:41 UTC
FEDORA-2022-7b7df81112 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.