Skip to content

Commit f325c04

Browse files
committed
chore: Move jsonschema out of mandatory dependencies
1 parent 812b446 commit f325c04

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/schemacode/pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dependencies = [
1414
"acres",
1515
"click",
1616
"pyyaml",
17-
"jsonschema",
1817
]
1918
classifiers = [
2019
"Development Status :: 4 - Beta",
@@ -30,6 +29,9 @@ classifiers = [
3029
dynamic = ["version"]
3130

3231
[project.optional-dependencies]
32+
validation = [
33+
"jsonschema",
34+
]
3335
doc = [
3436
"sphinx>=1.5.3",
3537
"sphinx_rtd_theme",
@@ -41,6 +43,7 @@ render = [
4143
]
4244
expressions = ["pyparsing"]
4345
tests = [
46+
"bidsschematools[validation,render,expressions]",
4447
"codecov",
4548
"coverage[toml]",
4649
"flake8",
@@ -50,7 +53,7 @@ tests = [
5053
"pytest-cov",
5154
]
5255
all = [
53-
"bidsschematools[doc,render,tests,expressions]",
56+
"bidsschematools[doc,tests]",
5457
]
5558

5659
[project.scripts]

0 commit comments

Comments
 (0)