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