Opened 8 years ago

Closed 8 years ago

#51562 closed update (fixed)

py-mitmproxy: requires update to @ 0.17.1

Reported by: lo.knut@… Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mdeaudelin (Mathieu Deaudelin-Lemay)
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 (11)

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

comment:5 Changed 8 years ago by petrrr

See also ticket #51825, which requests a new port.

comment:6 Changed 8 years ago by petrrr

py-hpack updated in r150110.

comment:7 Changed 8 years ago by petrrr

py-h2 added in r150129.

comment:8 Changed 8 years ago by petrrr

py-openssl updated to @16.0.0 in r150225.

comment:9 Changed 8 years ago by petrrr

py-watchdog updated to @0.8.3 in r150234.

comment:10 Changed 8 years ago by petrrr

Update to @0.17.1 committed in r150245. Some dependencies constraints required patching.

comment:11 Changed 8 years ago by petrrr

Resolution: fixed
Status: newclosed

This ticket should now be fixed.

Unfortunately, the mitmproxy packages uses stringent version constraints and therefore occurrence of version conflicts is quite probable. Please, report again if you find some version incompatibilities in future.

Note: See TracTickets for help on using tickets.