[MacPorts] #68652: termdown: Missing py310-pip dependency

MacPorts noreply at macports.org
Wed Nov 8 09:42:16 UTC 2023


#68652: termdown: Missing py310-pip dependency
-----------------------+----------------------
  Reporter:  gpolitis  |      Owner:  harens
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  termdown  |
-----------------------+----------------------

Comment (by gpolitis):

 You are correct! :

 {{{
 gpolitis at laptop ~ % sudo port deactivate py310-setuptools
 Password:
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: py310-pip @23.2.1_0
 Continue? [y/N]: y
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating py310-setuptools @68.2.2_0
 --->  Cleaning py310-setuptools
 gpolitis at laptop ~ % termdown -s 1m
 Traceback (most recent call last):
   File "/opt/local/bin/termdown", line 33, in <module>
     sys.exit(load_entry_point('termdown==1.18.0', 'console_scripts',
 'termdown')())
   File "/opt/local/bin/termdown", line 25, in importlib_load_entry_point
     return next(matches).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/termdown.py", line 21, in <module>
     from pyfiglet import CharNotPrinted, Figlet
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/pyfiglet/__init__.py", line 11, in <module>
     import pkg_resources
 ModuleNotFoundError: No module named 'pkg_resources'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68652#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list