Skip to content

Commit 2ea0aeb

Browse files
committed
Make tomli package optional
1 parent db2e183 commit 2ea0aeb

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ whenever = ">=0.7.2,<0.8.0"
4545
netutils = "^1.0.0"
4646
click = { version = "8.1.*", optional = true }
4747
copier = { version = "^9.8.0", optional = true }
48-
tomli = { version = ">=1.1.0", python = "<3.11" }
48+
tomli = { version = ">=1.1.0", python = "<3.11", optional = true }
4949

5050
[tool.poetry.group.dev.dependencies]
5151
pytest = "*"
@@ -69,7 +69,7 @@ infrahub-testcontainers = { version = "^1.4.0", python = ">=3.10" }
6969
astroid = "~3.1"
7070

7171
[tool.poetry.extras]
72-
ctl = ["Jinja2", "numpy", "pyarrow", "pyyaml", "rich", "typer", "click", "copier"]
72+
ctl = ["Jinja2", "numpy", "pyarrow", "pyyaml", "rich", "tomli", "typer", "click", "copier"]
7373
tests = ["Jinja2", "pytest", "pyyaml", "rich"]
7474
all = [
7575
"Jinja2",
@@ -78,6 +78,7 @@ all = [
7878
"pytest",
7979
"pyyaml",
8080
"rich",
81+
"tomli",
8182
"typer",
8283
"click",
8384
"copier",

0 commit comments

Comments
 (0)