Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 24BD81A921F for ; Thu, 7 Apr 2022 06:49:23 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 45A5F84EED; Thu, 7 Apr 2022 06:49:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7E7BF84D5E for ; Thu, 7 Apr 2022 06:49:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id d1VhFcB-9GN2 for ; Thu, 7 Apr 2022 06:49:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 59CAF84D47 for ; Thu, 7 Apr 2022 06:49:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4C6C0FB24; Thu, 7 Apr 2022 06:49:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1649314160125660" MIME-Version: 1.0 Date: Thu, 7 Apr 2022 06:49:20 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/textproc/py-jsonschema To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20220407064920.4C6C0FB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1649314160125660 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Apr 7 06:49:20 UTC 2022 Modified Files: pkgsrc/textproc/py-jsonschema: Makefile PLIST distinfo Log Message: py-jsonschema: updated to 4.4.0 v4.4.0 ------ * Add ``mypy`` support * Add support for Python 3.11 v4.3.3 ------ * Properly report deprecation warnings at the right stack level v4.3.2 ------ * Additional performance improvements for resolving refs v4.3.1 ------ * Resolving refs has had performance improvements v4.3.0 ------ * Fix undesired fallback to brute force container uniqueness check on certain input types * Implement a PEP544 Protocol for validator classes v4.2.1 ------ * Pin ``importlib.resources`` from below v4.2.0 ------ * Use ``importlib.resources`` to load schemas * Ensure all elements of arrays are verified for uniqueness by ``uniqueItems`` v4.1.2 ------ * Fix ``dependentSchemas`` to properly consider non-object instances to be valid v4.1.1 ------ * Fix ``prefixItems`` not indicating which item was invalid within the instance path v4.1.0 ------ * Add Python 3.10 to the list of supported Python versions v4.0.1 ------ * Fix the declaration of minimum supported Python version v4.0.0 ------ * Partial support for Draft 2020-12 (as well as 2019-09). Thanks to Thomas Schmidt and Harald Nezbeda. * ``False`` and ``0`` are now properly considered non-equal even recursively within a container ``uniqueItems`` validation may be *slower* in some cases. Please feel free to report any significant performance regressions, though in some cases they may be difficult to address given the specification requirement. * The CLI has been improved, and in particular now supports a ``--output`` option (with ``plain`` (default) or ``pretty`` arguments) to control the output format. Future work may add additional machine-parsable output formats. * Code surrounding ``DEFAULT_TYPES`` and the legacy mechanism for specifying types to validators have been removed, as per the deprecation policy. Validators should use the ``TypeChecker`` object to customize the set of Python types corresponding to JSON Schema types. * Validation errors now have a ``json_path`` attribute, describing their location in JSON path format * Support for the IP address and domain name formats has been improved * Support for Python 2 and 3.6 has been dropped, with ``python_requires`` properly set. * ``multipleOf`` could overflow when given sufficiently large numbers. Now, when an overflow occurs, ``jsonschema`` will fall back to using fraction division * ``jsonschema.__version__``, ``jsonschema.validators.validators``, ``jsonschema.validators.meta_schemas`` and ``jsonschema.RefResolver.in_scope`` have been deprecated, as has passing a second-argument schema to ``Validator.iter_errors`` and ``Validator.is_valid``. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/py-jsonschema/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-jsonschema/PLIST cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-jsonschema/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1649314160125660 Content-Disposition: inline Content-Length: 8238 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/py-jsonschema/Makefile diff -u pkgsrc/textproc/py-jsonschema/Makefile:1.21 pkgsrc/textproc/py-jsonschema/Makefile:1.22 --- pkgsrc/textproc/py-jsonschema/Makefile:1.21 Sun Feb 13 08:53:44 2022 +++ pkgsrc/textproc/py-jsonschema/Makefile Thu Apr 7 06:49:20 2022 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.21 2022/02/13 08:53:44 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2022/04/07 06:49:20 adam Exp $ -DISTNAME= jsonschema-3.2.0 +DISTNAME= jsonschema-4.4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonschema/} @@ -11,21 +10,25 @@ HOMEPAGE= https://github.com/Julian/json COMMENT= Implementation of JSON Schema for Python LICENSE= modified-bsd +BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4:../../devel/py-setuptools_scm DEPENDS+= ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs -DEPENDS+= ${PYPKGPREFIX}-pyrsistent>=0.14.0:../../devel/py-pyrsistent -DEPENDS+= ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-pyrsistent>=0.17.3:../../devel/py-pyrsistent +TEST_DEPENDS+= ${PYPKGPREFIX}-twisted>0:../../net/py-twisted -.include "../../lang/python/pyversion.mk" -.if ${_PYTHON_VERSION} == 27 -DEPENDS+= ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32 -.elif ${_PYTHON_VERSION} < 38 -PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata -.endif +USE_LANGUAGES= # none USE_PKG_RESOURCES= yes -PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build -PYTHON_VERSIONED_DEPENDENCIES+= twisted:test +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 38 +DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata +DEPENDS+= ${PYPKGPREFIX}-typing-extensions>0:../../devel/py-typing-extensions +.endif +.if ${_PYTHON_VERSION} < 39 +DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources +.endif post-install: cd ${DESTDIR}${PREFIX}/bin && \ @@ -34,6 +37,5 @@ post-install: do-test: cd ${WRKSRC}/jsonschema && ${PYTHONBIN} -m unittest discover -v -.include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" +.include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/py-jsonschema/PLIST diff -u pkgsrc/textproc/py-jsonschema/PLIST:1.6 pkgsrc/textproc/py-jsonschema/PLIST:1.7 --- pkgsrc/textproc/py-jsonschema/PLIST:1.6 Sat Oct 19 14:32:09 2019 +++ pkgsrc/textproc/py-jsonschema/PLIST Thu Apr 7 06:49:20 2022 @@ -1,84 +1,72 @@ -@comment $NetBSD: PLIST,v 1.6 2019/10/19 14:32:09 adam Exp $ +@comment $NetBSD: PLIST,v 1.7 2022/04/07 06:49:20 adam Exp $ bin/jsonschema-${PYVERSSUFFIX} -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/entry_points.txt -${PYSITELIB}/${EGG_INFODIR}/requires.txt -${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${WHEEL_INFODIR}/COPYING +${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json +${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt +${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt ${PYSITELIB}/jsonschema/__init__.py ${PYSITELIB}/jsonschema/__init__.pyc -${PYSITELIB}/jsonschema/__init__.pyo ${PYSITELIB}/jsonschema/__main__.py ${PYSITELIB}/jsonschema/__main__.pyc -${PYSITELIB}/jsonschema/__main__.pyo ${PYSITELIB}/jsonschema/_format.py ${PYSITELIB}/jsonschema/_format.pyc -${PYSITELIB}/jsonschema/_format.pyo ${PYSITELIB}/jsonschema/_legacy_validators.py ${PYSITELIB}/jsonschema/_legacy_validators.pyc -${PYSITELIB}/jsonschema/_legacy_validators.pyo ${PYSITELIB}/jsonschema/_reflect.py ${PYSITELIB}/jsonschema/_reflect.pyc -${PYSITELIB}/jsonschema/_reflect.pyo ${PYSITELIB}/jsonschema/_types.py ${PYSITELIB}/jsonschema/_types.pyc -${PYSITELIB}/jsonschema/_types.pyo ${PYSITELIB}/jsonschema/_utils.py ${PYSITELIB}/jsonschema/_utils.pyc -${PYSITELIB}/jsonschema/_utils.pyo ${PYSITELIB}/jsonschema/_validators.py ${PYSITELIB}/jsonschema/_validators.pyc -${PYSITELIB}/jsonschema/_validators.pyo ${PYSITELIB}/jsonschema/benchmarks/__init__.py ${PYSITELIB}/jsonschema/benchmarks/__init__.pyc -${PYSITELIB}/jsonschema/benchmarks/__init__.pyo ${PYSITELIB}/jsonschema/benchmarks/issue232.py ${PYSITELIB}/jsonschema/benchmarks/issue232.pyc -${PYSITELIB}/jsonschema/benchmarks/issue232.pyo ${PYSITELIB}/jsonschema/benchmarks/json_schema_test_suite.py ${PYSITELIB}/jsonschema/benchmarks/json_schema_test_suite.pyc -${PYSITELIB}/jsonschema/benchmarks/json_schema_test_suite.pyo ${PYSITELIB}/jsonschema/cli.py ${PYSITELIB}/jsonschema/cli.pyc -${PYSITELIB}/jsonschema/cli.pyo -${PYSITELIB}/jsonschema/compat.py -${PYSITELIB}/jsonschema/compat.pyc -${PYSITELIB}/jsonschema/compat.pyo ${PYSITELIB}/jsonschema/exceptions.py ${PYSITELIB}/jsonschema/exceptions.pyc -${PYSITELIB}/jsonschema/exceptions.pyo +${PYSITELIB}/jsonschema/protocols.py +${PYSITELIB}/jsonschema/protocols.pyc +${PYSITELIB}/jsonschema/schemas/draft2019-09.json +${PYSITELIB}/jsonschema/schemas/draft2020-12.json ${PYSITELIB}/jsonschema/schemas/draft3.json ${PYSITELIB}/jsonschema/schemas/draft4.json ${PYSITELIB}/jsonschema/schemas/draft6.json ${PYSITELIB}/jsonschema/schemas/draft7.json +${PYSITELIB}/jsonschema/schemas/vocabularies.json ${PYSITELIB}/jsonschema/tests/__init__.py ${PYSITELIB}/jsonschema/tests/__init__.pyc -${PYSITELIB}/jsonschema/tests/__init__.pyo ${PYSITELIB}/jsonschema/tests/_helpers.py ${PYSITELIB}/jsonschema/tests/_helpers.pyc -${PYSITELIB}/jsonschema/tests/_helpers.pyo ${PYSITELIB}/jsonschema/tests/_suite.py ${PYSITELIB}/jsonschema/tests/_suite.pyc -${PYSITELIB}/jsonschema/tests/_suite.pyo +${PYSITELIB}/jsonschema/tests/fuzz_validate.py +${PYSITELIB}/jsonschema/tests/fuzz_validate.pyc ${PYSITELIB}/jsonschema/tests/test_cli.py ${PYSITELIB}/jsonschema/tests/test_cli.pyc -${PYSITELIB}/jsonschema/tests/test_cli.pyo +${PYSITELIB}/jsonschema/tests/test_deprecations.py +${PYSITELIB}/jsonschema/tests/test_deprecations.pyc ${PYSITELIB}/jsonschema/tests/test_exceptions.py ${PYSITELIB}/jsonschema/tests/test_exceptions.pyc -${PYSITELIB}/jsonschema/tests/test_exceptions.pyo ${PYSITELIB}/jsonschema/tests/test_format.py ${PYSITELIB}/jsonschema/tests/test_format.pyc -${PYSITELIB}/jsonschema/tests/test_format.pyo ${PYSITELIB}/jsonschema/tests/test_jsonschema_test_suite.py ${PYSITELIB}/jsonschema/tests/test_jsonschema_test_suite.pyc -${PYSITELIB}/jsonschema/tests/test_jsonschema_test_suite.pyo ${PYSITELIB}/jsonschema/tests/test_types.py ${PYSITELIB}/jsonschema/tests/test_types.pyc -${PYSITELIB}/jsonschema/tests/test_types.pyo +${PYSITELIB}/jsonschema/tests/test_utils.py +${PYSITELIB}/jsonschema/tests/test_utils.pyc ${PYSITELIB}/jsonschema/tests/test_validators.py ${PYSITELIB}/jsonschema/tests/test_validators.pyc -${PYSITELIB}/jsonschema/tests/test_validators.pyo ${PYSITELIB}/jsonschema/validators.py ${PYSITELIB}/jsonschema/validators.pyc -${PYSITELIB}/jsonschema/validators.pyo Index: pkgsrc/textproc/py-jsonschema/distinfo diff -u pkgsrc/textproc/py-jsonschema/distinfo:1.10 pkgsrc/textproc/py-jsonschema/distinfo:1.11 --- pkgsrc/textproc/py-jsonschema/distinfo:1.10 Tue Oct 26 11:23:06 2021 +++ pkgsrc/textproc/py-jsonschema/distinfo Thu Apr 7 06:49:20 2022 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.10 2021/10/26 11:23:06 nia Exp $ +$NetBSD: distinfo,v 1.11 2022/04/07 06:49:20 adam Exp $ -BLAKE2s (jsonschema-3.2.0.tar.gz) = 7d9dbc21ee91dce88b404292db47ac06d944dae1c8612e2c2ac0398203c73e05 -SHA512 (jsonschema-3.2.0.tar.gz) = acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab -Size (jsonschema-3.2.0.tar.gz) = 167226 bytes +BLAKE2s (jsonschema-4.4.0.tar.gz) = e04f27ea5b75c46c0df864c290704146bba3ab6ac15c5d80f50db96496c2b91b +SHA512 (jsonschema-4.4.0.tar.gz) = 8e5c138f4debf7540e2cd131f3f208d1778927ac9036f5fa67bcf5db8c62fe1bb454c7818ee61acef64e856ea4b498ef6ab08be314a3c6b1e461e0bb44db41c7 +Size (jsonschema-4.4.0.tar.gz) = 313519 bytes --_----------=_1649314160125660--