Description of problem: sos report does not pull in python3-setuptools, leading to to the output below (in Additional Information). Version-Release number of selected component (if applicable): 4.5.1-3.el9_2 How reproducible: always Steps to Reproduce: 1. Install a system without python3-setuptools 2. `dnf -y install sos` 3. `sos` <-- Failure will occur here 4. `dnf -y install python3-sos` 4. `sos` <-- SOS will now work Actual results: `sos` command fails to run due to missing runtime dependency Expected results: `dnf -y install sos` pulls in python3-setuptools as a requirement Additional info: ``` [root@3e846a53ceae /]# sos report Traceback (most recent call last): File "/usr/sbin/sos", line 21, in <module> sos = SoS(sys.argv[1:]) File "/usr/lib/python3.9/site-packages/sos/__init__.py", line 60, in __init__ import sos.report File "/usr/lib/python3.9/site-packages/sos/report/__init__.py", line 19, in <module> import sos.report.plugins File "/usr/lib/python3.9/site-packages/sos/report/plugins/__init__.py", line 13, in <module> from sos.utilities import (sos_get_command_output, import_module, grep, File "/usr/lib/python3.9/site-packages/sos/utilities.py", line 26, in <module> from pkg_resources import parse_version as version_parse ModuleNotFoundError: No module named 'pkg_resources' [root@3e846a53ceae /]# dnf -y install python3-setuptools ... Installed: python3-setuptools-53.0.0-12.el9.noarch [root@3e846a53ceae /]# sos report sosreport (version 4.5.1) ```
A good catch, https://github.com/sosreport/sos/pull/3241 raised for it.
Hello, this bug is assumed to be fixed in errata https://access.redhat.com/errata/RHBA-2023:3801 so I am closing this BZ as fixed in current release. If you feel otherwise, please reopen the BZ and provide details what is missing.