Opened 8 years ago

Last modified 8 years ago

#51562 closed update

py-mitmproxy: requires update to @ 0.17.1 — at Version 4

Reported by: lo.knut@… Owned by: petr@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: macports@…
Port: py-mitmproxy

Description (last modified by petrrr)

The current version @ 0.16 is not compatible with lxml version @3.6.

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)

Change History (4)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: petr@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to macports@…
Summary: py27-mitmproxy@0.16 depends on wrong version of py27-lxmlpy27-mitmproxy @0.16: The 'lxml<3.6,>=3.5.0' distribution was not found and is required by mitmproxy

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.

comment:2 Changed 8 years ago by petrrr

Cc: macports@… added; petr@… removed
Owner: changed from macports@… to petr@…

The primary maintainer has not work on the update recently and there is ticket #51825. I will look at this but the update requires some attention with respect do dependencies. Notably, some dependencies need attention others have versions which are conflicting with the requirements.

comment:3 Changed 8 years ago by petrrr

Port: py-mitmproxy added; py27-mitmproxy removed
Type: defectupdate

comment:4 Changed 8 years ago by petrrr

Description: modified (diff)
Summary: py27-mitmproxy @0.16: The 'lxml<3.6,>=3.5.0' distribution was not found and is required by mitmproxypy-mitmproxy: requires update to @ 0.17.1
Note: See TracTickets for help on using tickets.