[MacPorts] #67938: py37-astroid @2.15.6: ERROR cannot import name 'Protocol' from 'typing'

MacPorts noreply at macports.org
Thu Aug 10 15:31:13 UTC 2023


#67938: py37-astroid @2.15.6: ERROR cannot import name 'Protocol' from 'typing'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  stromnov
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  py-astroid  |
-------------------------+----------------------

Comment (by stromnov):

 This is an error in the importlib_metadata package, which looks like a
 version mismatch. In py37-importlib_metadata (v.6.7.0):

 `from ._compat import Protocol`

 (`Protocol` is available in built-in `typing` package only since Python
 3.8).

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


More information about the macports-tickets mailing list