generated from ChameleonCloud/cc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
77 lines (65 loc) · 2.18 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
[tool.poetry]
authors = ["Chameleon <[email protected]>"]
description = "Chameleon on-demand tunnel provisioning service"
name = "tunelo"
version = "4.0.0"
include = ["etc/tunelo"]
exclude = ["tunelo/tests"]
# All dependencies should be at minimum the value of the upper constraint
# for the targeted OpenStack release. These values are for the Xena cycle:
# https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt
[tool.poetry.dependencies]
# Kolla containers currently use 3.6, this can eventually be updated to 3.8
python = "^3.8.2"
Flask = "<=2.0.1"
importlib-metadata = "<=4.8.1"
"oslo.config" = "<=8.7.1"
"oslo.log" = "<=4.6.0"
osprofiler = "<=3.4.2"
"oslo.service" = "<=2.6.2"
"oslo.messaging" = "<=12.9.4"
"oslo.middleware" = "<=4.4.0"
keystonemiddleware = "<=9.3.0"
"oslo.policy" = "<=3.8.3"
"oslo.reports" = "<=2.3.0"
futurist = "<=2.4.0"
"oslo.rootwrap" = "<=6.3.1"
python-neutronclient = "<=7.6.0"
jsonschema = "<=3.2.0"
[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
flake8 = "^6.0.0"
pytest = "^7.2.0"
oslotest = "^4.4.1"
pytest-watch = "^4.2.0"
pytest-mock = "^3.10.0"
flake8-bugbear = "^22.12.6"
isort = "^5.11.3"
pydocstyle = "^6.1.1"
[tool.poetry.scripts]
tunelo-api = "tunelo.cmd.api:main"
tunelo-rootwrap = "oslo_rootwrap.cmd:main"
[tool.poetry.plugins."oslo.config.opts"]
tunelo = "tunelo.conf.opts:list_opts"
[tool.poetry.plugins."oslo.config.opts.defaults"]
tunelo = "tunelo.conf.opts:update_opt_defaults"
[tool.poetry.plugins."oslo.policy.enforcer"]
tunelo = "tunelo.common.policy:get_oslo_policy_enforcer"
[tool.poetry.plugins."oslo.policy.policies"]
"tunelo.api" = "tunelo.common.policy:list_policies"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.black]
# Set line length explicitly.
# See https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length for more details
line-length = 88
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.isort]
known_first_party = "tunelo"
profile = "black"