Giter VIP home page Giter VIP logo

Comments (5)

eberman-quic avatar eberman-quic commented on August 20, 2024 1

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.

sjg20 avatar sjg20 commented on August 20, 2024

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.

robherring avatar robherring commented on August 20, 2024

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.

robherring avatar robherring commented on August 20, 2024

That was with an editable install of dtschema. I did an install from PyPI and that worked too.

from dt-schema.

sjg20 avatar sjg20 commented on August 20, 2024

Yes, that seems to be it, since it works now. Thanks

from dt-schema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.