From e43be26ee83d081c2440820095a7a7b72e207783 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 20 Jul 2024 23:07:45 -0400 Subject: [PATCH] python3Packages.debugpy: disable tests for unmaintained pythons --- pkgs/development/python-modules/debugpy/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index 92f42bd90d64..13e26f7d452a 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -3,6 +3,7 @@ stdenv, buildPythonPackage, pythonOlder, + pythonAtLeast, fetchFromGitHub, substituteAll, gdb, @@ -92,6 +93,9 @@ buildPythonPackage rec { } )''; + # Disable tests for unmaintained versions of python + doCheck = pythonAtLeast "3.11"; + nativeCheckInputs = [ ## Used to run the tests: pytestCheckHook