-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
69 lines (65 loc) · 2.06 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
[tool.poetry]
name = "syn-commodore"
version = "v0.0.0"
description = "Commodore provides opinionated tenant-aware management of Kapitan inventories and templates. Commodore uses Kapitan for the heavy lifting of rendering templates and resolving a hierachical configuration structure."
readme = "README.md"
authors = ["VSHN AG <[email protected]>"]
license = "BSD-3-Clause"
homepage = "https://github.com/projectsyn/commodore"
documentation = "https://syn.tools/commodore/index.html"
packages = [
{include = "commodore"}
]
include = [
"commodore/lib/commodore.libjsonnet",
"commodore/lib/kube.libsonnet",
"commodore/lib/kube.libjsonnet",
"commodore/lib/kube-libsonnet/kube.libsonnet",
"commodore/filters/helm_namespace.jsonnet",
"commodore/scripts/run-kustomize",
]
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
# NOTE: We restrict boto3/botocore versions to reduce complexity of Poetry's
# dependency resolution significantly, cf.
# https://github.com/orgs/python-poetry/discussions/8165#discussioncomment-6387378
# We put those dependencies first to constrain the Poetry dependency solver
# which processes dependencies in the order they're listed. Without these
# restrictions, the broad required boto3 dependency in Kapitan makes
# dependency resolution very slow.
boto3 = "^1.26.145"
botocore="^1.29.145"
kapitan = "0.34.2"
click = "8.1.7"
# Kapitan requires exactly 3.1.30
gitpython = "3.1.43"
requests = "2.32.3"
url-normalize = "1.4.3"
python-dotenv = "1.0.1"
importlib-metadata = "8.5.0"
pyxdg = "0.28"
cruft = "2.15.0"
oauthlib = "3.2.2"
pyjwt = "2.10.1"
PyGithub = "2.5.0"
reclass-rs = "0.5.0"
gojsonnet = "0.20.0"
[tool.poetry.dev-dependencies]
tox = "3.28.0"
pytest = "8.3.4"
pytest-xdist = "3.6.1"
pytest-benchmark = "5.1.0"
responses = "0.25.3"
black = "24.10.0"
pyfakefs = "5.7.2"
pytest-cov = "6.0.0"
pylint = "3.3.2"
types-toml = "0.10.8.20240310"
examples = "1.0.2"
pytest-mock = "^3.8.2"
[tool.poetry.scripts]
commodore = 'commodore.cli:main'
kapitan = 'kapitan.cli:main'
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"