python313Packages.filedepot: add legacy-cgi for Python 3.13

This commit is contained in:
Fabian Affolter
2025-01-09 14:29:58 +01:00
parent 2b202511c4
commit f57a3cbeb2
@@ -5,10 +5,12 @@
fetchFromGitHub,
flaky,
google-cloud-storage,
legacy-cgi,
mock,
pillow,
pymongo,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
requests,
setuptools,
@@ -34,7 +36,7 @@ buildPythonPackage rec {
dependencies = [
anyascii
google-cloud-storage
];
] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
nativeCheckInputs = [
flaky
@@ -56,6 +58,8 @@ buildPythonPackage rec {
"tests/test_wsgi_middleware.py"
];
disabledTests = lib.optionals (pythonAtLeast "3.13") [ "test_notexisting" ];
pythonImportsCheck = [ "depot" ];
meta = with lib; {