pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-jsonschema py-jsonschema: updated to 4.17.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fad44cb62f8b
branches:  trunk
changeset: 388508:fad44cb62f8b
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 21 20:06:08 2022 +0000

description:
py-jsonschema: updated to 4.17.0

v4.17.0
=======

* 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>`_.

diffstat:

 textproc/py-jsonschema/Makefile |  8 ++------
 textproc/py-jsonschema/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 10 deletions(-)

diffs (36 lines):

diff -r f34ec4ce0562 -r fad44cb62f8b textproc/py-jsonschema/Makefile
--- a/textproc/py-jsonschema/Makefile   Mon Nov 21 18:25:54 2022 +0000
+++ b/textproc/py-jsonschema/Makefile   Mon Nov 21 20:06:08 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2022/09/14 11:04:57 adam Exp $
+# $NetBSD: Makefile,v 1.30 2022/11/21 20:06:08 adam Exp $
 
-DISTNAME=      jsonschema-4.16.0
+DISTNAME=      jsonschema-4.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsonschema/}
@@ -23,10 +23,6 @@
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
-.endif
 .if ${_PYTHON_VERSION} < 39
 DEPENDS+=      ${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources
 DEPENDS+=      ${PYPKGPREFIX}-pkgutil_resolve_name>=1.3.10:../../devel/py-pkgutil_resolve_name
diff -r f34ec4ce0562 -r fad44cb62f8b textproc/py-jsonschema/distinfo
--- a/textproc/py-jsonschema/distinfo   Mon Nov 21 18:25:54 2022 +0000
+++ b/textproc/py-jsonschema/distinfo   Mon Nov 21 20:06:08 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2022/09/14 11:04:57 adam Exp $
+$NetBSD: distinfo,v 1.17 2022/11/21 20:06:08 adam Exp $
 
-BLAKE2s (jsonschema-4.16.0.tar.gz) = f2f85a575b4203252fbbaa253766fd7cd754460bbd9ae026700bae0c9d04f903
-SHA512 (jsonschema-4.16.0.tar.gz) = c84abc992f410e9d558e2ce06c7172e9e2d298cff469baf8a23b1ea5b4777e6addfa757c5cc62b2e28e257721ee55e04bec0852e5f525adfa87392cbf712828f
-Size (jsonschema-4.16.0.tar.gz) = 292399 bytes
+BLAKE2s (jsonschema-4.17.0.tar.gz) = 759437d0daeb12486d040e62c618dfb73f98d8e81316149a0f9dc67eb0bebbbf
+SHA512 (jsonschema-4.17.0.tar.gz) = a0160caea26527e5afbba48fea7f0700e8cd0bb5cbd9661501d34f5dd9857971ca3fd9982bc17f570d0b5a08eb5ecfd0e5182f78a0e0a6343621ed8360643166
+Size (jsonschema-4.17.0.tar.gz) = 293414 bytes



Home | Main Index | Thread Index | Old Index