Skip to content

Commit

Permalink
python313Packages.filedepot: add legacy-cgi for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jan 9, 2025
1 parent 2b20251 commit f57a3cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/python-modules/filedepot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
fetchFromGitHub,
flaky,
google-cloud-storage,
legacy-cgi,
mock,
pillow,
pymongo,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
requests,
setuptools,
Expand All @@ -34,7 +36,7 @@ buildPythonPackage rec {
dependencies = [
anyascii
google-cloud-storage
];
] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];

nativeCheckInputs = [
flaky
Expand All @@ -56,6 +58,8 @@ buildPythonPackage rec {
"tests/test_wsgi_middleware.py"
];

disabledTests = lib.optionals (pythonAtLeast "3.13") [ "test_notexisting" ];

pythonImportsCheck = [ "depot" ];

meta = with lib; {
Expand Down

0 comments on commit f57a3cb

Please sign in to comment.