-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 2 KB
/
pyproject.toml
File metadata and controls
86 lines (77 loc) · 2 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "durable-workflow"
version = "0.4.3"
description = "Python SDK for the Durable Workflow server (language-neutral HTTP protocol)"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Durable Workflow Contributors" },
]
keywords = [
"workflow",
"durable",
"orchestration",
"temporal",
"saga",
]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"avro>=1.12,<2",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"mypy>=1.10",
"ruff>=0.4",
]
prometheus = [
"prometheus-client>=0.20",
]
docs = [
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.25",
]
[project.urls]
Homepage = "https://github.com/durable-workflow/sdk-python"
Documentation = "https://durable-workflow.github.io/docs/2.0/polyglot/python"
Repository = "https://github.com/durable-workflow/sdk-python"
Issues = "https://github.com/durable-workflow/sdk-python/issues"
[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"
# apache/avro does not ship type stubs; treat it as Any.
[[tool.mypy.overrides]]
module = ["avro", "avro.*"]
ignore_missing_imports = true
[tool.ruff]
target-version = "py310"
line-length = 120
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]