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:           Wed Feb 21 19:53:03 UTC 2024

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

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

0.19.0
This version focuses on OpenAPI app and support for binary requests and responses.

Features

FastAPI integration
Mimetype parameters (i.e. charset) handling
Parameter deserializers renamed to Style deserializers
Unmarshalling processor enhancement
Option to skip response validation in Django, Falcon and Flask integrations
use explicit arguments (instead of kwargs) in Spec.from_dict and add short note in documentation how to use base_url for Spec.from_dict
Parameter and header get value refactor
Python 3.12 support
Bump openapi-spec-validator from 0.6.0 to 0.7.0
Use openapi-spec-validator spec version finder
Move to SchemaPath from jsonschema-path package
Specification validation as part of shortcuts
Style deserializing reimplementation with support for all styles
Media type encoding support
Replace mimetype with content_type to include content parameters
Suport for primitive properties casting of urlencoded objects.
Request response binary format support
Starlette middleware
OpenAPI app and high level integration

Bug fixes

aiohttp request host_url include scheme
aiohttp response body check none
Validate empty request body fix
Path finder returns default server
OpenAPI config passed to validators and unmarshallers fix
milti types schema format unmarshal fix

Deprecations

Spec class is deprecated. Use SchemaPath from jsonschema-path package.

Breaking changes

request_class/response_class renamed to request_cls/response_cls in unmarshalling processors (Django, Falcon and Flask integrations)
ParameterDeserializersFactory renamed to StyleDeserializersFactory
unmarshalling byte and binary formats return bytes
Specification validation is no longer part of Spec object creation and moved to be part of OpenAPI object creation.
Request and Response protocols' mimetype attribute replaced with content_type
Request protocol's body attribute returns bytes instead of str
Response protocol's data attribute returns bytes instead of str
Unmarshalling no longer raises FormatUnmarshalError


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-openapi-core/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-openapi-core/PLIST
cvs rdiff -u -r1.6 -r1.7 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.10 pkgsrc/textproc/py-openapi-core/Makefile:1.11
--- pkgsrc/textproc/py-openapi-core/Makefile:1.10       Thu Nov  9 18:59:14 2023
+++ pkgsrc/textproc/py-openapi-core/Makefile    Wed Feb 21 19:53:03 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2023/11/09 18:59:14 adam Exp $
+# $NetBSD: Makefile,v 1.11 2024/02/21 19:53:03 adam Exp $
 
-DISTNAME=      openapi_core-0.18.2
+DISTNAME=      openapi_core-0.19.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    textproc www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=o/openapi-core/}
@@ -14,7 +14,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-poetry-cor
 DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.6.0:../../www/py-asgiref
 DEPENDS+=      ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate
 DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=4.18.0:../../textproc/py-jsonschema
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema-spec>=0.2.3:../../textproc/py-jsonschema-spec
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema-path>=0.3.1:../../textproc/py-jsonschema-path
 DEPENDS+=      ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools
 DEPENDS+=      ${PYPKGPREFIX}-openapi-schema-validator>=0.6.0:../../textproc/py-openapi-schema-validator
 DEPENDS+=      ${PYPKGPREFIX}-openapi-spec-validator>=0.7.1:../../textproc/py-openapi-spec-validator

Index: pkgsrc/textproc/py-openapi-core/PLIST
diff -u pkgsrc/textproc/py-openapi-core/PLIST:1.5 pkgsrc/textproc/py-openapi-core/PLIST:1.6
--- pkgsrc/textproc/py-openapi-core/PLIST:1.5   Sat Oct 28 19:57:18 2023
+++ pkgsrc/textproc/py-openapi-core/PLIST       Wed Feb 21 19:53:03 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2023/10/28 19:57:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/02/21 19:53:03 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -6,6 +6,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/openapi_core/__init__.py
 ${PYSITELIB}/openapi_core/__init__.pyc
 ${PYSITELIB}/openapi_core/__init__.pyo
+${PYSITELIB}/openapi_core/app.py
+${PYSITELIB}/openapi_core/app.pyc
+${PYSITELIB}/openapi_core/app.pyo
 ${PYSITELIB}/openapi_core/casting/__init__.py
 ${PYSITELIB}/openapi_core/casting/__init__.pyc
 ${PYSITELIB}/openapi_core/casting/__init__.pyo
