Skip to content

Commit 7653f7b

Browse files
authored
Merge pull request #140 from jonhealy1/stac-val-update-3.10.1
Update stac-validator to v3.10.1
2 parents b48681e + 80083a1 commit 7653f7b

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"requests>=2.32.3",
2121
"jsonschema>=4.23.0",
2222
"click>=8.1.8",
23-
"stac-validator~=3.9.1",
23+
"stac-validator~=3.10.1",
2424
"PyYAML",
2525
"python-dotenv",
2626
],
@@ -29,15 +29,15 @@
2929
"pytest",
3030
"requests-mock",
3131
"types-setuptools",
32-
"stac-validator[pydantic]~=3.9.1",
32+
"stac-validator[pydantic]~=3.10.1",
3333
],
3434
"docs": [
3535
"sphinx>=4.0.0",
3636
"sphinx_rtd_theme>=1.0.0",
3737
"myst-parser>=0.18.0",
3838
"sphinx-autodoc-typehints>=1.18.0",
3939
],
40-
"pydantic": ["stac-validator[pydantic]~=3.9.1"],
40+
"pydantic": ["stac-validator[pydantic]~=3.10.1"],
4141
},
4242
entry_points={"console_scripts": ["stac-check=stac_check.cli:main"]},
4343
author="Jonathan Healy",

stac_check/cli.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ def generate_output():
192192

193193
intro_message(linter)
194194

195-
# Show intro message in the terminal
196-
intro_message(linter)
197-
198195
# Define output generation function (without intro message since we already showed it)
199196
def generate_output():
200197
if recursive:

tests/test_lint_recursion.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_linter_recursive_max_depth_1():
2727
"schema": ["https://cdn.staclint.com/v0.7.0/catalog.json"],
2828
"asset_type": "CATALOG",
2929
"validation_method": "recursive",
30+
"validator_engine": "jsonschema",
3031
"valid_stac": True,
3132
}
3233
]
@@ -42,6 +43,7 @@ def test_linter_recursive_max_depth_4():
4243
"schema": ["https://cdn.staclint.com/v0.7.0/catalog.json"],
4344
"asset_type": "CATALOG",
4445
"validation_method": "recursive",
46+
"validator_engine": "jsonschema",
4547
"valid_stac": True,
4648
},
4749
{
@@ -50,6 +52,7 @@ def test_linter_recursive_max_depth_4():
5052
"schema": ["https://cdn.staclint.com/v0.7.0/collection.json"],
5153
"asset_type": "COLLECTION",
5254
"validation_method": "recursive",
55+
"validator_engine": "jsonschema",
5356
"valid_stac": True,
5457
},
5558
{
@@ -58,6 +61,7 @@ def test_linter_recursive_max_depth_4():
5861
"schema": ["https://cdn.staclint.com/v0.7.0/catalog.json"],
5962
"asset_type": "CATALOG",
6063
"validation_method": "recursive",
64+
"validator_engine": "jsonschema",
6165
"valid_stac": True,
6266
},
6367
{
@@ -66,6 +70,7 @@ def test_linter_recursive_max_depth_4():
6670
"schema": ["https://cdn.staclint.com/v0.7.0/item.json"],
6771
"asset_type": "ITEM",
6872
"validation_method": "recursive",
73+
"validator_engine": "jsonschema",
6974
"valid_stac": True,
7075
},
7176
{
@@ -74,6 +79,7 @@ def test_linter_recursive_max_depth_4():
7479
"schema": ["https://cdn.staclint.com/v0.7.0/item.json"],
7580
"asset_type": "ITEM",
7681
"validation_method": "recursive",
82+
"validator_engine": "jsonschema",
7783
"valid_stac": True,
7884
},
7985
{
@@ -82,6 +88,7 @@ def test_linter_recursive_max_depth_4():
8288
"schema": ["https://cdn.staclint.com/v0.7.0/item.json"],
8389
"asset_type": "ITEM",
8490
"validation_method": "recursive",
91+
"validator_engine": "jsonschema",
8592
"valid_stac": True,
8693
},
8794
{
@@ -90,6 +97,7 @@ def test_linter_recursive_max_depth_4():
9097
"schema": ["https://cdn.staclint.com/v0.7.0/item.json"],
9198
"asset_type": "ITEM",
9299
"validation_method": "recursive",
100+
"validator_engine": "jsonschema",
93101
"valid_stac": True,
94102
},
95103
{
@@ -98,6 +106,7 @@ def test_linter_recursive_max_depth_4():
98106
"schema": ["https://cdn.staclint.com/v0.7.0/item.json"],
99107
"asset_type": "ITEM",
100108
"validation_method": "recursive",
109+
"validator_engine": "jsonschema",
101110
"valid_stac": True,
102111
},
103112
{
@@ -106,6 +115,7 @@ def test_linter_recursive_max_depth_4():
106115
"schema": ["https://cdn.staclint.com/v0.7.0/catalog.json"],
107116
"asset_type": "CATALOG",
108117
"validation_method": "recursive",
118+
"validator_engine": "jsonschema",
109119
"valid_stac": True,
110120
},
111121
{
@@ -114,6 +124,7 @@ def test_linter_recursive_max_depth_4():
114124
"schema": ["https://cdn.staclint.com/v0.7.0/item.json"],
115125
"asset_type": "ITEM",
116126
"validation_method": "recursive",
127+
"validator_engine": "jsonschema",
117128
"valid_stac": True,
118129
},
119130
]
@@ -132,6 +143,7 @@ def test_linter_recursive_100():
132143
],
133144
"valid_stac": True,
134145
"validation_method": "recursive",
146+
"validator_engine": "jsonschema",
135147
"version": "1.0.0",
136148
},
137149
{
@@ -145,6 +157,7 @@ def test_linter_recursive_100():
145157
],
146158
"valid_stac": True,
147159
"validation_method": "recursive",
160+
"validator_engine": "jsonschema",
148161
"version": "1.0.0",
149162
},
150163
{
@@ -158,6 +171,7 @@ def test_linter_recursive_100():
158171
],
159172
"valid_stac": True,
160173
"validation_method": "recursive",
174+
"validator_engine": "jsonschema",
161175
"version": "1.0.0",
162176
},
163177
{
@@ -170,6 +184,7 @@ def test_linter_recursive_100():
170184
],
171185
"valid_stac": True,
172186
"validation_method": "recursive",
187+
"validator_engine": "jsonschema",
173188
"version": "1.0.0",
174189
},
175190
]

0 commit comments

Comments
 (0)