95 lines
2.0 KiB
TOML
95 lines
2.0 KiB
TOML
[tool.poetry]
|
|
name = "pyinfra"
|
|
version = "3.0.0"
|
|
description = ""
|
|
authors = ["Team Research <research@knecon.com>"]
|
|
license = "All rights reseverd"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<3.11"
|
|
# infra, deployment
|
|
pika = "^1.3"
|
|
retry = "^0.9"
|
|
minio = "^7.1"
|
|
prometheus-client = "^0.18"
|
|
# azure
|
|
azure-core = "^1.29"
|
|
azure-storage-blob = "^12.13"
|
|
# misc utils
|
|
funcy = "^2"
|
|
pycryptodome = "^3.19"
|
|
# research shared packages
|
|
kn-utils = { version = "^0.2.7", source = "gitlab-research" }
|
|
fastapi = "^0.109.0"
|
|
uvicorn = "^0.26.0"
|
|
# [tool.poetry.group.telemetry.dependencies]
|
|
opentelemetry-instrumentation-pika = "^0.46b0"
|
|
opentelemetry-exporter-otlp = "^1.25.0"
|
|
opentelemetry-instrumentation = "^0.46b0"
|
|
opentelemetry-api = "^1.25.0"
|
|
opentelemetry-sdk = "^1.25.0"
|
|
opentelemetry-exporter-otlp-proto-http = "^1.25.0"
|
|
opentelemetry-instrumentation-flask = "^0.46b0"
|
|
opentelemetry-instrumentation-requests = "^0.46b0"
|
|
opentelemetry-instrumentation-fastapi = "^0.46b0"
|
|
wcwidth = "<=0.2.12"
|
|
azure-monitor-opentelemetry = "^1.6.0"
|
|
aio-pika = "^9.4.2"
|
|
aiohttp = "^3.9.5"
|
|
tenacity = "^8.5.0"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "^7"
|
|
ipykernel = "^6.26.0"
|
|
black = "^23.10"
|
|
pylint = "^3"
|
|
coverage = "^7.3"
|
|
requests = "^2.31"
|
|
pre-commit = "^3.6.0"
|
|
cyclonedx-bom = "^4.1.1"
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.0"
|
|
addopts = "-ra -q"
|
|
testpaths = ["tests", "integration"]
|
|
log_cli = 1
|
|
log_cli_level = "DEBUG"
|
|
|
|
[tool.mypy]
|
|
exclude = ['.venv']
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
target-version = ["py310"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.pylint.format]
|
|
max-line-length = 120
|
|
disable = [
|
|
"C0114",
|
|
"C0325",
|
|
"R0801",
|
|
"R0902",
|
|
"R0903",
|
|
"R0904",
|
|
"R0913",
|
|
"R0914",
|
|
"W0511"
|
|
]
|
|
docstring-min-length = 3
|
|
|
|
[[tool.poetry.source]]
|
|
name = "PyPI"
|
|
priority = "primary"
|
|
|
|
[[tool.poetry.source]]
|
|
name = "gitlab-research"
|
|
url = "https://gitlab.knecon.com/api/v4/groups/19/-/packages/pypi/simple"
|
|
priority = "explicit"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|