[MacPorts] #71000: buildbot @3.10.1_0: Needs importlib_resources (10.4)

MacPorts noreply at macports.org
Tue Oct 1 01:28:44 UTC 2024


#71000: buildbot @3.10.1_0: Needs importlib_resources (10.4)
--------------------------+----------------------
 Reporter:  berg-michael  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  buildbot
--------------------------+----------------------
 {{{
 $ buildbot create-master /opt/mp-buildbot/master
 mkdir /opt/mp-buildbot/master
 creating /opt/mp-buildbot/master/master.cfg.sample
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/buildbot/plugins/db.py", line 228, in _load_entry
     result = entry.load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/metadata/__init__.py",
 line 171, in load
     module = import_module(match.group('module'))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py",
 line 126, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
   File "<frozen importlib._bootstrap>", line 1006, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
   File "<frozen importlib._bootstrap>", line 241, in
 _call_with_frames_removed
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/buildbot_console_view/__init__.py", line 16, in <module>
     from buildbot.www.plugin import Application
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/buildbot/www/plugin.py", line 17, in <module>
     import importlib_resources
 ModuleNotFoundError: No module named 'importlib_resources'
 }}}


 Resolved by `sudo port install py310-importlib-resources`

-- 
Ticket URL: <https://trac.macports.org/ticket/71000>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list