-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
151 lines (136 loc) · 4.94 KB
/
pyproject.toml
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[tool.poetry]
name = "sovereign"
version = "0.30.0"
description = "Envoy Proxy control-plane written in Python"
license = "Apache-2.0"
packages = [
{ include = "sovereign", from = "src", format = "sdist" }
]
readme = "README.md"
#include = ["CHANGELOG.md", "CODE_OF_CONDUCT.md"]
documentation = "https://vsyrakis.bitbucket.io/sovereign/docs/"
repository = "https://bitbucket.org/atlassian/sovereign/src/master/"
homepage = "https://pypi.org/project/sovereign/"
authors = ["Vasili Syrakis <[email protected]>"]
keywords = ["envoy", "envoyproxy", "control-plane", "management", "server"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: No Input/Output (Daemon)", "Intended Audience :: Developers", "Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: Proxy Servers",
]
[tool.poetry.scripts]
sovereign = 'sovereign.server:main'
[tool.poetry.plugins]
[tool.poetry.plugins."sovereign.sources"]
"file" = "sovereign.sources.file:File"
"inline" = "sovereign.sources.inline:Inline"
[tool.poetry.plugins."sovereign.modifiers"]
"sovereign_3rd_party_test" = "sovereign.testing.modifiers:Test"
[tool.poetry.plugins."sovereign.loaders"]
"example" = "sovereign.testing.loaders:Multiply"
"file" = "sovereign.dynamic_config.loaders:File"
"pkgdata" = "sovereign.dynamic_config.loaders:PackageData"
"http" = "sovereign.dynamic_config.loaders:Web"
"https" = "sovereign.dynamic_config.loaders:Web"
"env" = "sovereign.dynamic_config.loaders:EnvironmentVariable"
"module" = "sovereign.dynamic_config.loaders:PythonModule"
"s3" = "sovereign.dynamic_config.loaders:S3Bucket"
"python" = "sovereign.dynamic_config.loaders:PythonInlineCode"
"inline" = "sovereign.dynamic_config.loaders:Inline"
[tool.poetry.plugins."sovereign.deserializers"]
"yaml" = "sovereign.dynamic_config.deser:YamlDeserializer"
"json" = "sovereign.dynamic_config.deser:JsonDeserializer"
"jinja" = "sovereign.dynamic_config.deser:JinjaDeserializer"
"jinja2" = "sovereign.dynamic_config.deser:JinjaDeserializer"
"string" = "sovereign.dynamic_config.deser:StringDeserializer"
"raw" = "sovereign.dynamic_config.deser:PassthroughDeserializer"
"ujson" = "sovereign.dynamic_config.deser:UjsonDeserializer"
"orjson" = "sovereign.dynamic_config.deser:OrjsonDeserializer"
[tool.poetry.dependencies]
python = "^3.11"
uvicorn = "^0.23.2"
gunicorn = "^22.0.0"
aiofiles = "^23.2.1"
requests = "^2.31.0"
PyYAML = "^6.0.1"
Jinja2 = "^3.1.2"
structlog = "^23.1.0"
cachelib = "^0.10.2"
glom = "^23.3.0"
cryptography = "^42.0.0"
fastapi = "^0.115.2"
uvloop = "^0.19.0"
sentry-sdk = "^2.14.0"
boto3 = {version = "^1.28.62", optional = true}
datadog = {version = "^0.47.0", optional = true}
ujson = {version = "^5.8.0", optional = true}
orjson = {version = "^3.9.15", optional = true}
croniter = "^1.4.1"
cashews = {extras = ["redis"], version = "^6.3.0", optional = true}
redis = {version = "<= 5.0.0", optional = true}
httptools = {version = "^0.6.0", optional = true}
cachetools = "^5.3.2"
pydantic = "^2.7.2"
pydantic-settings = "<2.6.0"
starlette-context = "^0.3.6"
[tool.poetry.extras]
sentry = ["sentry-sdk"]
boto = ["boto3"]
statsd = ["datadog"]
ujson = ["ujson"]
orjson = ["orjson"]
caching = ["cashews"]
httptools = ["httptools"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
"ruamel.yaml" = "^0.17.32"
pytest-asyncio = "^0.20.0"
pytest-mock = "^3.10.0"
pytest-spec = "^3.2.0"
pytest-timeout = "^2.1.0"
coverage = "^7.3.1"
invoke = "^2.2.0"
pylint = "^2.17.6"
tavern = "^2.9.2"
twine = "^4.0.2"
poethepoet = "^0.23.0"
mypy = "^1.8.0"
black = "^23.9.1"
freezegun = "^1.2.2"
moto = "^4.2.4"
httpx = "^0.25.0"
types-croniter = "^1.4.0.1"
types-requests = "^2.31.0.8"
types-setuptools = "^68.2.0.0"
types-ujson = "^5.8.0.1"
types-PyYAML = "^6.0.12.12"
pylama = "^8.4.1"
prospector = "^1.10.2"
toml = "^0.10.2"
types-cachetools = "^5.3.0.7"
[tool.poe.tasks]
types = { cmd = "mypy src/sovereign --ignore-missing-imports", help = "Check types with mypy" }
format = { cmd = "black . --exclude test", help = "Apply black formatting to source code" }
clean = { cmd = "rm -rf site test-reports logs .coverage .mypy_cache .pytest_cache dist sovereign.egg-info **/__pycache__", help = "Clean out generated files from the workspace" }
check-style = { cmd = "black . --check --diff --exclude test", help = "Check if code style is correct" }
lint = { cmd = "pylint src/sovereign", help = "Run linter checks" }
[tool.black]
target-version = ['py311']
[tool.mypy]
plugins = [
"pydantic.mypy"
]
ignore_missing_imports = true
[tool.coverage.run]
omit = ["test/*"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"