From de49cc040b6e39b6d85abc7b98335dd487df6a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 25 Nov 2025 17:39:50 +0100 Subject: [PATCH] python313Packages.mitmproxy: 12.2.0 -> 12.2.1 --- .../python-modules/mitmproxy/default.nix | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/mitmproxy/default.nix b/pkgs/development/python-modules/mitmproxy/default.nix index 78cc884abc32..31fc2db49508 100644 --- a/pkgs/development/python-modules/mitmproxy/default.nix +++ b/pkgs/development/python-modules/mitmproxy/default.nix @@ -39,29 +39,23 @@ buildPythonPackage rec { pname = "mitmproxy"; - version = "12.2.0"; + version = "12.2.1"; pyproject = true; src = fetchFromGitHub { owner = "mitmproxy"; repo = "mitmproxy"; tag = "v${version}"; - hash = "sha256-2ldebsgR0xZV4WiCLV7DBUKXZo3oE+M6cmvRbSeCSLQ="; + hash = "sha256-z3JJOql4JacXSeo6dRbKOaL+kLlSnpKQkeXzZdzLQJo="; }; pythonRelaxDeps = [ - "bcrypt" - "brotli" - "cryptography" - "flask" - "h2" - "kaitaistruct" - "pyopenssl" - "pyperclip" - "tornado" - "typing-extensions" - "urwid" "zstandard" + + # requested by maintainer + "brotli" + # just keep those + "typing-extensions" ]; build-system = [ setuptools ]; @@ -131,6 +125,9 @@ buildPythonPackage rec { "test_errorcheck" "test_dns" "test_order" + # fails in pytest asyncio internals + "test_decorator" + "test_exception_handler" ]; disabledTestPaths = [