diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-05-22 17:14:40 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-28 09:38:24 +0100 |
| commit | e5fc4e7cb91a072463c71a2446dad4e021bc347f (patch) | |
| tree | c9027ebbda45b5e622929909f297f4aad21aa5ec /meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | |
| parent | 026d372bf8035219d16d935ad7550bf0e2ce80b8 (diff) | |
| download | poky-e5fc4e7cb91a072463c71a2446dad4e021bc347f.tar.gz | |
python3-jsonschema: upgrade 4.21.1 -> 4.22.0
Changelog:
============
- Improve best_match (and thereby error messages from jsonschema.validate) in
cases where there are multiple sibling errors from applying anyOf / allOf
- (Micro-)optimize equality checks when comparing for JSON Schema equality by
first checking for object identity, as == would.
(From OE-Core rev: 4143346f3975504895a568569927af9884797231)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb new file mode 100644 index 0000000000..c3184396d2 --- /dev/null +++ b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | SUMMARY = "An implementation of JSON Schema validation for Python" | ||
| 2 | HOMEPAGE = "https://github.com/python-jsonschema/jsonschema" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ | ||
| 5 | file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7" | ||
| 8 | |||
| 9 | inherit pypi python_hatchling | ||
| 10 | |||
| 11 | PACKAGES =+ "${PN}-tests" | ||
| 12 | FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests" | ||
| 13 | |||
| 14 | DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native " | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "format" | ||
| 17 | PACKAGECONFIG[format] = ",,,\ | ||
| 18 | python3-idna \ | ||
| 19 | python3-jsonpointer \ | ||
| 20 | python3-webcolors \ | ||
| 21 | python3-rfc3987 \ | ||
| 22 | python3-rfc3339-validator \ | ||
| 23 | " | ||
| 24 | PACKAGECONFIG[nongpl] = ",,,\ | ||
| 25 | python3-idna \ | ||
| 26 | python3-jsonpointer \ | ||
| 27 | python3-webcolors \ | ||
| 28 | python3-rfc3986-validator \ | ||
| 29 | python3-rfc3339-validator \ | ||
| 30 | " | ||
| 31 | |||
| 32 | RDEPENDS:${PN} += " \ | ||
| 33 | python3-attrs \ | ||
| 34 | python3-core \ | ||
| 35 | python3-datetime \ | ||
| 36 | python3-importlib-metadata \ | ||
| 37 | python3-io \ | ||
| 38 | python3-json \ | ||
| 39 | python3-jsonschema-specifications \ | ||
| 40 | python3-netclient \ | ||
| 41 | python3-numbers \ | ||
| 42 | python3-pprint \ | ||
| 43 | python3-pyrsistent \ | ||
| 44 | python3-referencing \ | ||
| 45 | python3-zipp \ | ||
| 46 | " | ||
| 47 | |||
| 48 | RDEPENDS:${PN}-tests = "${PN}" | ||
| 49 | |||
| 50 | BBCLASSEXTEND = "native nativesdk" | ||
