-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (127 loc) · 3.99 KB
/
pyproject.toml
File metadata and controls
135 lines (127 loc) · 3.99 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
131
132
133
134
135
[project]
name = "azure-functions-worker"
dynamic = ["version"]
description = "Python Language Worker for Azure Functions Runtime"
authors = [
{ name = "Azure Functions team at Microsoft Corp.", email = "azurefunctions@microsoft.com" }
]
keywords = ["azure", "functions", "azurefunctions",
"python", "serverless"]
license = { name = "MIT", file = "LICENSE" }
readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"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",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers"
]
dependencies = [
"azure-functions==1.24.0; python_version < '3.10'",
"azure-functions==1.25.0b4; python_version >= '3.10'",
"python-dateutil~=2.9.0",
"protobuf~=5.29.0; python_version <= '3.13'",
"protobuf~=6.33.1; python_version == '3.14'",
"grpcio-tools~=1.70.0; python_version <= '3.13'",
"grpcio-tools~=1.75.1; python_version == '3.14'",
"grpcio~=1.70.0; python_version <= '3.13'",
"grpcio~=1.75.1; python_version == '3.14'",
"uvloop~=0.21.0; python_version == '3.13' and sys_platform != 'win32'",
"uvloop~=0.22.0; python_version == '3.14' and sys_platform != 'win32'",
"azurefunctions-extensions-base==1.1.0",
"azure-functions-runtime==1.1.0; python_version >= '3.13'",
"azure-functions-runtime-v1==1.1.0; python_version >= '3.13'"
]
[project.urls]
Documentation = "https://github.com/Azure/azure-functions-python-worker?tab=readme-ov-file#-azure-functions-python-worker"
Repository = "https://github.com/Azure/azure-functions-python-worker"
[project.optional-dependencies]
dev = [
"azure-cosmos", # Used for CosmosDB Emulator tests
"azure-eventhub", # Used for EventHub E2E tests
"azure-functions-durable", # Used for Durable E2E tests
"azure-monitor-opentelemetry", # Used for Azure Monitor unit tests
"azure-storage-blob~=12.27.1", # Used for Blob Emulator tests
"flask",
"fastapi~=0.103.2",
"pydantic",
"flake8==6.*",
"mypy",
"pytest~=7.4.4",
"requests==2.*",
"coverage",
"pytest-sugar",
"opentelemetry-api", # Used for OpenTelemetry unit tests
"pytest-cov",
"pytest-xdist",
"pytest-randomly",
"pytest-instafail",
"pytest-rerunfailures",
"pytest-asyncio",
"ptvsd",
"python-dotenv",
"plotly",
"scikit-learn",
"opencv-python",
"pandas",
"numpy",
"pre-commit",
"invoke",
"cryptography",
"jsonpickle",
"orjson"
]
test-http-v2 = [
"azurefunctions-extensions-http-fastapi==1.0.1",
"ujson"
]
test-deferred-bindings = [
"azurefunctions-extensions-bindings-blob==1.1.2",
"azurefunctions-extensions-bindings-eventhub==1.0.0b1; python_version < '3.14'"
]
[build-system]
requires = ["setuptools>=62,<82.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
exclude = [
'eng', 'tests', 'pack'
]
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
known_first_party = ["azure_functions_worker"]
default_section = "THIRDPARTY"
src_paths = ["azure_functions_worker"]
skip_glob = [
"build",
"dist",
"env",
"venv",
"*venv*",
"*.egg-info",
".tox",
".nox",
".git",
"__pycache__",
".ci",
".devcontainer",
".github",
"eng",
"pack",
"*protos/*"
]
[tool.setuptools.dynamic]
version = {attr = "azure_functions_worker.version.VERSION"}
[tool.pytest.ini_options]
pythonpath = ["workers"]
testpaths = ["workers/tests", "runtimes/v2/azure_functions_runtime/tests", "runtimes/v1/azure_functions_runtime_v1/tests"]