@@ -24,6 +27,9 @@ ${PYSITELIB}/openapi_core/casting/schema
 ${PYSITELIB}/openapi_core/casting/schemas/factories.py
 ${PYSITELIB}/openapi_core/casting/schemas/factories.pyc
 ${PYSITELIB}/openapi_core/casting/schemas/factories.pyo
+${PYSITELIB}/openapi_core/configurations.py
+${PYSITELIB}/openapi_core/configurations.pyc
+${PYSITELIB}/openapi_core/configurations.pyo
 ${PYSITELIB}/openapi_core/contrib/__init__.py
 ${PYSITELIB}/openapi_core/contrib/__init__.pyc
 ${PYSITELIB}/openapi_core/contrib/__init__.pyo
@@ -42,6 +48,9 @@ ${PYSITELIB}/openapi_core/contrib/django
 ${PYSITELIB}/openapi_core/contrib/django/handlers.py
 ${PYSITELIB}/openapi_core/contrib/django/handlers.pyc
 ${PYSITELIB}/openapi_core/contrib/django/handlers.pyo
+${PYSITELIB}/openapi_core/contrib/django/integrations.py
+${PYSITELIB}/openapi_core/contrib/django/integrations.pyc
+${PYSITELIB}/openapi_core/contrib/django/integrations.pyo
 ${PYSITELIB}/openapi_core/contrib/django/middlewares.py
 ${PYSITELIB}/openapi_core/contrib/django/middlewares.pyc
 ${PYSITELIB}/openapi_core/contrib/django/middlewares.pyo
@@ -57,6 +66,9 @@ ${PYSITELIB}/openapi_core/contrib/falcon
 ${PYSITELIB}/openapi_core/contrib/falcon/handlers.py
 ${PYSITELIB}/openapi_core/contrib/falcon/handlers.pyc
 ${PYSITELIB}/openapi_core/contrib/falcon/handlers.pyo
+${PYSITELIB}/openapi_core/contrib/falcon/integrations.py
+${PYSITELIB}/openapi_core/contrib/falcon/integrations.pyc
+${PYSITELIB}/openapi_core/contrib/falcon/integrations.pyo
 ${PYSITELIB}/openapi_core/contrib/falcon/middlewares.py
 ${PYSITELIB}/openapi_core/contrib/falcon/middlewares.pyc
 ${PYSITELIB}/openapi_core/contrib/falcon/middlewares.pyo
@@ -69,6 +81,18 @@ ${PYSITELIB}/openapi_core/contrib/falcon
 ${PYSITELIB}/openapi_core/contrib/falcon/views.py
 ${PYSITELIB}/openapi_core/contrib/falcon/views.pyc
 ${PYSITELIB}/openapi_core/contrib/falcon/views.pyo
+${PYSITELIB}/openapi_core/contrib/fastapi/__init__.py
+${PYSITELIB}/openapi_core/contrib/fastapi/__init__.pyc
+${PYSITELIB}/openapi_core/contrib/fastapi/__init__.pyo
+${PYSITELIB}/openapi_core/contrib/fastapi/middlewares.py
+${PYSITELIB}/openapi_core/contrib/fastapi/middlewares.pyc
+${PYSITELIB}/openapi_core/contrib/fastapi/middlewares.pyo
+${PYSITELIB}/openapi_core/contrib/fastapi/requests.py
+${PYSITELIB}/openapi_core/contrib/fastapi/requests.pyc
+${PYSITELIB}/openapi_core/contrib/fastapi/requests.pyo
+${PYSITELIB}/openapi_core/contrib/fastapi/responses.py
+${PYSITELIB}/openapi_core/contrib/fastapi/responses.pyc
+${PYSITELIB}/openapi_core/contrib/fastapi/responses.pyo
 ${PYSITELIB}/openapi_core/contrib/flask/__init__.py
 ${PYSITELIB}/openapi_core/contrib/flask/__init__.pyc
 ${PYSITELIB}/openapi_core/contrib/flask/__init__.pyo
@@ -78,6 +102,9 @@ ${PYSITELIB}/openapi_core/contrib/flask/
 ${PYSITELIB}/openapi_core/contrib/flask/handlers.py
 ${PYSITELIB}/openapi_core/contrib/flask/handlers.pyc
 ${PYSITELIB}/openapi_core/contrib/flask/handlers.pyo
+${PYSITELIB}/openapi_core/contrib/flask/integrations.py
+${PYSITELIB}/openapi_core/contrib/flask/integrations.pyc
+${PYSITELIB}/openapi_core/contrib/flask/integrations.pyo
 ${PYSITELIB}/openapi_core/contrib/flask/providers.py
 ${PYSITELIB}/openapi_core/contrib/flask/providers.pyc
 ${PYSITELIB}/openapi_core/contrib/flask/providers.pyo
