[MacPorts] #63487: py39-mitmproxy and py38-mitmproxy won't run after install

MacPorts noreply at macports.org
Tue Sep 14 12:26:18 UTC 2021


#63487: py39-mitmproxy and py38-mitmproxy won't run after install
--------------------------+--------------------
 Reporter:  CodingMarkus  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:                |       Port:
--------------------------+--------------------
 `py39-mitmproxy` and `py38-mitmproxy` both don't run after installation
 because they both depend on `pyOpenSSL >= 20.0` but the version that
 MacPorts installs is `pyOpenSSL 19.1.0`.

 I can equally reproduce that on a M1 and on a Intel Mac.

 {{{
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pkg_resources/__init__.py", line 568, in _build_master
     ws.require(__requires__)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pkg_resources/__init__.py", line 886, in require
     needed = self.resolve(parse_requirements(requirements))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/pkg_resources/__init__.py", line 777, in resolve
     raise VersionConflict(dist, req).with_context(dependent_req)
 pkg_resources.ContextualVersionConflict: (pyOpenSSL 19.1.0
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages), Requirement.parse('pyOpenSSL>=20.0'), {'mitmproxy'})
 }}}

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


More information about the macports-tickets mailing list