From ad7df04dfe31257341a78f8e24330db98f4c05bb Mon Sep 17 00:00:00 2001 From: Harinn Date: Mon, 11 May 2026 22:05:42 +0700 Subject: [PATCH] python3Packages.httpie: skip pie.dev network tests on darwin --- pkgs/development/python-modules/httpie/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/httpie/default.nix b/pkgs/development/python-modules/httpie/default.nix index ec16f5c4bac6..71f38d59f825 100644 --- a/pkgs/development/python-modules/httpie/default.nix +++ b/pkgs/development/python-modules/httpie/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, charset-normalizer, defusedxml, @@ -112,6 +113,13 @@ buildPythonPackage rec { ++ lib.optionals (pythonAtLeast "3.14") [ # https://github.com/httpie/cli/issues/1641 "test_lazy_choices_help" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # requires network: hit pie.dev (sandbox blocks external) + "remote_httpbin" + "chunked" + "test_saved_session_cookies_on_different_domain" + "test_saved_session_cookie_pool" ]; meta = {