From 738b39cb3db7193c2cb399723baecbfc11e542ec Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 5 Apr 2025 20:39:13 +0300 Subject: [PATCH] python312Packages.celery: add some optdepends These are required for tests, and are currently pulled in mostly via accidental propagation. --- .../python-modules/celery/default.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index 3f2b0a1b8653..80af56b68c1c 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -1,6 +1,8 @@ { lib, stdenv, + azure-identity, + azure-storage-blob, billiard, buildPythonPackage, click-didyoumean, @@ -8,6 +10,8 @@ click-repl, click, fetchPypi, + gevent, + google-cloud-firestore, google-cloud-storage, kombu, moto, @@ -15,6 +19,7 @@ nixosTests, pymongo, redis, + pydantic, pytest-celery, pytest-click, pytest-subtests, @@ -56,11 +61,20 @@ buildPythonPackage rec { ]; optional-dependencies = { - gcs = [ google-cloud-storage ]; + azureblockblob = [ + azure-identity + azure-storage-blob + ]; + gevent = [ gevent ]; + gcs = [ + google-cloud-firestore + google-cloud-storage + ]; mongodb = [ pymongo ]; msgpack = [ msgpack ]; yaml = [ pyyaml ]; redis = [ redis ]; + pydantic = [ pydantic ]; }; nativeCheckInputs = [