From 99c9e8ad22d60964e74f6ebcf263ccf6b355cc71b90fc2e0ed88e00203fbec69 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 May 2023 20:47:25 +0000 Subject: [PATCH] Accepting request 1085790 from home:bnavigator:branches:devel:languages:python - Update to 0.5.6 * Fix typo in server variables schema for OpenAPI 3.1.0 #198 * Include tests in sdist archives #199 * jsonschema 4.17 dependency limit #203 * add python 3.11 support #204 - Release 0.5.5 * update openapi-schema-validator dependecy #194 - Release 0.5.4 * schema properties validation recursion fix #193 - Release 0.5.3 * fix custom format checker not found test #190 * fix property missing reference validation #191 - Release 0.5.2 * Use stdlib importlib.resources on python >= 3.9 #174 * mypy typing module version fix #181 * Drop no longer used runtime dependency on PyYAML #180 * allow openapi-schema-validator 0.4 #187 OBS-URL: https://build.opensuse.org/request/show/1085790 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-spec-validator?expand=0&rev=22 --- 0.5.1.tar.gz | 3 --- openapi-spec-validator-0.5.6-gh.tar.gz | 3 +++ python-openapi-spec-validator.changes | 21 ++++++++++++++++++ python-openapi-spec-validator.spec | 30 ++++++++++++++------------ 4 files changed, 40 insertions(+), 17 deletions(-) delete mode 100644 0.5.1.tar.gz create mode 100644 openapi-spec-validator-0.5.6-gh.tar.gz diff --git a/0.5.1.tar.gz b/0.5.1.tar.gz deleted file mode 100644 index 1ae9287..0000000 --- a/0.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20d2b8fd30549417062e997aa7f367bf6538647f201399bafff3c28407b6fad7 -size 39539 diff --git a/openapi-spec-validator-0.5.6-gh.tar.gz b/openapi-spec-validator-0.5.6-gh.tar.gz new file mode 100644 index 0000000..c0df2b8 --- /dev/null +++ b/openapi-spec-validator-0.5.6-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab61f6a505e04dfaa8e0d05f8ba641bd909048cde6d51b0e6e59f31515d43ed1 +size 67863 diff --git a/python-openapi-spec-validator.changes b/python-openapi-spec-validator.changes index 7077142..ab9af92 100644 --- a/python-openapi-spec-validator.changes +++ b/python-openapi-spec-validator.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Tue May 9 19:10:07 UTC 2023 - Ben Greiner + +- Update to 0.5.6 + * Fix typo in server variables schema for OpenAPI 3.1.0 #198 + * Include tests in sdist archives #199 + * jsonschema 4.17 dependency limit #203 + * add python 3.11 support #204 +- Release 0.5.5 + * update openapi-schema-validator dependecy #194 +- Release 0.5.4 + * schema properties validation recursion fix #193 +- Release 0.5.3 + * fix custom format checker not found test #190 + * fix property missing reference validation #191 +- Release 0.5.2 + * Use stdlib importlib.resources on python >= 3.9 #174 + * mypy typing module version fix #181 + * Drop no longer used runtime dependency on PyYAML #180 + * allow openapi-schema-validator 0.4 #187 + ------------------------------------------------------------------- Tue Oct 25 20:05:16 UTC 2022 - Matej Cepl diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec index 5e62516..5893f23 100644 --- a/python-openapi-spec-validator.spec +++ b/python-openapi-spec-validator.spec @@ -1,7 +1,7 @@ # # spec file for package python-openapi-spec-validator # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,34 +17,35 @@ Name: python-openapi-spec-validator -Version: 0.5.1 +Version: 0.5.6 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 +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 pip} -BuildRequires: %{python_module poetry} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-PyYAML >= 5.1 +Provides: python-openapi_spec_validator Requires: python-importlib-resources -Requires: python-jsonschema >= 4.0.0 Requires: python-jsonschema-spec >= 0.1.1 Requires: python-lazy-object-proxy >= 1.7.1 -Requires: python-openapi-schema-validator >= 0.3.2 -Requires: python-setuptools +Requires: python-openapi-schema-validator >= 0.4.2 +Requires: (python-jsonschema >= 4.0.0 with python-jsonschema < 4.18) +%if %{python_version_nodots} < 39 +Requires: python-importlib-resources >= 5.8.0 +%endif Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module PyYAML >= 5.1} -BuildRequires: %{python_module importlib-resources} -BuildRequires: %{python_module jsonschema >= 4.0.0} +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 lazy-object-proxy >= 1.7.1} -BuildRequires: %{python_module openapi-schema-validator >= 0.3.2} +BuildRequires: %{python_module openapi-schema-validator >= 0.4.2} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -80,6 +81,7 @@ sed -i 's:tool.pytest.ini_options:hide:' pyproject.toml %doc README.rst %license LICENSE %python_alternative %{_bindir}/openapi-spec-validator -%{python_sitelib}/* +%{python_sitelib}/openapi_spec_validator +%{python_sitelib}/openapi_spec_validator-%{version}.dist-info %changelog