From 5d9559dbf05a0b5bf6b78b6e1ee4b6ca87ce28bc5232f872218dd1e97d4592c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 28 Apr 2022 07:31:54 +0000 Subject: [PATCH] Accepting request 973573 from home:mcalabkova:branches:devel:languages:python - Update to 0.9.5 * 'swag_from' supports 'pathlib.Path' * Added support for OpenAPI3 parameter schema parsing * Add support for custom validation_function and error_handler * Ensure downward compatibility for werkzeug * Changed jsonschema version supported to jsonschema>=3.0.1 * Changed json data to be parsed from request directly * More changes, see upstream HISTORY OBS-URL: https://build.opensuse.org/request/show/973573 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flasgger?expand=0&rev=7 --- flasgger-0.9.3.tar.gz | 3 --- flasgger-0.9.5.tar.gz | 3 +++ python-flasgger.changes | 12 ++++++++++++ python-flasgger.spec | 12 +++++------- 4 files changed, 20 insertions(+), 10 deletions(-) delete mode 100644 flasgger-0.9.3.tar.gz create mode 100644 flasgger-0.9.5.tar.gz diff --git a/flasgger-0.9.3.tar.gz b/flasgger-0.9.3.tar.gz deleted file mode 100644 index 2a8fb0b..0000000 --- a/flasgger-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe62d086ca341f71072fd21c2d4f993b6958ce47ee8f0a4ae716e7c901afeb21 -size 3702937 diff --git a/flasgger-0.9.5.tar.gz b/flasgger-0.9.5.tar.gz new file mode 100644 index 0000000..19012fb --- /dev/null +++ b/flasgger-0.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ebea406b5beecd77e8da42550f380d4d05a6107bc90b69ce9e77aee7612e2d0 +size 3906185 diff --git a/python-flasgger.changes b/python-flasgger.changes index ba7024d..73c05a0 100644 --- a/python-flasgger.changes +++ b/python-flasgger.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Apr 28 07:23:15 UTC 2022 - Markéta Machová + +- Update to 0.9.5 + * 'swag_from' supports 'pathlib.Path' + * Added support for OpenAPI3 parameter schema parsing + * Add support for custom validation_function and error_handler + * Ensure downward compatibility for werkzeug + * Changed jsonschema version supported to jsonschema>=3.0.1 + * Changed json data to be parsed from request directly + * More changes, see upstream HISTORY + ------------------------------------------------------------------- Tue Aug 6 14:25:47 UTC 2019 - Todd R diff --git a/python-flasgger.spec b/python-flasgger.spec index 1eef6d4..8324997 100644 --- a/python-flasgger.spec +++ b/python-flasgger.spec @@ -1,7 +1,7 @@ # # spec file for package python-flasgger # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flasgger -Version: 0.9.3 +Version: 0.9.5 Release: 0 Summary: Tool to extract swagger specs from Flask projects License: MIT @@ -28,8 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/f/flasgger/flasgg #BuildRequires: %{python_module Flask >= 0.10} #BuildRequires: %{python_module PyYAML >= 3.0} #BuildRequires: %{python_module flex} -#BuildRequires: %{python_module jsonschema >= 2.5.1} -#BuildRequires: %{python_module jsonschema < 4} +#BuildRequires: %{python_module jsonschema >= 3.0.1} #BuildRequires: %{python_module marshmallow} #BuildRequires: %{python_module mistune} #BuildRequires: %{python_module pytest >= 3.0.7} @@ -39,8 +38,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Flask >= 0.10 Requires: python-PyYAML >= 3.0 -Requires: python-jsonschema >= 2.5.1 -Requires: python-jsonschema < 4 +Requires: python-jsonschema >= 3.0.1 Requires: python-mistune Requires: python-six >= 1.10 BuildArch: noarch @@ -59,7 +57,7 @@ Flasgger is a Flask extension to extract OpenAPI=Specification from all Flask vi %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# tests currently broken, even in git +# upstream testsuite is very fragile and needs packages we don't have #%check #%%pytest