RedHatInsights / bonfire

Orchestrates ephemeral environments for testing cloud.redhat.com applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bonfire needs to declare its dependency on setuptools

awood opened this issue · comments

After upgrading from F38 to F39, I bumped into the following

Traceback (most recent call last):                                                                        
  File "/home/awood/devel/rhsm-subscriptions/.venv/bin/bonfire", line 5, in <module>                      
    from bonfire.bonfire import main_with_handler                                                         
  File "/home/awood/devel/rhsm-subscriptions/.venv/lib/python3.12/site-packages/bonfire/bonfire.py", line 
14, in <module>                                                                                           
    import bonfire.config as conf                                                                         
  File "/home/awood/devel/rhsm-subscriptions/.venv/lib/python3.12/site-packages/bonfire/config.py", line 8
, in <module>                                                                                             
    from pkg_resources import resource_filename                                                           
ModuleNotFoundError: No module named 'pkg_resources'   

I did a pip install -U setuptools which fixed the problem, but I think bonfire needs to declare setuptools as a runtime dependency under 'projectrather that just abuild-system` dependency.

duplicate of #365