From b59385e3f8b6d66f51e4d0f0780d80e81654033f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 5 Apr 2024 17:20:25 +0900 Subject: [PATCH] Explicitly manage extra dependencies Some storage driver needs additional requirements. Change-Id: I7d4913f67658fc49894be4e095df24f86f4adbed --- setup.cfg | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/setup.cfg b/setup.cfg index 55af35b17..741069e2c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -92,6 +92,14 @@ zaqar.extraspec.tasks = oslo.policy.policies = zaqar = zaqar.common.policies:list_rules +[extras] +mongodb = + pymongo>=3.6.0 # Apache-2.0 +redis = + redis>=3.0.0 # MIT +mysql = + PyMySQL>=0.8.0 # MIT License + [nosetests] where=zaqar/tests verbosity=2 @@ -103,11 +111,3 @@ cover-html = true cover-erase = true cover-inclusive = true -; Disabled: Causes a bug in testtools to manifest. -; Trigger: self.assertX(condition), where condition == False. -; -; In "testtools/testresult/real.py" the traceback is set to -; None in _details_to_exc_info(), but the inspect_traceback() -; method in nose/inspector.py requires a traceback-like object. -; -; detailed-errors = 1