Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (119 loc) · 3.85 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (119 loc) · 3.85 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "durable-workflow"
version = "2.11.2"
description = "Python client and worker SDK for Durable Workflow Cloud and self-hosted Server"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Durable Workflow Contributors" },
]
keywords = [
"cloud",
"durable-execution",
"workflow",
"durable",
"orchestration",
"python",
"sdk",
"saga",
]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.27",
"certifi>=2026.10.19",
"fastavro>=1.12.2,<2",
]
[project.optional-dependencies]
telemetry = [
"opentelemetry-api>=1.45.1,<2",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"mypy>=1.10",
"playwright>=1.48,<2",
"PyYAML>=6.0",
"ruff>=0.4",
"tomli>=2; python_version < '3.11'",
"opentelemetry-sdk==1.45.1",
]
prometheus = [
"prometheus-client>=0.20",
]
docs = [
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.25",
"playwright>=1.48,<2",
"tomli>=2; python_version < '3.11'",
]
[project.urls]
Homepage = "https://python.durable-workflow.com/"
Documentation = "https://python.durable-workflow.com/"
Repository = "https://github.com/durable-workflow/sdk-python"
Issues = "https://github.com/durable-workflow/sdk-python/issues"
[project.scripts]
durable-workflow-replay-verify = "durable_workflow.replay_verify:main"
durable-workflow-history-bundle-verify = "durable_workflow.history_bundle_verify:main"
durable-workflow-python-conformance = "durable_workflow.python_conformance:main"
durable-workflow-replay-conformance = "durable_workflow.replay_conformance:main"
durable-workflow-workflow-updates-conformance = "durable_workflow.workflow_updates_conformance:main"
[tool.durable-workflow]
product-train = "2.11.2"
registry-version = "2.11.2"
supported-server-versions = "2.8.0"
worker-protocol-version = "1.20"
control-plane-version = "2"
durable-selection = true
durable-selection-minimum-worker-protocol-version = "1.19"
message-streams = true
message-streams-minimum-worker-protocol-version = "1.15"
workflow-streams-contract = "durable-workflow.v2.workflow-streams.contract@1"
workflow-streams-operations = "list,describe,subscribe,append,close,error"
workflow-streams-authoring-command = "record_side_effect.workflow_stream"
workflow-streams-delivery = "at-least-once"
workflow-streams-external-payload-references = "read-write"
deterministic-parallel = true
parallel-authoring = "nested-list-yield"
parallel-members = "activity,child,timer,mixed"
parallel-result-order = "input-position"
parallel-group-metadata = "parallel_group_id,parallel_group_kind,parallel_group_base_sequence,parallel_group_size,parallel_group_index,parallel_group_path"
saga-compensation = true
saga-compensation-order = "reverse-registration-sequential"
saga-compensation-failure-policy = "stop-first-preserve-initiating-and-compensation"
saga-cancellation = "cooperative"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"integration: marks tests that require a running server (deselect with '-m \"not integration\"')",
]
[tool.mypy]
python_version = "3.10"
strict = true
packages = ["durable_workflow"]
mypy_path = "src"
# fastavro does not ship complete type stubs; treat it as Any.
[[tool.mypy.overrides]]
module = ["fastavro", "fastavro.*"]
ignore_missing_imports = true
[tool.ruff]
target-version = "py310"
line-length = 120
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]