Comments (5)
I observed a similar issue that was resolved after I upgraded pip to the latest version (23.2.1 as I write this)
from dt-schema.
For now I find I can use it like this:
PATH=$PATH:/home/sglass/cosarm/dt-schema/tools/ PYTHONPATH=/home/sglass/cosarm/dt-schema make DT_CHECKER_FLAGS=-m dt_binding_check -s -j30 DT_SCHEMA_FILES=mtd/partitions
from dt-schema.
Humm, works for me(TM):
$ pip3 install --break-system-packages git+https://github.com/devicetree-org/dt-schema.git@main
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/devicetree-org/dt-schema.git@main
Cloning https://github.com/devicetree-org/dt-schema.git (to revision main) to /tmp/pip-req-build-j66xqsin
Running command git clone --filter=blob:none --quiet https://github.com/devicetree-org/dt-schema.git /tmp/pip-req-build-j66xqsin
Resolved https://github.com/devicetree-org/dt-schema.git to commit 79243b1
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: ruamel.yaml>0.15.69 in /usr/lib/python3/dist-packages (from dtschema==2023.10.dev9+g79243b1c3dd4) (0.17.21)
Requirement already satisfied: jsonschema<4.18,>=4.1.2 in /home/rob/.local/lib/python3.11/site-packages (from dtschema==2023.10.dev9+g79243b1c3dd4) (4.17.3)
Requirement already satisfied: rfc3987 in /usr/lib/python3/dist-packages (from dtschema==2023.10.dev9+g79243b1c3dd4) (1.3.8)
Requirement already satisfied: pylibfdt in /home/rob/.local/lib/python3.11/site-packages (from dtschema==2023.10.dev9+g79243b1c3dd4) (1.7.0.post1)
Requirement already satisfied: attrs>=17.4.0 in /home/rob/.local/lib/python3.11/site-packages (from jsonschema<4.18,>=4.1.2->dtschema==2023.10.dev9+g79243b1c3dd4) (22.2.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/lib/python3/dist-packages (from jsonschema<4.18,>=4.1.2->dtschema==2023.10.dev9+g79243b1c3dd4) (0.18.1)
Building wheels for collected packages: dtschema
Building wheel for dtschema (pyproject.toml) ... done
Created wheel for dtschema: filename=dtschema-2023.10.dev9+g79243b1c3dd4-py3-none-any.whl size=99845 sha256=571a008480ee4695fbd514c33d766eed856cc9b5b7b9c3aeebb996ba6348064a
Stored in directory: /tmp/pip-ephem-wheel-cache-wb_5y6q1/wheels/34/5d/fa/f2d476ace200c637ffcc051d0083345e988949d9aa14e7560c
Successfully built dtschema
Installing collected packages: dtschema
Attempting uninstall: dtschema
Found existing installation: dtschema 2023.10.dev6+g1318b0345946
Uninstalling dtschema-2023.10.dev6+g1318b0345946:
Successfully uninstalled dtschema-2023.10.dev6+g1318b0345946
Successfully installed dtschema-2023.10.dev9+g79243b1c3dd4
$ dt-validate --version
2023.10.dev9+g79243b1c3dd4
from dt-schema.
That was with an editable install of dtschema. I did an install from PyPI and that worked too.
from dt-schema.
Yes, that seems to be it, since it works now. Thanks
from dt-schema.
Related Issues (20)
- Fail to validate DT with jsonschema>3 HOT 4
- 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
- KeyError: 0 on MIPS loongson64 DTS HOT 1
- Non-MMIO interrupt-controller nodes are illegal HOT 3
- DT_SCHEMA_FILES=Documentation/full/path stopped working HOT 1
- Raising the jsonschema cap to allow 4.18.* HOT 2
- jsonschema 4.18 migration HOT 2
- Crash in is_int_array_schema() HOT 1
- KeyError: 'type' HOT 1
- No warnings for unmatched compatibles ("-m") HOT 1
- PCI Bus binding reference link is dead HOT 1
- Local installation instruction not working HOT 1
- Missing stdin-path in chosen node schema HOT 2
- `if:properties:foo:contains:` can be true if property is not present HOT 2
- PCI binding: External interrupt-parent HOT 4
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.