python3Packages.coreapi: fix build on Python 3.13

This commit is contained in:
Robert Schütz
2026-01-07 04:19:19 -08:00
parent a8b47f91f9
commit f8be843940
@@ -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 ];