From e5fc4e7cb91a072463c71a2446dad4e021bc347f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 22 May 2024 17:14:40 +0800 Subject: 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-jsonschema_4.21.1.bb | 50 ---------------------- .../python/python3-jsonschema_4.22.0.bb | 50 ++++++++++++++++++++++ 2 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb create mode 100644 meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb (limited to 'meta') diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb b/meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb deleted file mode 100644 index 381148f4bb..0000000000 --- a/meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb +++ /dev/null @@ -1,50 +0,0 @@ -SUMMARY = "An implementation of JSON Schema validation for Python" -HOMEPAGE = "https://github.com/python-jsonschema/jsonschema" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ - file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" - -SRC_URI[sha256sum] = "85727c00279f5fa6bedbe6238d2aa6403bedd8b4864ab11207d07df3cc1b2ee5" - -inherit pypi python_hatchling - -PACKAGES =+ "${PN}-tests" -FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests" - -DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native " - -PACKAGECONFIG ??= "format" -PACKAGECONFIG[format] = ",,,\ - python3-idna \ - python3-jsonpointer \ - python3-webcolors \ - python3-rfc3987 \ - python3-rfc3339-validator \ -" -PACKAGECONFIG[nongpl] = ",,,\ - python3-idna \ - python3-jsonpointer \ - python3-webcolors \ - python3-rfc3986-validator \ - python3-rfc3339-validator \ -" - -RDEPENDS:${PN} += " \ - python3-attrs \ - python3-core \ - python3-datetime \ - python3-importlib-metadata \ - python3-io \ - python3-json \ - python3-jsonschema-specifications \ - python3-netclient \ - python3-numbers \ - python3-pprint \ - python3-pyrsistent \ - python3-referencing \ - python3-zipp \ -" - -RDEPENDS:${PN}-tests = "${PN}" - -BBCLASSEXTEND = "native nativesdk" 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 @@ +SUMMARY = "An implementation of JSON Schema validation for Python" +HOMEPAGE = "https://github.com/python-jsonschema/jsonschema" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ + file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" + +SRC_URI[sha256sum] = "5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7" + +inherit pypi python_hatchling + +PACKAGES =+ "${PN}-tests" +FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests" + +DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native " + +PACKAGECONFIG ??= "format" +PACKAGECONFIG[format] = ",,,\ + python3-idna \ + python3-jsonpointer \ + python3-webcolors \ + python3-rfc3987 \ + python3-rfc3339-validator \ +" +PACKAGECONFIG[nongpl] = ",,,\ + python3-idna \ + python3-jsonpointer \ + python3-webcolors \ + python3-rfc3986-validator \ + python3-rfc3339-validator \ +" + +RDEPENDS:${PN} += " \ + python3-attrs \ + python3-core \ + python3-datetime \ + python3-importlib-metadata \ + python3-io \ + python3-json \ + python3-jsonschema-specifications \ + python3-netclient \ + python3-numbers \ + python3-pprint \ + python3-pyrsistent \ + python3-referencing \ + python3-zipp \ +" + +RDEPENDS:${PN}-tests = "${PN}" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf