From 407bf75ac5b8637a31f43c91eb5d47713f447c37 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Nov 2024 14:00:48 +0100 Subject: [PATCH] python313Packages.coreapi: disable Consumer of the retired cgi module. The upstream project is also archived. --- pkgs/development/python-modules/coreapi/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/coreapi/default.nix b/pkgs/development/python-modules/coreapi/default.nix index d620f6fb4e22..f70b8a73a65e 100644 --- a/pkgs/development/python-modules/coreapi/default.nix +++ b/pkgs/development/python-modules/coreapi/default.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, buildPythonPackage, + pythonAtLeast, django, coreschema, itypes, @@ -15,6 +16,9 @@ buildPythonPackage rec { version = "2.3.3"; format = "setuptools"; + # cgi module was removed in 3.13, upstream repo archived since 2019 + disabled = pythonAtLeast "3.13"; + src = fetchFromGitHub { repo = "python-client"; owner = "core-api";