Comments (4)
You need to update dtschema. jsonschema 4.x.x broke us such as the above. More importantly, newer versions support 'unevaluatedProperties' which we need.
from dt-schema.
I already use latest dtschema 2021.12
from dt-schema.
You aren't because the above issue was fixed in 2021.10 and Draft7Validator is not used in 2021.12. 2021.12 switched to Draft 2019-09 and also requires json-schema 4.x.x.
This is the fix for your issue:
commit ae00cf6
Author: Rob Herring [email protected]
Date: Thu Sep 30 08:39:29 2021 -0500
dtschema: Rework __init__ arg handling for jsonschema 4.0.0
jsonschema 4.0.0 changed how Validator class attrs are initialized which
broke us. Update how we pass keyword args.
Sub-classing a validator is not supported according to the jsonschema
author and subject to breaking (as it just did), so we will need to
rework the interface.
Signed-off-by: Rob Herring <[email protected]>
from dt-schema.
I am sorry, in fact dt-schema was not well upgraded. Now I am really on 2021.12 and it works. Sorry for the error
from dt-schema.
Related Issues (20)
- KeyError: 0 on MIPS loongson64 DTS HOT 1
- Non-MMIO interrupt-controller nodes are illegal HOT 3
- Figure out how to print what schema file is the source of an error HOT 2
- phys with subnodes and #phy-cells requirement HOT 1
- setup.py inconsistencies and dependency issue HOT 2
- Need to ignore required properties in disabled child nodes HOT 1
- Allow clock-output-names to have a list of descriptions
- License and PyPi release HOT 5
- v2020.05 tarball does not build HOT 2
- dt-validate: TypeError: 'str' object does not support item assignment HOT 5
- Traceback when naively trying to check a dt example in yaml format HOT 2
- dt-doc-validate crashes when validating incorrect YAML file HOT 4
- Crash HOT 2
- dt-doc-validate won't check blocks inside allOf: - if: HOT 3
- Old example YAML files break dt-doc-validate / dt-mk-schema HOT 4
- tools/dt-doc-validate seems to fail HOT 2
- TypeError: 'str' object does not support item assignment HOT 3
- True is not of type 'integer', 'string' HOT 1
- TypeError: unhashable type: 'dict' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dt-schema.