pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-jsonschema



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May  8 08:23:39 UTC 2024

Modified Files:
        pkgsrc/textproc/py-jsonschema: Makefile PLIST distinfo

Log Message:
py-jsonschema: updated to 4.22.0

v4.22.0

* Improve ``best_match`` (and thereby error messages from ``jsonschema.validate``) in cases where there are multiple *sibling* errors from applying ``anyOf`` / ``allOf`` -- i.e. when multiple 
elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array.
* (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as ``==`` would.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/textproc/py-jsonschema/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/py-jsonschema/PLIST
cvs rdiff -u -r1.25 -r1.26 pkgsrc/textproc/py-jsonschema/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jsonschema/Makefile
diff -u pkgsrc/textproc/py-jsonschema/Makefile:1.40 pkgsrc/textproc/py-jsonschema/Makefile:1.41
--- pkgsrc/textproc/py-jsonschema/Makefile:1.40 Sat Jan 20 08:01:49 2024
+++ pkgsrc/textproc/py-jsonschema/Makefile      Wed May  8 08:23:39 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2024/01/20 08:01:49 adam Exp $
+# $NetBSD: Makefile,v 1.41 2024/05/08 08:23:39 adam Exp $
 
-DISTNAME=      jsonschema-4.21.1
+DISTNAME=      jsonschema-4.22.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonschema/}

Index: pkgsrc/textproc/py-jsonschema/PLIST
diff -u pkgsrc/textproc/py-jsonschema/PLIST:1.15 pkgsrc/textproc/py-jsonschema/PLIST:1.16
--- pkgsrc/textproc/py-jsonschema/PLIST:1.15    Sat Jan 20 08:01:49 2024
+++ pkgsrc/textproc/py-jsonschema/PLIST Wed May  8 08:23:39 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2024/01/20 08:01:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/05/08 08:23:39 adam Exp $
 bin/jsonschema-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -32,6 +32,9 @@ ${PYSITELIB}/jsonschema/_utils.pyo
 ${PYSITELIB}/jsonschema/benchmarks/__init__.py
 ${PYSITELIB}/jsonschema/benchmarks/__init__.pyc
 ${PYSITELIB}/jsonschema/benchmarks/__init__.pyo
+${PYSITELIB}/jsonschema/benchmarks/const_vs_enum.py
+${PYSITELIB}/jsonschema/benchmarks/const_vs_enum.pyc
+${PYSITELIB}/jsonschema/benchmarks/const_vs_enum.pyo
 ${PYSITELIB}/jsonschema/benchmarks/contains.py
 ${PYSITELIB}/jsonschema/benchmarks/contains.pyc
 ${PYSITELIB}/jsonschema/benchmarks/contains.pyo
@@ -51,6 +54,12 @@ ${PYSITELIB}/jsonschema/benchmarks/subco
 ${PYSITELIB}/jsonschema/benchmarks/unused_registry.py
 ${PYSITELIB}/jsonschema/benchmarks/unused_registry.pyc
 ${PYSITELIB}/jsonschema/benchmarks/unused_registry.pyo
+${PYSITELIB}/jsonschema/benchmarks/useless_applicator_schemas.py
+${PYSITELIB}/jsonschema/benchmarks/useless_applicator_schemas.pyc
+${PYSITELIB}/jsonschema/benchmarks/useless_applicator_schemas.pyo
+${PYSITELIB}/jsonschema/benchmarks/useless_keywords.py
+${PYSITELIB}/jsonschema/benchmarks/useless_keywords.pyc
+${PYSITELIB}/jsonschema/benchmarks/useless_keywords.pyo
 ${PYSITELIB}/jsonschema/benchmarks/validator_creation.py
 ${PYSITELIB}/jsonschema/benchmarks/validator_creation.pyc
 ${PYSITELIB}/jsonschema/benchmarks/validator_creation.pyo

Index: pkgsrc/textproc/py-jsonschema/distinfo
diff -u pkgsrc/textproc/py-jsonschema/distinfo:1.25 pkgsrc/textproc/py-jsonschema/distinfo:1.26
--- pkgsrc/textproc/py-jsonschema/distinfo:1.25 Sat Jan 20 08:01:49 2024
+++ pkgsrc/textproc/py-jsonschema/distinfo      Wed May  8 08:23:39 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2024/01/20 08:01:49 adam Exp $
+$NetBSD: distinfo,v 1.26 2024/05/08 08:23:39 adam Exp $
 
-BLAKE2s (jsonschema-4.21.1.tar.gz) = 880e93ec15e016a72c129270dca5ccd158b24b3bf50a09029d1674cf33e911c3
-SHA512 (jsonschema-4.21.1.tar.gz) = b0744a80d64572307860c9238ff5048e062b7665d9ed97dd390bae0b168ab96497f359ddc4e95f052d8b177161e5b808ee432bd9fe182c1ea39cbad417db9278
-Size (jsonschema-4.21.1.tar.gz) = 321491 bytes
+BLAKE2s (jsonschema-4.22.0.tar.gz) = e7f88239c5688b7ed123d2555396d8dffc205199cf250e59724966243b08bd31
+SHA512 (jsonschema-4.22.0.tar.gz) = 72c9ffd1edf8820696d831062cfae2d38729935b32d12b7fa5171fefa3d38d495b588152c07224a5c9d1f4b9f97bd9b2aa7919d3d4ecdae0ba396e60e954b1c5
+Size (jsonschema-4.22.0.tar.gz) = 325490 bytes



Home | Main Index | Thread Index | Old Index