From 160b7162d51ea620af42048ddfe6fc20adf3529807dde2745c9ff557b98d29ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 11:50:40 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-openapi-core revision f9afa02b49a00bc19675d51f60441d8b --- openapi-core-0.18.1-gh.tar.gz | 3 -- openapi-core-0.19.4-gh.tar.gz | 3 ++ python-openapi-core.changes | 82 +++++++++++++++++++++++++++++++++-- python-openapi-core.spec | 17 ++++---- 4 files changed, 90 insertions(+), 15 deletions(-) delete mode 100644 openapi-core-0.18.1-gh.tar.gz create mode 100644 openapi-core-0.19.4-gh.tar.gz diff --git a/openapi-core-0.18.1-gh.tar.gz b/openapi-core-0.18.1-gh.tar.gz deleted file mode 100644 index eb6a772..0000000 --- a/openapi-core-0.18.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee029c135235ad7dd9107871bc25455f3a23ce1a70b61b5aed521bb5abb97a9f -size 154190 diff --git a/openapi-core-0.19.4-gh.tar.gz b/openapi-core-0.19.4-gh.tar.gz new file mode 100644 index 0000000..2ea57a7 --- /dev/null +++ b/openapi-core-0.19.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84d7260f145d6ec44171884dae7bce10c4b2918132b4b2e67a5558e949005213 +size 182585 diff --git a/python-openapi-core.changes b/python-openapi-core.changes index 7915917..de33810 100644 --- a/python-openapi-core.changes +++ b/python-openapi-core.changes @@ -1,8 +1,84 @@ ------------------------------------------------------------------- -Thu Sep 26 10:21:13 UTC 2024 - Markéta Machová +Fri Sep 27 08:15:11 UTC 2024 - Markéta Machová + +- reformat the django test constraints + +------------------------------------------------------------------- +Fri Sep 27 07:44:25 UTC 2024 - Dirk Müller + +- update to 0.19.4: + * Starlette 0.38.x support #906 + * Fix resolvers not updating properly when referencing other + files. #894 + * Fix RequestUnmarshalResult body type #900 + * Fix Starlette streaming response for HTTPMiddleware #906 +- update to 0.19.3: + * Fix resolver for jsonschema validator created by + SchemaValidatorsFactory #853 + * Use `base_uri` from schema path for spec validation #859 + * Openapi 3.0 unmarshalling None with nullable subschema fix + #876 +- update to 0.19.2: + * Falcon multi-value query parameters fix #830 + * Fix a DeprecationWarning from aiohttp in TestPetPhotoView + * Fix hyphen characters in path parameters #851 +- update to 0.19.1: + * Path finder cls configuration #797 + * Invalid usage of super() when having multi-baseclass + inheritance: … #802 + * Fix content-type when no space after semicolon #814 + * Protocols body and data attributes docstrings fix #829 + +- update to 0.19.0: + * FastAPI integration #738 + * Mimetype parameters (i.e. charset) handling #678 + * Parameter deserializers renamed to Style deserializers #676 + * Unmarshalling processor enhancement #625 + * Option to skip response validation in Django, Falcon and + Flask integrations #667 + * 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 #677 + * Python 3.12 support #684 + * Bump openapi-spec-validator from 0.6.0 to 0.7.0 #685 + * Use openapi-spec-validator spec version finder #691 + * Move to `SchemaPath` from jsonschema-path package #690 + * Specification validation as part of shortcuts #686 + * Style deserializing reimplementation with support for all + styles #694 + * Media type encoding support #646 + * Replace `mimetype` with `content_type` to include content + parameters #699 + * Suport for primitive properties casting of urlencoded + objects. #701 + * Request response binary format support #710 + * Starlette middleware #680 + * OpenAPI app and high level integration #716 + * aiohttp request host_url include scheme #673 + * aiohttp response body check none #674 + * Validate empty request body fix #713 + * Path finder returns default server #648 + * OpenAPI config passed to validators and unmarshallers fix + * milti types schema format unmarshal fix #562 + +------------------------------------------------------------------- +Thu Sep 26 10:41:14 UTC 2024 - Markéta Machová - Exclude django tests for non-Factory +------------------------------------------------------------------- +Tue Feb 6 20:36:49 UTC 2024 - Ben Greiner + +- Skip python312: No compatible jsonschema-spec available. We are + waiting for a release that migrated to jsonschema-path + +------------------------------------------------------------------- +Sun Dec 17 02:22:52 UTC 2023 - Dirk Müller + +- update to 0.18.2: + * Deprecated spec validator fix + warnings resolved #717 + ------------------------------------------------------------------- Sat Sep 23 10:34:22 UTC 2023 - Ben Greiner @@ -115,7 +191,7 @@ Fri Dec 2 21:23:01 UTC 2022 - Yogalakshmi Arunachalam Multi type unmarshaller #433 Unmarshaller format refactor #434 -- Update to 0.16.1: +- Update to 0.16.1: lists as additional properties fix #429 x-model extension optional #431 @@ -158,7 +234,7 @@ Wed Oct 5 05:34:35 UTC 2022 - Steve Kowalik * Get rid of create_spec shortcut #393 * Request and Response protocols #407 * validator factories removed from validation shortcuts #408 - * Predefined openapi validators #409 + * Predefined openapi validators #409 - Drop Python 2 parts. - Fix {Build,}Requires. diff --git a/python-openapi-core.spec b/python-openapi-core.spec index 92d075b..c648e46 100644 --- a/python-openapi-core.spec +++ b/python-openapi-core.spec @@ -1,7 +1,7 @@ # # spec file for package python-openapi-core # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ %endif Name: python-openapi-core -Version: 0.18.1 +Version: 0.19.4 Release: 0 Summary: Client- and server-side support for the OpenAPI Specification v3 License: BSD-3-Clause @@ -42,12 +42,13 @@ BuildRequires: %{python_module asgiref >= 3.6.0} BuildRequires: %{python_module falcon >= 3.0} BuildRequires: %{python_module isodate} BuildRequires: %{python_module jsonschema >= 4.18.0 with %python-jsonschema < 5} -BuildRequires: %{python_module jsonschema-spec >= 0.2.3 with %python-jsonschema-spec < 0.3} +BuildRequires: %{python_module jsonschema-path >= 0.3.1 with %python-jsonschema-path < 0.4} BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module multidict >= 6.0.4} BuildRequires: %{python_module openapi-schema-validator >= 0.6 with %python-openapi-schema-validator < 0.7} -BuildRequires: %{python_module openapi-spec-validator >= 0.6 with %python-openapi-spec-validator < 0.7} +BuildRequires: %{python_module openapi-spec-validator >= 0.7.1 with %python-openapi-spec-validator < 0.8} BuildRequires: %{python_module parse} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module responses} %if %{with django} @@ -58,13 +59,11 @@ Requires: python-Werkzeug Requires: python-asgiref >= 3.6.0 Requires: python-isodate Requires: python-more-itertools -Requires: python-openapi-schema-validator >= 0.6.0 -Requires: python-openapi-spec-validator >= 0.6.0 Requires: python-parse Requires: (python-jsonschema >= 4.18.0 with python-jsonschema < 5) -Requires: (python-jsonschema-spec >= 0.2.3 with python-jsonschema-spec < 0.3) +Requires: (python-jsonschema-path >= 0.3.1 with python-jsonschema-path < 0.4) Requires: (python-openapi-schema-validator >= 0.6 with python-openapi-schema-validator < 0.7) -Requires: (python-openapi-spec-validator >= 0.6 with python-openapi-spec-validator < 0.7) +Requires: (python-openapi-spec-validator >= 0.7.1 with python-openapi-spec-validator < 0.8) BuildArch: noarch %python_subpackages @@ -89,7 +88,7 @@ done %check %if !%{with django} -rm tests/unit/contrib/django/test_django.py +rm -v tests/unit/contrib/django/test_django.py %endif %pytest tests/unit -k 'not (test_read_only_properties_invalid or test_write_only_properties_invalid)'