[MacPorts] #68071: py37-coverage: missed dependency

MacPorts noreply at macports.org
Mon Aug 28 10:32:58 UTC 2023


#68071: py37-coverage: missed dependency
--------------------+---------------------------
 Reporter:  catap   |      Owner:  reneeotten
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py37-coverage
--------------------+---------------------------
 I've encountered that at least py37-coverage had missed dependency:
 {{{
 Python 3.7.17 (default, Jun 11 2023, 06:06:55)
 [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import coverage
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/coverage/__init__.py", line 22, in <module>
     from coverage.control import (
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/coverage/control.py", line 27, in <module>
     from coverage.annotate import AnnotateReporter
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/coverage/annotate.py", line 13, in <module>
     from coverage.files import flat_rootname
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/coverage/files.py", line 20, in <module>
     from coverage.misc import human_sorted, isolate_module, join_regex
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/coverage/misc.py", line 30, in <module>
     from coverage.types import TArc
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/coverage/types.py", line 14, in <module>
     from typing import (
 ImportError: cannot import name 'Protocol' from 'typing'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py)
 >>>
 }}}

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


More information about the macports-tickets mailing list