@@ -105,6 +132,15 @@ ${PYSITELIB}/openapi_core/contrib/reques
 ${PYSITELIB}/openapi_core/contrib/starlette/__init__.py
 ${PYSITELIB}/openapi_core/contrib/starlette/__init__.pyc
 ${PYSITELIB}/openapi_core/contrib/starlette/__init__.pyo
+${PYSITELIB}/openapi_core/contrib/starlette/handlers.py
+${PYSITELIB}/openapi_core/contrib/starlette/handlers.pyc
+${PYSITELIB}/openapi_core/contrib/starlette/handlers.pyo
+${PYSITELIB}/openapi_core/contrib/starlette/integrations.py
+${PYSITELIB}/openapi_core/contrib/starlette/integrations.pyc
+${PYSITELIB}/openapi_core/contrib/starlette/integrations.pyo
+${PYSITELIB}/openapi_core/contrib/starlette/middlewares.py
+${PYSITELIB}/openapi_core/contrib/starlette/middlewares.pyc
+${PYSITELIB}/openapi_core/contrib/starlette/middlewares.pyo
 ${PYSITELIB}/openapi_core/contrib/starlette/requests.py
 ${PYSITELIB}/openapi_core/contrib/starlette/requests.pyc
 ${PYSITELIB}/openapi_core/contrib/starlette/requests.pyo
@@ -147,24 +183,24 @@ ${PYSITELIB}/openapi_core/deserializing/
 ${PYSITELIB}/openapi_core/deserializing/media_types/util.py
 ${PYSITELIB}/openapi_core/deserializing/media_types/util.pyc
 ${PYSITELIB}/openapi_core/deserializing/media_types/util.pyo
-${PYSITELIB}/openapi_core/deserializing/parameters/__init__.py
-${PYSITELIB}/openapi_core/deserializing/parameters/__init__.pyc
-${PYSITELIB}/openapi_core/deserializing/parameters/__init__.pyo
-${PYSITELIB}/openapi_core/deserializing/parameters/datatypes.py
-${PYSITELIB}/openapi_core/deserializing/parameters/datatypes.pyc
-${PYSITELIB}/openapi_core/deserializing/parameters/datatypes.pyo
-${PYSITELIB}/openapi_core/deserializing/parameters/deserializers.py
-${PYSITELIB}/openapi_core/deserializing/parameters/deserializers.pyc
-${PYSITELIB}/openapi_core/deserializing/parameters/deserializers.pyo
-${PYSITELIB}/openapi_core/deserializing/parameters/exceptions.py
-${PYSITELIB}/openapi_core/deserializing/parameters/exceptions.pyc
-${PYSITELIB}/openapi_core/deserializing/parameters/exceptions.pyo
-${PYSITELIB}/openapi_core/deserializing/parameters/factories.py
-${PYSITELIB}/openapi_core/deserializing/parameters/factories.pyc
-${PYSITELIB}/openapi_core/deserializing/parameters/factories.pyo
-${PYSITELIB}/openapi_core/deserializing/parameters/util.py
-${PYSITELIB}/openapi_core/deserializing/parameters/util.pyc
-${PYSITELIB}/openapi_core/deserializing/parameters/util.pyo
+${PYSITELIB}/openapi_core/deserializing/styles/__init__.py
+${PYSITELIB}/openapi_core/deserializing/styles/__init__.pyc
+${PYSITELIB}/openapi_core/deserializing/styles/__init__.pyo
+${PYSITELIB}/openapi_core/deserializing/styles/datatypes.py
+${PYSITELIB}/openapi_core/deserializing/styles/datatypes.pyc
+${PYSITELIB}/openapi_core/deserializing/styles/datatypes.pyo
+${PYSITELIB}/openapi_core/deserializing/styles/deserializers.py
+${PYSITELIB}/openapi_core/deserializing/styles/deserializers.pyc
+${PYSITELIB}/openapi_core/deserializing/styles/deserializers.pyo
+${PYSITELIB}/openapi_core/deserializing/styles/exceptions.py
+${PYSITELIB}/openapi_core/deserializing/styles/exceptions.pyc
+${PYSITELIB}/openapi_core/deserializing/styles/exceptions.pyo
+${PYSITELIB}/openapi_core/deserializing/styles/factories.py
+${PYSITELIB}/openapi_core/deserializing/styles/factories.pyc
+${PYSITELIB}/openapi_core/deserializing/styles/factories.pyo
+${PYSITELIB}/openapi_core/deserializing/styles/util.py
+${PYSITELIB}/openapi_core/deserializing/styles/util.pyc
+${PYSITELIB}/openapi_core/deserializing/styles/util.pyo
 ${PYSITELIB}/openapi_core/exceptions.py
 ${PYSITELIB}/openapi_core/exceptions.pyc
 ${PYSITELIB}/openapi_core/exceptions.pyo
