Re: [PATCH v2 1/2] dt-bindings: iio: pressure: add honeywell,hsc030

From: Krzysztof Kozlowski
Date: Mon Nov 20 2023 - 05:15:56 EST


On 19/11/2023 21:14, Petre Rodan wrote:
>
> Good morning!
>
> On Sun, Nov 19, 2023 at 07:49:39AM -0600, Rob Herring wrote:
>> On Fri, Nov 17, 2023 at 09:22:57PM +0200, Petre Rodan wrote:
>>> Adds binding for digital Honeywell TruStability HSC and SSC series pressure
>>> and temperature sensors.
>>>
> [..]
>>> Changes for v2:
>>> - Removed redundant quotations reported by robh's bot
>>> - Fixed yamllint warnings
>>>
>>> I'm failing to run 'make DT_CHECKER_FLAGS=-m dt_binding_check' due to
>>> python errors and exceptions
>>
>> What exceptions?
>
> thanks for asking.
>
> first off, installed packages. the first 4 are not part of the official Gentoo repo, so I might have prepared them with missing options if any where not included by default.
> I know nothing about python.

The easiest is to install them with pip. You might get old versions from
your distro. Although in your case, it looks you got most recent.

>
> $ equery l dtschema pylibfdt ruamel-yaml yamllint jsonschema python
> [I-O] [ ] dev-python/dtschema-2023.9:0
> [I-O] [ ] dev-python/pylibfdt-1.7.0_p1:0
> [I-O] [ ] dev-python/ruamel-yaml-0.18.5:0
> [I-O] [ ] dev-python/yamllint-1.33.0:0
> [IP-] [ ] dev-python/jsonschema-4.19.1:0

I guess this is the problem. The dtschema explicitly asks for:
"jsonschema>=4.1.2,<4.18",
because newer jsonschema does not work well for us.

Best regards,
Krzysztof