Create separate dependency group per database backend

... to avoid installing the library for a different backend which is
not actually used.

Change-Id: I4a1384222a15a7b7d5079280cbaeed05bb851d70
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-02-22 01:31:37 +09:00
parent 1af9fcecab
commit 16485ee456

View File

@@ -57,6 +57,18 @@ database = [
"PyMySQL>=0.7.6", # MIT License
"psycopg2>=2.8.0", # LGPL/ZPL
]
mysql = [
"SQLAlchemy>=1.0.10", # MIT
"alembic>=0.8.10", # MIT
"SQLAlchemy-Utils>=0.30.11", # BSD License
"PyMySQL>=0.7.6", # MIT License
]
postgresql = [
"SQLAlchemy>=1.0.10", # MIT
"alembic>=0.8.10", # MIT
"SQLAlchemy-Utils>=0.30.11", # BSD License
"psycopg2>=2.8.0", # LGPL/ZPL
]
[project.entry-points."taskflow.jobboards"]
zookeeper = "taskflow.jobs.backends.impl_zookeeper:ZookeeperJobBoard"