@@ -180,9 +216,6 @@ ${PYSITELIB}/openapi_core/extensions/mod
 ${PYSITELIB}/openapi_core/extensions/models/types.py
 ${PYSITELIB}/openapi_core/extensions/models/types.pyc
 ${PYSITELIB}/openapi_core/extensions/models/types.pyo
-${PYSITELIB}/openapi_core/finders.py
-${PYSITELIB}/openapi_core/finders.pyc
-${PYSITELIB}/openapi_core/finders.pyo
 ${PYSITELIB}/openapi_core/protocols.py
 ${PYSITELIB}/openapi_core/protocols.pyc
 ${PYSITELIB}/openapi_core/protocols.pyo
@@ -190,6 +223,9 @@ ${PYSITELIB}/openapi_core/py.typed
 ${PYSITELIB}/openapi_core/schema/__init__.py
 ${PYSITELIB}/openapi_core/schema/__init__.pyc
 ${PYSITELIB}/openapi_core/schema/__init__.pyo
+${PYSITELIB}/openapi_core/schema/encodings.py
+${PYSITELIB}/openapi_core/schema/encodings.pyc
+${PYSITELIB}/openapi_core/schema/encodings.pyo
 ${PYSITELIB}/openapi_core/schema/parameters.py
 ${PYSITELIB}/openapi_core/schema/parameters.pyc
 ${PYSITELIB}/openapi_core/schema/parameters.pyo
@@ -289,12 +325,24 @@ ${PYSITELIB}/openapi_core/testing/reques
 ${PYSITELIB}/openapi_core/testing/responses.py
 ${PYSITELIB}/openapi_core/testing/responses.pyc
 ${PYSITELIB}/openapi_core/testing/responses.pyo
+${PYSITELIB}/openapi_core/types.py
+${PYSITELIB}/openapi_core/types.pyc
+${PYSITELIB}/openapi_core/types.pyo
+${PYSITELIB}/openapi_core/typing.py
+${PYSITELIB}/openapi_core/typing.pyc
+${PYSITELIB}/openapi_core/typing.pyo
 ${PYSITELIB}/openapi_core/unmarshalling/__init__.py
 ${PYSITELIB}/openapi_core/unmarshalling/__init__.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/__init__.pyo
+${PYSITELIB}/openapi_core/unmarshalling/configurations.py
+${PYSITELIB}/openapi_core/unmarshalling/configurations.pyc
+${PYSITELIB}/openapi_core/unmarshalling/configurations.pyo
 ${PYSITELIB}/openapi_core/unmarshalling/datatypes.py
 ${PYSITELIB}/openapi_core/unmarshalling/datatypes.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/datatypes.pyo
+${PYSITELIB}/openapi_core/unmarshalling/integrations.py
+${PYSITELIB}/openapi_core/unmarshalling/integrations.pyc
+${PYSITELIB}/openapi_core/unmarshalling/integrations.pyo
 ${PYSITELIB}/openapi_core/unmarshalling/processors.py
 ${PYSITELIB}/openapi_core/unmarshalling/processors.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/processors.pyo
@@ -304,6 +352,9 @@ ${PYSITELIB}/openapi_core/unmarshalling/
 ${PYSITELIB}/openapi_core/unmarshalling/request/datatypes.py
 ${PYSITELIB}/openapi_core/unmarshalling/request/datatypes.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/request/datatypes.pyo
+${PYSITELIB}/openapi_core/unmarshalling/request/processors.py
+${PYSITELIB}/openapi_core/unmarshalling/request/processors.pyc
+${PYSITELIB}/openapi_core/unmarshalling/request/processors.pyo
 ${PYSITELIB}/openapi_core/unmarshalling/request/protocols.py
 ${PYSITELIB}/openapi_core/unmarshalling/request/protocols.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/request/protocols.pyo
