[MacPorts] #51562: py27-mitmproxy @0.16: The 'lxml<3.6, >=3.5.0' distribution was not found and is required by mitmproxy (was: py27-mitmproxy at 0.16 depends on wrong version of py27-lxml)

MacPorts noreply at macports.org
Sat Jun 4 19:24:09 PDT 2016


#51562: py27-mitmproxy @0.16: The 'lxml<3.6,>=3.5.0' distribution was not found and
is required by mitmproxy
-----------------------------+------------------------
  Reporter:  lo.knut@…       |      Owner:  macports@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:  py27-mitmproxy  |
-----------------------------+------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => macports@…
 * cc: petr@… (added)


Old description:

> here on a fresh El Capitan install it won't launch because it depends on
> an older version than is installed:
>
> $ mitmproxy-2.7 [[BR]]
>
> ...[[BR]]
>
> pkg_resources.DistributionNotFound: The 'lxml<3.6,>=3.5.0' distribution
> was not found and is required by mitmproxy[[BR]]
>

> $ port installed|grep -i py27-lxml[[BR]]
>
>   py27-lxml @3.6.0_0 (active)

New description:

 here on a fresh El Capitan install it won't launch because it depends on
 an older version than is installed:

 {{{
 $ mitmproxy-2.7
 ...
 pkg_resources.DistributionNotFound: The 'lxml<3.6,>=3.5.0' distribution
 was not found and is required by mitmproxy
 $ port installed|grep -i py27-lxml
   py27-lxml @3.6.0_0 (active)
 }}}

--

Comment:

 MacPorts only has the ability for one port to depend on another port. It
 does not have the ability for one port to depend on a specific version of
 another port.

 Sounds like py-mitmproxy needs to be updated to a version compatible with
 py-lxml 3.6 and later. mitmproxy 0.17.1 is available; maybe we can start
 with updating to that version.

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


More information about the macports-tickets mailing list