Deprecate `pyKwalify` for YAML validation
The pyKwalify project hasn't received updates since 2020 and the highest supported Python version is 3.9.
As an alternative, I propose moving to JSON schema
- An active project
- YAML as a superset of JSON
- Clear specifications
- Backed by large companies
Thanks for spotting and filing this! Do you have a rough idea of the extend of pyKwalify usage currently? I mean everywhere it's used for in west.
How different are the APIs?
Thanks for spotting and filing this! Do you have a rough idea of the extend of pyKwalify usage currently? I mean everywhere it's used for in
west.
It's used to validate manifest and command extension files. The changes required are limited, but as the schema is versioned in West, it might make sense to bump from currently 1.2 to 2.0? Even though it should be backwards compatible.
How different are the APIs?
The API is almost identical, there's a single validate function that throws an error if it's malformed. However the schema syntax is different.