python313Packages.filedepot: add legacy-cgi for Python 3.13 (#372373)

Changed files
+7 -3
pkgs
development
python-modules
filedepot
+7 -3
pkgs/development/python-modules/filedepot/default.nix
···
fetchFromGitHub,
flaky,
google-cloud-storage,
+
legacy-cgi,
mock,
pillow,
pymongo,
pytestCheckHook,
+
pythonAtLeast,
pythonOlder,
requests,
setuptools,
···
hash = "sha256-693H/u+Wg2G9sdoUkC6DQo9WkmIlKnh8NKv3ufK/eyQ=";
};
-
nativeBuildInputs = [ setuptools ];
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [
+
dependencies = [
anyascii
google-cloud-storage
-
];
+
] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
nativeCheckInputs = [
flaky
···
"tests/test_fields_ming.py"
"tests/test_wsgi_middleware.py"
];
+
+
disabledTests = lib.optionals (pythonAtLeast "3.13") [ "test_notexisting" ];
pythonImportsCheck = [ "depot" ];