From f8be843940354ca5d15bc1ec24d2d6b66d6ab04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 7 Jan 2026 04:19:19 -0800 Subject: [PATCH] python3Packages.coreapi: fix build on Python 3.13 --- pkgs/development/python-modules/coreapi/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/coreapi/default.nix b/pkgs/development/python-modules/coreapi/default.nix index 6a0dd2026df4..fb4647409ac8 100644 --- a/pkgs/development/python-modules/coreapi/default.nix +++ b/pkgs/development/python-modules/coreapi/default.nix @@ -2,12 +2,12 @@ lib, fetchFromGitHub, buildPythonPackage, - pythonAtLeast, django, coreschema, itypes, uritemplate, requests, + standard-cgi, pytest, }: @@ -16,9 +16,6 @@ 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"; @@ -32,6 +29,7 @@ buildPythonPackage rec { itypes uritemplate requests + standard-cgi ]; nativeCheckInputs = [ pytest ];