From nobody Thu May 26 22:15:31 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D3A011B5F613 for ; Thu, 26 May 2022 22:15:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8Mh34v0yz3ngR for ; Thu, 26 May 2022 22:15:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 84F651661E for ; Thu, 26 May 2022 22:15:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24QMFVZe018659 for ; Thu, 26 May 2022 22:15:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24QMFVBk018658 for ports-bugs@FreeBSD.org; Thu, 26 May 2022 22:15:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264266] www/mitmproxy: Fails to run: pkg_resources.DistributionNotFound: The 'wsproto<1.1,>=1.0' distribution was not found and is required by mitmproxy Date: Thu, 26 May 2022 22:15:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: salvadore@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653603331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NQwvoNJ2/Xa7+8sDPgIr+/Wa1x39crwW4YYmNQ/ALeA=; b=Tz/7x5ppPJLQ1mEXzew2GRYLQb6ixB74Fr0vuTJHx4HUIQmWaQDp7uWNScE09grVE2wkA+ 10AmXabjPyDlx/G8ZVUnXa06n+Tzm4uz4K1m4g9x/j7U5/XIkCDMoH77NUOZKYxjfzRNTp 4uITO/CqgdILjyLYR225F3eLuag8FX7CgiZ2hLbeS3MKUKp0eTbGx/e8kyClit+jrbPXjE 4LaoUyeQmXz88/3bXTZHoEPdFmUe8AWtPaR/XRVXqU0FiJ0yvFwKs2j0Zqlk6EYg3C5DqE YpFOKTOqSQKehLK+xzo+CaVYT6wLBiZsvk+BCDTSwyrn1p61ysrUOMlnTdMwuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653603331; a=rsa-sha256; cv=none; b=XqI18UJmQOzL7gWorRSjBRj0axwHuDizpjULpytJvyIw+rpUKjuXZVJc7xNamjhUot8qxC Br5Ip/BRFfe7zmFz+7pXXTsDJKowAXOH54gLsIjKG5p63X95l7s4WEcUmRv+UPhYCV3GjT FJJbS3szG9VedomEwjEeN20PiVANVmUdhYZ0W00dfuMexjQT4enkPYAI5tEDpmM9ecrPUK oHiCTY2LfrHglIRwj1MPghfZv+YZm9xw3JVQzb4TKWLNaX/42dAe/zLt3n0VN8SbSCjSKM 1Tqg9eAx12cn/ae6oKefzANhV1V70krymiUyiFo64+3ZeUeUXZtLZrtnIoF5cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264266 Bug ID: 264266 Summary: www/mitmproxy: Fails to run: pkg_resources.DistributionNotFound: The 'wsproto<1.1,>=3D1.0' distribution was not found and is required by mitmproxy Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: bofh@freebsd.org, gaod@hychen.org Flags: maintainer-feedback?(gaod@hychen.org) CC: gaod@hychen.org Flags: maintainer-feedback?(gaod@hychen.org) When I try to run mitmproxy I get the following error message: --- Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 568, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 886, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (wsproto 1.1.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('wsproto<1.1,>=3D1.0'), {'mitmproxy'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/mitmproxy", line 33, in sys.exit(load_entry_point('mitmproxy=3D=3D7.0.4', 'console_scripts', 'mitmproxy')()) File "/usr/local/bin/mitmproxy", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load module =3D import_module(match.group('module')) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 843, in exec_module File "", line 219, in _call_with_frames_remo= ved File "/usr/local/lib/python3.8/site-packages/mitmproxy/tools/main.py", li= ne 8, in from mitmproxy import exceptions, master File "/usr/local/lib/python3.8/site-packages/mitmproxy/master.py", line 1= 0, in from mitmproxy import eventsequence File "/usr/local/lib/python3.8/site-packages/mitmproxy/eventsequence.py", line 8, in from mitmproxy.proxy import layers File "/usr/local/lib/python3.8/site-packages/mitmproxy/proxy/layers/__init__.py", line 1, in from . import modes File "/usr/local/lib/python3.8/site-packages/mitmproxy/proxy/layers/modes.py", l= ine 9, in from mitmproxy.proxy.layers import tls File "/usr/local/lib/python3.8/site-packages/mitmproxy/proxy/layers/tls.p= y", line 8, in from mitmproxy.net import tls as net_tls File "/usr/local/lib/python3.8/site-packages/mitmproxy/net/tls.py", line = 18, in from mitmproxy.contrib.kaitaistruct import tls_client_hello File "/usr/local/lib/python3.8/site-packages/mitmproxy/contrib/kaitaistruct/tls_= client_hello.py", line 7, in from pkg_resources import parse_version File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 3243, in def _initialize_master_working_set(): File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 3226, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 3255, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 570, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 583, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'wsproto<1.1,>=3D1.0' distribution = was not found and is required by mitmproxy --- On my system I have py38-wsproto version 1.1.0 installed. I think the the problem is that wsproto<1.1 is required. --=20 You are receiving this mail because: You are the assignee for the bug.=