Skip to content

yanglibrary issue in v4 vs v3 #2457

@steweg

Description

@steweg

Hi,

I am troubleshooting an issue, which is definitely related to v3 vs v4. The issue is coming from one of the tests of libyang-python project. It uses JSON file which defines usage of single testing module in it using legacy or deprecated syntax.

Originally I thought that this is somehow related to skipping of compilation of obsolete items or different ordering, but it doesn't seems so. I have tried to troubleshoot the calls and it seems that it is not able to find xpath modules-state/module for some reason, which I am not able to understand why.

Anyhow I have created a commit, which introduces a test that is working in v3 but not in v4 (#2456).

if possible, please take a look and let me know if this is really a bug on libyang side or if we need adjust libyang-python in a way, that it will no longer support the legacy way?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugBug description.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions