Sync from SUSE:SLFO:Main python-openapi-core revision f9afa02b49a00bc19675d51f60441d8b

This commit is contained in:
Adrian Schröter 2024-12-13 11:50:40 +01:00
parent 7854d84c12
commit 160b7162d5
4 changed files with 90 additions and 15 deletions

BIN
openapi-core-0.18.1-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
openapi-core-0.19.4-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,8 +1,84 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 26 10:21:13 UTC 2024 - Markéta Machová <mmachova@suse.com> Fri Sep 27 08:15:11 UTC 2024 - Markéta Machová <mmachova@suse.com>
- reformat the django test constraints
-------------------------------------------------------------------
Fri Sep 27 07:44:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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á <mmachova@suse.com>
- Exclude django tests for non-Factory - Exclude django tests for non-Factory
-------------------------------------------------------------------
Tue Feb 6 20:36:49 UTC 2024 - Ben Greiner <code@bnavigator.de>
- 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 <dmueller@suse.com>
- update to 0.18.2:
* Deprecated spec validator fix + warnings resolved #717
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 23 10:34:22 UTC 2023 - Ben Greiner <code@bnavigator.de> Sat Sep 23 10:34:22 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-openapi-core # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@
%endif %endif
Name: python-openapi-core Name: python-openapi-core
Version: 0.18.1 Version: 0.19.4
Release: 0 Release: 0
Summary: Client- and server-side support for the OpenAPI Specification v3 Summary: Client- and server-side support for the OpenAPI Specification v3
License: BSD-3-Clause License: BSD-3-Clause
@ -42,12 +42,13 @@ BuildRequires: %{python_module asgiref >= 3.6.0}
BuildRequires: %{python_module falcon >= 3.0} BuildRequires: %{python_module falcon >= 3.0}
BuildRequires: %{python_module isodate} BuildRequires: %{python_module isodate}
BuildRequires: %{python_module jsonschema >= 4.18.0 with %python-jsonschema < 5} 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 more-itertools}
BuildRequires: %{python_module multidict >= 6.0.4} 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-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 parse}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module responses} BuildRequires: %{python_module responses}
%if %{with django} %if %{with django}
@ -58,13 +59,11 @@ Requires: python-Werkzeug
Requires: python-asgiref >= 3.6.0 Requires: python-asgiref >= 3.6.0
Requires: python-isodate Requires: python-isodate
Requires: python-more-itertools 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-parse
Requires: (python-jsonschema >= 4.18.0 with python-jsonschema < 5) 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-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 BuildArch: noarch
%python_subpackages %python_subpackages
@ -89,7 +88,7 @@ done
%check %check
%if !%{with django} %if !%{with django}
rm tests/unit/contrib/django/test_django.py rm -v tests/unit/contrib/django/test_django.py
%endif %endif
%pytest tests/unit -k 'not (test_read_only_properties_invalid or test_write_only_properties_invalid)' %pytest tests/unit -k 'not (test_read_only_properties_invalid or test_write_only_properties_invalid)'