From 5907b939fb25847873f2530eee15124ae45c692b Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Mon, 13 Mar 2023 17:45:13 -0400 Subject: [PATCH] python311Packages.debugpy: disable 3.11 build until supported --- pkgs/development/python-modules/debugpy/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index 236a4982f67e..69097a585be6 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -2,6 +2,7 @@ , stdenv , buildPythonPackage , pythonOlder +, pythonAtLeast , fetchFromGitHub , fetchpatch , substituteAll @@ -22,7 +23,9 @@ buildPythonPackage rec { version = "1.6.6"; format = "setuptools"; - disabled = pythonOlder "3.7"; + # Currently doesn't support 3.11: + # https://github.com/microsoft/debugpy/issues/1107 + disabled = pythonOlder "3.7" || pythonAtLeast "3.11"; src = fetchFromGitHub { owner = "microsoft";