Skip to content

Commit 44dc12a

Browse files
committed
fix(ci): add jsonschema to [dev] extras
test_bundled_schema_matches_model in tests/core/test_config.py imports jsonschema to validate the shipped release-kit.schema.json against Config.example(). The dep was implicit on my local venv (pulled in by an unrelated install) but missing from pyproject's [dev] block, so a clean CI install of `pip install -e .[dev]` hit ModuleNotFoundError on macOS / Linux / Windows × py3.11/12/13. Floor pinned at 4.21 because draft-2020-12 validator stabilised there.
1 parent 3ed3766 commit 44dc12a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ dev = [
7070
"mypy>=1.10",
7171
"pre-commit>=3.7",
7272
"types-PyYAML",
73+
"jsonschema>=4.21", # validates the bundled release-kit.schema.json
7374
]
7475

7576
[project.scripts]

0 commit comments

Comments
 (0)