-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
61 lines (55 loc) · 1.66 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
[tool.poetry]
name = "kernel-patches-daemon"
version = "0.1.0"
description = ""
authors = [
"Nikolay Yurin <yurinnick@meta.com>",
"Manu Bretelle <chantra@meta.com>",
"Daniel Mueller <muellerd@meta.com>",
]
readme = "README.md"
packages = [{include = "kernel_patches_daemon"}]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Operating System :: POSIX :: Linux",
"Typing :: Typed",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
aiohttp = "^3.8"
aiohttp-retry = "^2.8"
aioresponses = "^0.7"
multidict = "^6.0"
python = "^3.8"
cachetools = "^5.3.0"
gitpython = "^3.1"
opentelemetry-api = "^1.18.0"
pygithub = "^1.59.0"
pyre-extensions = "^0.0.30"
opentelemetry-sdk = "^1.18.0"
python-dateutil = "^2.8.2"
# Explicitly include cryptography package
# It's required for PyJWT which is dependency of PyGithub
# https://pyjwt.readthedocs.io/en/stable/installation.html#cryptographic-dependencies-optional
cryptography = "^43.0.1"
certifi = "*"
[tool.poetry.group.dev.dependencies]
freezegun = "^1.2.2"
munch = "^3.0.0"
# Temporary fix for the case KPD and poetry share the same virtual environment
# urllib3 2.0 and later cause poetry to fail with error:
# > __init__() got an unexpected keyword argument 'strict'
# https://github.com/python-poetry/poetry/issues/7936
[tool.poetry.group.poetry_fix.dependencies]
urllib3 = "^1.26.0"
[tool.poetry.group.lint.dependencies]
black = "^24.0.0"
flake8 = "^5.0.0"
flake8-import-order = "^0.18.2"
flake8-comprehensions = "^3.12.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py38", "py39", "py310", "py311"]