From f788c73282cab62640e1d77922b548b0ea1160ac Mon Sep 17 00:00:00 2001 From: Harinn Date: Mon, 11 May 2026 21:19:29 +0700 Subject: [PATCH] python3Packages.httpie: disable tests broken on Python 3.14 --- pkgs/development/python-modules/httpie/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/httpie/default.nix b/pkgs/development/python-modules/httpie/default.nix index 033106de2c58..ec16f5c4bac6 100644 --- a/pkgs/development/python-modules/httpie/default.nix +++ b/pkgs/development/python-modules/httpie/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, charset-normalizer, defusedxml, @@ -14,6 +13,7 @@ pytest-lazy-fixture, pytest-mock, pytestCheckHook, + pythonAtLeast, requests-toolbelt, requests, responses, @@ -98,6 +98,8 @@ buildPythonPackage rec { "test_naked_invocation" # Test is flaky "test_stdin_read_warning" + # flaky: daemon status check exceeds attempt limit + "test_daemon_runner" # httpbin compatibility issues "test_binary_suppresses_when_terminal" "test_binary_suppresses_when_not_terminal_but_pretty" @@ -107,9 +109,9 @@ buildPythonPackage rec { "test_terminal_output_response_charset_detection" "test_terminal_output_request_charset_detection" ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - # Test is flaky - "test_daemon_runner" + ++ lib.optionals (pythonAtLeast "3.14") [ + # https://github.com/httpie/cli/issues/1641 + "test_lazy_choices_help" ]; meta = {