-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (103 loc) · 3.61 KB
/
pyproject.toml
File metadata and controls
115 lines (103 loc) · 3.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "taskflow"
description = "Taskflow structured state management library."
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Distributed Computing",
]
[project.urls]
Homepage = "https://docs.openstack.org/taskflow"
Repository = "https://opendev.org/openstack/taskflow"
[project.optional-dependencies]
# NOTE(dhellmann): The entries in this section of the file need to be
# kept consistent with the entries in test-requirements.txt.
zookeeper = [
"kazoo>=2.6.0", # Apache-2.0
]
redis = [
"redis>=4.0.0", # MIT
]
etcd = [
"etcd3gw>=2.0.0", # Apache-2.0
]
workers = [
"kombu>=4.3.0", # BSD
]
eventlet = [
"eventlet>=0.18.2", # MIT
]
database = [
"SQLAlchemy>=1.0.10", # MIT
"alembic>=0.8.10", # MIT
"SQLAlchemy-Utils>=0.30.11", # BSD License
"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"
redis = "taskflow.jobs.backends.impl_redis:RedisJobBoard"
etcd = "taskflow.jobs.backends.impl_etcd:EtcdJobBoard"
[project.entry-points."taskflow.conductors"]
blocking = "taskflow.conductors.backends.impl_blocking:BlockingConductor"
nonblocking = "taskflow.conductors.backends.impl_nonblocking:NonBlockingConductor"
[project.entry-points."taskflow.persistence"]
dir = "taskflow.persistence.backends.impl_dir:DirBackend"
file = "taskflow.persistence.backends.impl_dir:DirBackend"
memory = "taskflow.persistence.backends.impl_memory:MemoryBackend"
mysql = "taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend"
postgresql = "taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend"
sqlite = "taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend"
zookeeper = "taskflow.persistence.backends.impl_zookeeper:ZkBackend"
[project.entry-points."taskflow.engines"]
default = "taskflow.engines.action_engine.engine:SerialActionEngine"
serial = "taskflow.engines.action_engine.engine:SerialActionEngine"
parallel = "taskflow.engines.action_engine.engine:ParallelActionEngine"
worker-based = "taskflow.engines.worker_based.engine:WorkerBasedActionEngine"
workers = "taskflow.engines.worker_based.engine:WorkerBasedActionEngine"
[tool.setuptools.packages.find]
include = ["taskflow"]
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S"]
external = ["H"]
ignore = ["E402", "E721", "E731", "E741"]
[tool.ruff.lint.per-file-ignores]
"taskflow/examples/*" = ["S"]
"taskflow/tests/*" = ["S"]