From 1823fb004296b7b664368c7cfab8719b1a7523b1 Mon Sep 17 00:00:00 2001 From: Harinn Date: Tue, 19 May 2026 14:39:56 +0700 Subject: [PATCH] python3Packages.censys: disable test_*_help on python 3.14+ --- pkgs/development/python-modules/censys/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/censys/default.nix b/pkgs/development/python-modules/censys/default.nix index 558da207c50d..536576c1141c 100644 --- a/pkgs/development/python-modules/censys/default.nix +++ b/pkgs/development/python-modules/censys/default.nix @@ -10,6 +10,7 @@ pytest-mock, pytest-cov-stub, pytestCheckHook, + pythonAtLeast, requests, requests-mock, responses, @@ -54,6 +55,13 @@ buildPythonPackage rec { mkdir -p $HOME ''; + disabledTests = lib.optionals (pythonAtLeast "3.14") [ + # argparse usage prefix uses the actual prog (python3.14 -m pytest) instead of sys.argv[0] + "test_default_help" + "test_help" + "test_search_help" + ]; + pythonImportsCheck = [ "censys" ]; meta = {