pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-openapi-core



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug 27 13:33:24 UTC 2023

Modified Files:
        pkgsrc/textproc/py-openapi-core: Makefile PLIST distinfo

Log Message:
py-openapi-core: updated to 0.18.0

0.18.0

Upgrades

Compatibility with jsonschema 4.18, jsonschema-spec 0.2, openapi-schema-validator 0.6 and openapi-spec-validator 0.6
Update dependencies

Deprecations

spec_url parameter of Spec.from_dict is deprecated. Use base_uri instead.
ref_resolver_handlers parameter of Spec.from_dict is deprecated. Use handlers instead.

Backward incompatibilities

Drop python 3.7 support
Format validators ignore other types and pass (in accordance with the specification)
Remove deprecated features
Spec.create method
spec as a first parameter for validate_request and validate_response shortcuts
validator parameter for validate_request and validate_response shortcuts
return unmarshalling data result for validate_request and validate_response shortcuts
RequestValidator, ResponseValidator and openapi_ objects
custom_deserializersparameter
custom_formattersparameter


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-openapi-core/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-openapi-core/PLIST \
    pkgsrc/textproc/py-openapi-core/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-openapi-core/Makefile
diff -u pkgsrc/textproc/py-openapi-core/Makefile:1.5 pkgsrc/textproc/py-openapi-core/Makefile:1.6
--- pkgsrc/textproc/py-openapi-core/Makefile:1.5        Mon May 15 20:33:32 2023
+++ pkgsrc/textproc/py-openapi-core/Makefile    Sun Aug 27 13:33:23 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2023/05/15 20:33:32 adam Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/27 13:33:23 adam Exp $
 
-DISTNAME=      openapi_core-0.17.1
+DISTNAME=      openapi_core-0.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    textproc www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=o/openapi-core/}
@@ -11,17 +11,17 @@ COMMENT=    Client-side and server-side sup
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.6.0:../../www/py-asgiref
 DEPENDS+=      ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema-spec>=0.1.1:../../textproc/py-jsonschema-spec
-DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy-[0-9]*:../../devel/py-lazy-object-proxy
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=4.18.0:../../textproc/py-jsonschema
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema-spec>=0.2.3:../../textproc/py-jsonschema-spec
 DEPENDS+=      ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools
-DEPENDS+=      ${PYPKGPREFIX}-openapi-schema-validator>=0.4.2:../../textproc/py-openapi-schema-validator
-DEPENDS+=      ${PYPKGPREFIX}-openapi-spec-validator>=0.5.0:../../textproc/py-openapi-spec-validator
-DEPENDS+=      ${PYPKGPREFIX}-pathable>=0.4.0:../../devel/py-pathable
+DEPENDS+=      ${PYPKGPREFIX}-openapi-schema-validator>=0.6.0:../../textproc/py-openapi-schema-validator
+DEPENDS+=      ${PYPKGPREFIX}-openapi-spec-validator>=0.6.0:../../textproc/py-openapi-spec-validator
 DEPENDS+=      ${PYPKGPREFIX}-parse-[0-9]*:../../textproc/py-parse
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.3.0:../../devel/py-typing-extensions
 DEPENDS+=      ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
 TEST_DEPENDS+= ${PYPKGPREFIX}-WebOb-[0-9]*:../../www/py-WebOb
+TEST_DEPENDS+= ${PYPKGPREFIX}-aiohttp-[0-9]*:../../www/py-aiohttp
 TEST_DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django3
 TEST_DEPENDS+= ${PYPKGPREFIX}-falcon-[0-9]*:../../devel/py-falcon
 TEST_DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask

Index: pkgsrc/textproc/py-openapi-core/PLIST
diff -u pkgsrc/textproc/py-openapi-core/PLIST:1.3 pkgsrc/textproc/py-openapi-core/PLIST:1.4
--- pkgsrc/textproc/py-openapi-core/PLIST:1.3   Mon May 15 20:33:32 2023
+++ pkgsrc/textproc/py-openapi-core/PLIST       Sun Aug 27 13:33:23 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/05/15 20:33:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/08/27 13:33:23 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -22,6 +22,12 @@ ${PYSITELIB}/openapi_core/casting/schema
 ${PYSITELIB}/openapi_core/casting/schemas/factories.pyc
 ${PYSITELIB}/openapi_core/contrib/__init__.py
 ${PYSITELIB}/openapi_core/contrib/__init__.pyc
