summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pykwalify
Commit message (Collapse)AuthorAgeFilesLines
* python3-pykwalify: Upgrade 1.7.0 -> 1.8.0Leon Anavi2021-01-251-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 1.8.0: - Dropped support for python 3.5 and below, including 2.7 - ruamel.yaml is now the default and preffered yaml parser - Dropped support for pyyaml parser - Update minimum version of ruamel.yaml to 0.16.0 - Update minimum version of python-dateutil to 2.8.0 - Added new cli argument "--encoding ENCODING" that specifies what encoding to open data and schema files with - Enum error strings now output all possible values for easier debugging - Removed deprecated imp module. Dynamic imports imght be affected - Implement new type email that uses a relative simple regex to validate email addresses according to RFC 5322 Official Standard - Implement new type url that uses a relative simple regex to validate url:s according to RFC 1808 - Add new argument "schema_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation. - Add new argument "data_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation. - Fixed a regression from 1.6.1 where ruamel.yaml safe_load would break for all built-in custom python tags. - All normal python tags should now be possible to use again. - Fixed an issue with regex values that was not converted to str() before regex mapping was attempted. - This should validate things like integers and objects that support str() conversion better. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pykwalify: fix missing commaHongxu Jia2020-09-241-0/+34
... |/usr/lib/python3.8/site-packages/pykwalify/rule.py:343: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a comma? ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>