devicetree-org / dt-schema

Devicetree schema tools
http://www.devicetree.org
BSD 2-Clause "Simplified" License
67 stars 67 forks source link

jsonschema 4.18 migration #109

Open ichernev opened 1 year ago

ichernev commented 1 year ago

So jsonschema 4.18 is changing the way referencing works: https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst#v4180

Already dt-schema requires <4.18 to work: https://github.com/devicetree-org/dt-schema/commit/188cca9ae852edf1f21906c6a2912d52dd90144b

I made this issue to track the progress of getting this to work. I don't really understand what the problem is, but there are 2 general paths:

I might be able to help with either of those, but some help in terms of what's the hack dt-schema requires that is now off limits would be nice.

P.S: I'm maintainer of alpine's py3-dt-schema package, so I spend a few hours banging my head to figure out it was jsonschema's fault all along.

robherring commented 1 year ago

See #108

ichernev commented 1 year ago

See #108

Do you have a branch with the referencing library being used? I could use that for alpine packaging, it is edge after all, and you can get some bug reports :)