+${PYSITELIB}/openapi_core/contrib/aiohttp/__init__.py
+${PYSITELIB}/openapi_core/contrib/aiohttp/__init__.pyc
+${PYSITELIB}/openapi_core/contrib/aiohttp/requests.py
+${PYSITELIB}/openapi_core/contrib/aiohttp/requests.pyc
+${PYSITELIB}/openapi_core/contrib/aiohttp/responses.py
+${PYSITELIB}/openapi_core/contrib/aiohttp/responses.pyc
 ${PYSITELIB}/openapi_core/contrib/django/__init__.py
 ${PYSITELIB}/openapi_core/contrib/django/__init__.pyc
 ${PYSITELIB}/openapi_core/contrib/django/handlers.py
@@ -149,8 +155,6 @@ ${PYSITELIB}/openapi_core/spec/__init__.
 ${PYSITELIB}/openapi_core/spec/__init__.pyc
 ${PYSITELIB}/openapi_core/spec/paths.py
 ${PYSITELIB}/openapi_core/spec/paths.pyc
-${PYSITELIB}/openapi_core/spec/shortcuts.py
-${PYSITELIB}/openapi_core/spec/shortcuts.pyc
 ${PYSITELIB}/openapi_core/templating/__init__.py
 ${PYSITELIB}/openapi_core/templating/__init__.pyc
 ${PYSITELIB}/openapi_core/templating/datatypes.py
@@ -205,8 +209,6 @@ ${PYSITELIB}/openapi_core/unmarshalling/
 ${PYSITELIB}/openapi_core/unmarshalling/request/datatypes.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/request/protocols.py
 ${PYSITELIB}/openapi_core/unmarshalling/request/protocols.pyc
-${PYSITELIB}/openapi_core/unmarshalling/request/proxies.py
-${PYSITELIB}/openapi_core/unmarshalling/request/proxies.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/request/types.py
 ${PYSITELIB}/openapi_core/unmarshalling/request/types.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/request/unmarshallers.py
@@ -217,8 +219,6 @@ ${PYSITELIB}/openapi_core/unmarshalling/
 ${PYSITELIB}/openapi_core/unmarshalling/response/datatypes.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/response/protocols.py
 ${PYSITELIB}/openapi_core/unmarshalling/response/protocols.pyc
-${PYSITELIB}/openapi_core/unmarshalling/response/proxies.py
-${PYSITELIB}/openapi_core/unmarshalling/response/proxies.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/response/types.py
 ${PYSITELIB}/openapi_core/unmarshalling/response/types.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/response/unmarshallers.py
@@ -277,8 +277,6 @@ ${PYSITELIB}/openapi_core/validation/sch
 ${PYSITELIB}/openapi_core/validation/schemas/exceptions.pyc
 ${PYSITELIB}/openapi_core/validation/schemas/factories.py
 ${PYSITELIB}/openapi_core/validation/schemas/factories.pyc
-${PYSITELIB}/openapi_core/validation/schemas/formatters.py
-${PYSITELIB}/openapi_core/validation/schemas/formatters.pyc
 ${PYSITELIB}/openapi_core/validation/schemas/validators.py
 ${PYSITELIB}/openapi_core/validation/schemas/validators.pyc
 ${PYSITELIB}/openapi_core/validation/validators.py
Index: pkgsrc/textproc/py-openapi-core/distinfo
diff -u pkgsrc/textproc/py-openapi-core/distinfo:1.3 pkgsrc/textproc/py-openapi-core/distinfo:1.4
--- pkgsrc/textproc/py-openapi-core/distinfo:1.3        Mon May 15 20:33:32 2023
+++ pkgsrc/textproc/py-openapi-core/distinfo    Sun Aug 27 13:33:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2023/05/15 20:33:32 adam Exp $
+$NetBSD: distinfo,v 1.4 2023/08/27 13:33:24 adam Exp $
 
-BLAKE2s (openapi_core-0.17.1.tar.gz) = 6a7a1339b1e17099678a984fd2cda874ddc6212b66a47a4ad79a498de8bc045e
-SHA512 (openapi_core-0.17.1.tar.gz) = 0e2c673dbbfcce87ae7fbca6ec6c283d94c36376b1e17191d0bfa6c7001c62913381169b4614b5cd6131eaa67b729365036be3f1eb7641f634c0f3228de54897
-Size (openapi_core-0.17.1.tar.gz) = 85686 bytes
+BLAKE2s (openapi_core-0.18.0.tar.gz) = a9c3b2bf6a52f4c9b8439cb48a94772ad57c3da28e150c0ee127ca5841a55ef2
+SHA512 (openapi_core-0.18.0.tar.gz) = d9e516e00a53937f79c7419823a1533a507731e20da36e1186a1800f713154135524db968483ce850bd9a90a4c322ca1c957d6a7f99e9d8eefdc244ed9ce8bc0
+Size (openapi_core-0.18.0.tar.gz) = 83474 bytes



Home | Main Index | Thread Index | Old Index