diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2021-01-21 15:17:08 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-01-25 14:34:06 -0800 |
commit | 4ee8ea68a571655dc7151a65e16dd4f280a90679 (patch) | |
tree | 2df2e2d4d012f4fd4a3de00744894dc1b31e29bf /meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch | |
parent | 1745dd9993493b959e01d5d4e17f070fea568e1c (diff) | |
download | meta-openembedded-4ee8ea68a571655dc7151a65e16dd4f280a90679.tar.gz |
python3-pykwalify: Upgrade 1.7.0 -> 1.8.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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch b/meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch deleted file mode 100644 index 689355eeaf..0000000000 --- a/meta-python/recipes-devtools/python/python3-pykwalify/0001-rule.py-fix-missing-comma.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From f96b76efb810d7d559254d0ec58de628e09f525a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= <marti.f.bolivar@gmail.com> | ||
3 | Date: Mon, 13 Jan 2020 08:42:05 -0800 | ||
4 | Subject: [PATCH] rule.py: fix missing comma | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | A line in the defined_keywords list is missing a comma. Add it. | ||
10 | |||
11 | Signed-off-by: Martí Bolívar <marti.f.bolivar@gmail.com> | ||
12 | |||
13 | Upstream-Status: Backport [https://github.com/Grokzen/pykwalify.git] | ||
14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
15 | --- | ||
16 | pykwalify/rule.py | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/pykwalify/rule.py b/pykwalify/rule.py | ||
20 | index 7ac2c9e..f044b69 100644 | ||
21 | --- a/pykwalify/rule.py | ||
22 | +++ b/pykwalify/rule.py | ||
23 | @@ -340,7 +340,7 @@ class Rule(object): | ||
24 | ('matching', 'matching'), | ||
25 | ('matching_rule', 'matching_rule'), | ||
26 | ('name', 'name'), | ||
27 | - ('nullable', 'nullable') | ||
28 | + ('nullable', 'nullable'), | ||
29 | ('parent', 'parent'), | ||
30 | ('pattern', 'pattern'), | ||
31 | ('pattern_regexp', 'pattern_regexp'), | ||
32 | -- | ||
33 | 2.18.2 | ||
34 | |||