forked from robusta-dev/robusta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (123 loc) · 4.07 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
[tool.poetry]
name = "robusta-cli"
version = "0.0.0"
description = ""
authors = ["Natan Yellin <aantn@users.noreply.github.com>"]
packages = [
{ include = "robusta", from = "src" },
]
[tool.black]
line-length = 120
target-version = ['py37']
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
[tool.poetry.scripts]
robusta = "robusta.cli.main:app"
[tool.poetry.dependencies]
# Robusta CLI should work on 3.8, but the core code requires 3.9+. Both
# are known not to work on 3.11. Unfortunately this spec is shared between
# the CLI and core, so we have to specify 3.8+.
python = "^3.8, <3.11"
setuptools = "^68.2.2"
typer = "^0.4.1"
colorlog = "^5.0.1"
pydantic = "^1.8.1"
kubernetes = "^26.1.0"
click-spinner = "^0.1.10"
pymsteams = "^0.1.16"
supabase = { version = "^1.0.3", optional = true }
tabulate = { version = "^0.8.10" }
slack-sdk = { version = "^3.23.0" }
Flask = { version = "^3.0.0", optional = true }
grafana-api = { version = "^1.0.3", optional = true }
watchdog = { version = "^2.1.0", optional = true }
better-exceptions = { version = "^0.3.3", optional = true }
CairoSVG = { version = "^2.5.2", optional = true }
kafka-python = { version = "^2.0.2", optional = true }
datadog-api-client = { version = "^1.2.0", optional = true }
dpath = "^2.0.5"
websocket-client = "1.3.3"
prometheus-client = "^0.12.0"
pyyaml = "^6.0"
pytz = "^2021.3"
poetry-core = "1.1.0a7"
docutils="^0.17.0"
sentry-sdk = { version = "^1.5.2", optional = true }
opsgenie-sdk = "^2.1.5"
markdown2 = "^2.4.2"
toml = "^0.10.2"
watchgod = "^0.7"
webexteamssdk = "^1.6.1"
bitmath = "^1.3.3.1"
croniter = "^1.3.15"
# we're freezing a specific version here because the latest version doesn't have prebuilt wheels on pypi
# and therefore requires gcc to install which we'd like to avoid
# this is similar to the issue at https://github.com/dulwich/dulwich/issues/839
dulwich = { version = "0.20.28", optional = true }
cryptography = "^39.0.1"
PyJWT = "2.4.0"
fpdf2 = "^2.7.1"
attrs = "^23.1.0"
prometrix = "0.1.16"
hikaru-model-26 = "^1.1.1"
apprise = "^1.5.0"
rocketchat-api = "^1.30.0"
[tool.poetry.dev-dependencies]
pre-commit = "^2.13.0"
pytest = "^6.2.4"
python-dotenv = "^0.18.0"
Sphinx = "^4.3.2"
#furo = "^2021.11.12"
sphinx-autobuild = "^2021.3.14"
sphinx-copybutton = "^0.4.0"
sphinx-design = "^0.0.13"
witchhazel = "^2018.8.23"
sphinx-autodoc-typehints = "^1.12.0"
sphinxcontrib-images = "^0.9.4"
jsonref = "^0.2"
Pillow = "^10.2.0"
sphinxcontrib-mermaid = "^0.7.1"
humanize = "^3.13.1"
cssselect = "^1.1.0"
pygal = "^3.0.0"
tinycss = "^0.4"
rsa = "^4.8"
sphinxcontrib-details-directive = "^0.1.0"
sphinx-immaterial = { git = "https://github.com/robusta-dev/robusta-immaterial.git" }
# TODO: Attempt to have different groups (docs, lint, etc) and install them separately
# Flake8 5.0.4 is the last version that supports Python 3.7
# As it does not work witn sphynx-immaterial, we need to exclude it from the dev dependencies
# Please, install it manually if you need to run flake8
# flake8 = "5.0.4"
black = "22.3.0"
mypy = "0.991"
isort = "5.10.1"
absolufy-imports = "^0.3.1"
types-pytz = "^2022.6.0.1"
types-requests = "^2.28.11.5"
types-cachetools = "^5.2.1"
types-PyYAML = "^6.0.0"
types-click-spinner = "^0.1.10"
types-toml = "^0.10.2"
types-tabulate = "^0.8.10"
[tool.poetry.extras]
all = ["Flask", "grafana-api", "watchdog", "dulwich", "better-exceptions", "CairoSVG", "tabulate", "kafka-python", "prometheus-api-client", "supabase", "datadog-api-client", "pygal", "tinycss", "cssselect", "rsa", "sentry-sdk", "poetry-core"]
[tool.poetry.group.dev.dependencies]
sphinx-jinja = { git = "https://github.com/robusta-dev/sphinx-jinja.git" }
sphinx-reredirects = "^0.1.1"
freezegun = "^1.4.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# https://github.com/mtkennerly/poetry-dynamic-versioning
# we can use this in github actions by running `poetry run poetry-dynamic-versioning`
#[tool.poetry-dynamic-versioning]
#vcs = "git"
#pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore:::slack_sdk"
]