The source project of this merge request has been removed.
upgpkg: 0.3.15-1
When working on pytest-runner removal and to use python-build and python-installer, I came across with test failures because TL;DR python-jsonschema >= 4.18 is not supported by python-jsonschema-objects 0.4.1.
There is patch in the upstream PR 264, but it doesn't apply cleanly.
The error I found on check() for 0.4.1 is:
_________ ERROR collecting test/test_nondefault_resolver_validator.py __________
ImportError while importing test module '/build/python-jsonschema-objects/src/python-jsonschema-objects-0.4.1/test/test_nondefault_resolver_validator.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test/test_nondefault_resolver_validator.py:3: in <module>
from jsonschema._utils import load_schema, URIDict
E ImportError: cannot import name 'load_schema' from 'jsonschema._utils' (/usr/lib/python3.11/site-packages/jsonschema/_utils.py)
load_schema
was removed from URIDict
since 4.18, so an update is required.