mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
python3-jsonschema: upgrade 4.16.0 -> 4.17.0
Changelog: =========== * The "check_schema" method on "jsonschema.protocols.Validator" instances now *enables* format validation by default when run. This can catch some additional invalid schemas (e.g. containing invalid regular expressions) where the issue is indeed uncovered by validating against the metaschema with format validation enabled as an assertion. * The "jsonschema" CLI (along with "jsonschema.cli" the module) are now deprecated. Use "check-jsonschema" instead, which can be installed via "pip install check-jsonschema" and found 'here <https://github.com/python-jsonschema/check-jsonschema>'_. * Make "ErrorTree" have a more grammatically correct "repr". (From OE-Core rev: b8cece422c789816a8140af519e13a977065c8d6) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
aeda828e55
commit
95f801de6f
48
meta/recipes-devtools/python/python3-jsonschema_4.17.0.bb
Normal file
48
meta/recipes-devtools/python/python3-jsonschema_4.17.0.bb
Normal file
@@ -0,0 +1,48 @@
|
||||
SUMMARY = "An implementation of JSON Schema validation for Python"
|
||||
HOMEPAGE = "https://github.com/Julian/jsonschema"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
|
||||
file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
|
||||
|
||||
SRC_URI[sha256sum] = "5bfcf2bca16a087ade17e02b282d34af7ccd749ef76241e7f9bd7c0cb8a9424d"
|
||||
|
||||
inherit pypi python_hatchling
|
||||
|
||||
PACKAGES =+ "${PN}-tests"
|
||||
FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests"
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-hatch-fancy-pypi-readme-native ${PYTHON_PN}-hatch-vcs-native "
|
||||
|
||||
PACKAGECONFIG ??= "format"
|
||||
PACKAGECONFIG[format] = ",,,\
|
||||
${PYTHON_PN}-idna \
|
||||
${PYTHON_PN}-jsonpointer \
|
||||
${PYTHON_PN}-webcolors \
|
||||
${PYTHON_PN}-rfc3987 \
|
||||
${PYTHON_PN}-strict-rfc3339 \
|
||||
"
|
||||
PACKAGECONFIG[nongpl] = ",,,\
|
||||
${PYTHON_PN}-idna \
|
||||
${PYTHON_PN}-jsonpointer \
|
||||
${PYTHON_PN}-webcolors \
|
||||
${PYTHON_PN}-rfc3986-validator \
|
||||
${PYTHON_PN}-rfc3339-validator \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-importlib-metadata \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-numbers \
|
||||
${PYTHON_PN}-pprint \
|
||||
${PYTHON_PN}-pyrsistent \
|
||||
${PYTHON_PN}-zipp \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-tests = "${PN}"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user