python313Packages.filedepot: add legacy-cgi for Python 3.13 (#372373)
This commit is contained in:
@@ -5,10 +5,12 @@
|
||||
fetchFromGitHub,
|
||||
flaky,
|
||||
google-cloud-storage,
|
||||
legacy-cgi,
|
||||
mock,
|
||||
pillow,
|
||||
pymongo,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
@@ -29,12 +31,12 @@ buildPythonPackage rec {
|
||||
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
|
||||
@@ -56,6 +58,8 @@ buildPythonPackage rec {
|
||||
"tests/test_wsgi_middleware.py"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.13") [ "test_notexisting" ];
|
||||
|
||||
pythonImportsCheck = [ "depot" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user