From efe1e9c18f6411315defa29e38897f7736e953ca4f5bd57e501385ec6ddee806 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 25 Jul 2023 06:13:20 +0000 Subject: [PATCH] - Update to 0.6.0: * Compatibility with jsonschema 4.18, jsonschema-spec 0.2 and openapi-schema-validator 0.6 #202 * spec_url parameter of spec validator is deprecated. Use base_uri instead. #202 * Drop python 3.7 support #226 * Update SupportsValidation protocol #232 * allow path item ref fix #210 * openapi 3.1 schema update #213 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-spec-validator?expand=0&rev=26 --- openapi-spec-validator-0.5.6-gh.tar.gz | 3 --- openapi-spec-validator-0.6.0-gh.tar.gz | 3 +++ python-openapi-spec-validator.changes | 13 +++++++++++++ python-openapi-spec-validator.spec | 14 +++++++------- 4 files changed, 23 insertions(+), 10 deletions(-) delete mode 100644 openapi-spec-validator-0.5.6-gh.tar.gz create mode 100644 openapi-spec-validator-0.6.0-gh.tar.gz diff --git a/openapi-spec-validator-0.5.6-gh.tar.gz b/openapi-spec-validator-0.5.6-gh.tar.gz deleted file mode 100644 index c0df2b8..0000000 --- a/openapi-spec-validator-0.5.6-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab61f6a505e04dfaa8e0d05f8ba641bd909048cde6d51b0e6e59f31515d43ed1 -size 67863 diff --git a/openapi-spec-validator-0.6.0-gh.tar.gz b/openapi-spec-validator-0.6.0-gh.tar.gz new file mode 100644 index 0000000..755803a --- /dev/null +++ b/openapi-spec-validator-0.6.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88fe92b3533a76a074c3471d45f918c76fd9d33693def9fa7397fce484515caa +size 79469 diff --git a/python-openapi-spec-validator.changes b/python-openapi-spec-validator.changes index 0a5992d..a361144 100644 --- a/python-openapi-spec-validator.changes +++ b/python-openapi-spec-validator.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jul 25 06:08:29 UTC 2023 - Steve Kowalik + +- Update to 0.6.0: + * Compatibility with jsonschema 4.18, jsonschema-spec 0.2 and + openapi-schema-validator 0.6 #202 + * spec_url parameter of spec validator is deprecated. Use base_uri + instead. #202 + * Drop python 3.7 support #226 + * Update SupportsValidation protocol #232 + * allow path item ref fix #210 + * openapi 3.1 schema update #213 + ------------------------------------------------------------------- Tue Jun 13 12:11:25 UTC 2023 - ecsos diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec index b46e466..b635045 100644 --- a/python-openapi-spec-validator.spec +++ b/python-openapi-spec-validator.spec @@ -18,23 +18,23 @@ %{?sle15_python_module_pythons} Name: python-openapi-spec-validator -Version: 0.5.6 +Version: 0.6.0 Release: 0 Summary: Python module for validating OpenAPI Specs against Swagger and OAS3 License: Apache-2.0 URL: https://github.com/p1c2u/openapi-spec-validator Source: https://github.com/p1c2u/openapi-spec-validator/archive/%{version}.tar.gz#/openapi-spec-validator-%{version}-gh.tar.gz -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros Provides: python-openapi_spec_validator Requires: python-importlib-resources -Requires: python-jsonschema-spec >= 0.1.1 +Requires: python-jsonschema >= 4.18 +Requires: python-jsonschema-spec >= 0.2.3 Requires: python-lazy-object-proxy >= 1.7.1 -Requires: python-openapi-schema-validator >= 0.4.2 -Requires: (python-jsonschema >= 4.0.0 with python-jsonschema < 4.18) +Requires: python-openapi-schema-validator >= 0.6.0 %if %{python_version_nodots} < 39 Requires: python-importlib-resources >= 5.8.0 %endif @@ -43,8 +43,8 @@ Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module importlib-resources >= 5.8.0 if %python-base < 3.9} -BuildRequires: %{python_module jsonschema >= 4.0.0 with %python-jsonschema < 4.18} -BuildRequires: %{python_module jsonschema-spec >= 0.1.1} +BuildRequires: %{python_module jsonschema >= 4.18} +BuildRequires: %{python_module jsonschema-spec >= 0.2.3} BuildRequires: %{python_module lazy-object-proxy >= 1.7.1} BuildRequires: %{python_module openapi-schema-validator >= 0.4.2} BuildRequires: %{python_module pytest}