[MacPorts] #67814: py37-charset-normalizer @3.2.0: ERROR cannot import name 'Protocol' from 'typing'

MacPorts noreply at macports.org
Mon Jul 24 04:19:27 UTC 2023


#67814: py37-charset-normalizer @3.2.0: ERROR cannot import name 'Protocol' from
'typing'
------------------------+-----------------------------------
 Reporter:  ryandesign  |      Owner:  stromnov
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py-charset-normalizer
------------------------+-----------------------------------
 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/28526/steps/install-port/logs/stdio

 {{{
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__main__.py", line 376, in main
     args.srcdir, outdir, distributions, config_settings, not
 args.no_isolation, args.skip_dependency_check
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__main__.py", line 208, in build_package
     out = _build(isolation, builder, outdir, distribution,
 config_settings, skip_dependency_check)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__main__.py", line 147, in _build
     return _build_in_current_env(builder, outdir, distribution,
 config_settings, skip_dependency_check)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__main__.py", line 127, in _build_in_current_env
     missing = builder.check_dependencies(distribution)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__init__.py", line 369, in check_dependencies
     return {u for d in dependencies for u in check_dependency(d)}
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__init__.py", line 369, in <setcomp>
     return {u for d in dependencies for u in check_dependency(d)}
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/build/__init__.py", line 153, in check_dependency
     import importlib_metadata
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/importlib_metadata/__init__.py", line 18, in <module>
     from . import _adapters, _meta, _py39compat
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/importlib_metadata/_meta.py", line 1, in <module>
     from typing import Protocol
 ImportError: cannot import name 'Protocol' from 'typing'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py)

 ERROR 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/67814>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list