@@ -319,6 +370,9 @@ ${PYSITELIB}/openapi_core/unmarshalling/
 ${PYSITELIB}/openapi_core/unmarshalling/response/datatypes.py
 ${PYSITELIB}/openapi_core/unmarshalling/response/datatypes.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/response/datatypes.pyo
+${PYSITELIB}/openapi_core/unmarshalling/response/processors.py
+${PYSITELIB}/openapi_core/unmarshalling/response/processors.pyc
+${PYSITELIB}/openapi_core/unmarshalling/response/processors.pyo
 ${PYSITELIB}/openapi_core/unmarshalling/response/protocols.py
 ${PYSITELIB}/openapi_core/unmarshalling/response/protocols.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/response/protocols.pyo
@@ -346,6 +400,9 @@ ${PYSITELIB}/openapi_core/unmarshalling/
 ${PYSITELIB}/openapi_core/unmarshalling/schemas/util.py
 ${PYSITELIB}/openapi_core/unmarshalling/schemas/util.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/schemas/util.pyo
+${PYSITELIB}/openapi_core/unmarshalling/typing.py
+${PYSITELIB}/openapi_core/unmarshalling/typing.pyc
+${PYSITELIB}/openapi_core/unmarshalling/typing.pyo
 ${PYSITELIB}/openapi_core/unmarshalling/unmarshallers.py
 ${PYSITELIB}/openapi_core/unmarshalling/unmarshallers.pyc
 ${PYSITELIB}/openapi_core/unmarshalling/unmarshallers.pyo
@@ -355,12 +412,18 @@ ${PYSITELIB}/openapi_core/util.pyo
 ${PYSITELIB}/openapi_core/validation/__init__.py
 ${PYSITELIB}/openapi_core/validation/__init__.pyc
 ${PYSITELIB}/openapi_core/validation/__init__.pyo
+${PYSITELIB}/openapi_core/validation/configurations.py
+${PYSITELIB}/openapi_core/validation/configurations.pyc
+${PYSITELIB}/openapi_core/validation/configurations.pyo
 ${PYSITELIB}/openapi_core/validation/decorators.py
 ${PYSITELIB}/openapi_core/validation/decorators.pyc
 ${PYSITELIB}/openapi_core/validation/decorators.pyo
 ${PYSITELIB}/openapi_core/validation/exceptions.py
 ${PYSITELIB}/openapi_core/validation/exceptions.pyc
 ${PYSITELIB}/openapi_core/validation/exceptions.pyo
+${PYSITELIB}/openapi_core/validation/integrations.py
+${PYSITELIB}/openapi_core/validation/integrations.pyc
+${PYSITELIB}/openapi_core/validation/integrations.pyo
 ${PYSITELIB}/openapi_core/validation/processors.py
 ${PYSITELIB}/openapi_core/validation/processors.pyc
 ${PYSITELIB}/openapi_core/validation/processors.pyo

Index: pkgsrc/textproc/py-openapi-core/distinfo
diff -u pkgsrc/textproc/py-openapi-core/distinfo:1.6 pkgsrc/textproc/py-openapi-core/distinfo:1.7
--- pkgsrc/textproc/py-openapi-core/distinfo:1.6        Thu Nov  9 18:59:14 2023
+++ pkgsrc/textproc/py-openapi-core/distinfo    Wed Feb 21 19:53:03 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2023/11/09 18:59:14 adam Exp $
+$NetBSD: distinfo,v 1.7 2024/02/21 19:53:03 adam Exp $
 
-BLAKE2s (openapi_core-0.18.2.tar.gz) = ff554004014445eaed0bf395f755a5d2db28e623caaeeec998914526971f7693
-SHA512 (openapi_core-0.18.2.tar.gz) = 552109c095c840a46759a54e247a3ac2d8cc36707ba89815740eef4b7fb421bd489929543892341fd89a578bff4043c8c81302fddaa1efe125238e050f152c27
-Size (openapi_core-0.18.2.tar.gz) = 84444 bytes
+BLAKE2s (openapi_core-0.19.0.tar.gz) = aaa1923f65f11e2aaf1cd60cf61b8a483772f88692c038a3ae3163fbbba5d086
+SHA512 (openapi_core-0.19.0.tar.gz) = 3a94170f8ab6a47188c693545be9d2cd965d2479c838a8644d6218f9f46b54fdb94e0550ea5626e5ba58920419b7c700d26b2e6dd6a55afeb73778f582a645e0
+Size (openapi_core-0.19.0.tar.gz) = 105815 bytes



Home | Main Index | Thread Index | Old Index