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

authored by Fabian Affolter and committed by GitHub 48a14f2e 1eb3bcde

+7 -3
+7 -3
pkgs/development/python-modules/filedepot/default.nix
··· 5 5 fetchFromGitHub, 6 6 flaky, 7 7 google-cloud-storage, 8 + legacy-cgi, 8 9 mock, 9 10 pillow, 10 11 pymongo, 11 12 pytestCheckHook, 13 + pythonAtLeast, 12 14 pythonOlder, 13 15 requests, 14 16 setuptools, ··· 29 31 hash = "sha256-693H/u+Wg2G9sdoUkC6DQo9WkmIlKnh8NKv3ufK/eyQ="; 30 32 }; 31 33 32 - nativeBuildInputs = [ setuptools ]; 34 + build-system = [ setuptools ]; 33 35 34 - propagatedBuildInputs = [ 36 + dependencies = [ 35 37 anyascii 36 38 google-cloud-storage 37 - ]; 39 + ] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ]; 38 40 39 41 nativeCheckInputs = [ 40 42 flaky ··· 55 57 "tests/test_fields_ming.py" 56 58 "tests/test_wsgi_middleware.py" 57 59 ]; 60 + 61 + disabledTests = lib.optionals (pythonAtLeast "3.13") [ "test_notexisting" ]; 58 62 59 63 pythonImportsCheck = [ "depot" ]; 60 64