Skip to content

upgpkg: 0.3.15-1

Rafael Fontenelle requested to merge (removed):updpkg into main

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/ __________
ImportError while importing test module '/build/python-jsonschema-objects/src/python-jsonschema-objects-0.4.1/test/'.
Hint: make sure your test modules/packages have valid Python names.
/usr/lib/python3.11/importlib/ in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/ 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/

load_schema was removed from URIDict since 4.18, so an update is required.

Merge request reports