Skip to content

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Aug 17, 2025

This commit addresses errors reported during the GitHub workflow associated with .github/workflows/lint.yml:

Error: schemafile could not be parsed as JSON
SchemaParseError: https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json
  in "/home/runner/.cache/pre-commit/reporsapdpi1/py_env-python3.9/lib/python3.9/site-packages/check_jsonschema/checker.py", line 56
  >>> return self._schema_loader.get_validator(

  caused by

  FailedFileLoadError: Failed to parse https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json
    in "/home/runner/.cache/pre-commit/reporsapdpi1/py_env-python3.9/lib/python3.9/site-packages/check_jsonschema/schema_loader/readers.py", line 27
    >>> schema = callback()

…repository

This commit addresses errors reported during the GitHub workflow
associated with `.github/workflows/lint.yml`:

```
Error: schemafile could not be parsed as JSON
SchemaParseError: https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json
  in "/home/runner/.cache/pre-commit/reporsapdpi1/py_env-python3.9/lib/python3.9/site-packages/check_jsonschema/checker.py", line 56
  >>> return self._schema_loader.get_validator(

  caused by

  FailedFileLoadError: Failed to parse https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json
    in "/home/runner/.cache/pre-commit/reporsapdpi1/py_env-python3.9/lib/python3.9/site-packages/check_jsonschema/schema_loader/readers.py", line 27
    >>> schema = callback()
```
@jcfr jcfr requested review from lassoan and jamesobutler August 17, 2025 22:17
@jcfr jcfr merged commit d2e42dc into Slicer:main Aug 17, 2025
1 check passed
@jcfr jcfr deleted the fix-schema-caching-issue branch August 17, 2025 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants