From 447ad00ce09149dea6cb1340b23cb3e094710b6a3a1f5382fcfe0679dbee3a0b Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 8 Aug 2023 05:36:42 +0000 Subject: [PATCH] - Update to 0.9.7.1: * fix: flask >== 2.3 json encoder change * removed usage of safe_str_cmp of werkzeug. using hmac.compare_digest instead (#532) * Fix openapi3 request parse validation (#505) * Fix required body if one parameter is required (#476) * Implemented the SwaggerUI urls config parameter which displays a dropdown of API specs instead of an editable textbox (#473) * Fix indentation in readme example (#480) * fix path parameter bug for integers (#485) * Wrapping APISpecsView get response in a try except (#420) * Trivial flake issue resolved for docker build of flasgger (#452) * Deprecate imp [Breaks py2.7 compatibility] (#413) Resolves #434 * Remove python2 * Fix error format and add regression tests * Extract is_openapi3 in utils and test it * Add flask_mongorest * Set displayOperationId to true * Add use func validate from utils * add test case for post request * Change test for swag_schema * Add Swagger UI auth config to ui.inioauth * Make available oauth2 redirect html - Switch to pyproject macros. - Stop using globs in %files OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flasgger?expand=0&rev=15 --- flasgger-0.9.5.tar.gz | 3 --- flasgger-0.9.7.1.tar.gz | 3 +++ python-flasgger.changes | 29 +++++++++++++++++++++++++++++ python-flasgger.spec | 13 ++++++++----- 4 files changed, 40 insertions(+), 8 deletions(-) delete mode 100644 flasgger-0.9.5.tar.gz create mode 100644 flasgger-0.9.7.1.tar.gz diff --git a/flasgger-0.9.5.tar.gz b/flasgger-0.9.5.tar.gz deleted file mode 100644 index 19012fb..0000000 --- a/flasgger-0.9.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ebea406b5beecd77e8da42550f380d4d05a6107bc90b69ce9e77aee7612e2d0 -size 3906185 diff --git a/flasgger-0.9.7.1.tar.gz b/flasgger-0.9.7.1.tar.gz new file mode 100644 index 0000000..fdbdf57 --- /dev/null +++ b/flasgger-0.9.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca098e10bfbb12f047acc6299cc70a33851943a746e550d86e65e60d4df245fb +size 3979409 diff --git a/python-flasgger.changes b/python-flasgger.changes index dfacd89..b2e12fe 100644 --- a/python-flasgger.changes +++ b/python-flasgger.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Aug 8 05:34:15 UTC 2023 - Steve Kowalik + +- Update to 0.9.7.1: + * fix: flask >== 2.3 json encoder change + * removed usage of safe_str_cmp of werkzeug. using hmac.compare_digest + instead (#532) + * Fix openapi3 request parse validation (#505) + * Fix required body if one parameter is required (#476) + * Implemented the SwaggerUI urls config parameter which displays a + dropdown of API specs instead of an editable textbox (#473) + * Fix indentation in readme example (#480) + * fix path parameter bug for integers (#485) + * Wrapping APISpecsView get response in a try except (#420) + * Trivial flake issue resolved for docker build of flasgger (#452) + * Deprecate imp [Breaks py2.7 compatibility] (#413) Resolves #434 + * Remove python2 + * Fix error format and add regression tests + * Extract is_openapi3 in utils and test it + * Add flask_mongorest + * Set displayOperationId to true + * Add use func validate from utils + * add test case for post request + * Change test for swag_schema + * Add Swagger UI auth config to ui.inioauth + * Make available oauth2 redirect html +- Switch to pyproject macros. +- Stop using globs in %files + ------------------------------------------------------------------- Fri Apr 21 12:25:11 UTC 2023 - Dirk Müller diff --git a/python-flasgger.spec b/python-flasgger.spec index 4c5dd52..2222ff3 100644 --- a/python-flasgger.spec +++ b/python-flasgger.spec @@ -27,20 +27,22 @@ %{?sle15_python_module_pythons} Name: python-flasgger%{psuffix} -Version: 0.9.5 +Version: 0.9.7.1 Release: 0 Summary: Tool to extract swagger specs from Flask projects License: MIT -Group: Development/Languages/Python URL: https://github.com/rochacbruno/flasgger/ Source: https://files.pythonhosted.org/packages/source/f/flasgger/flasgger-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Flask >= 0.10 Requires: python-PyYAML >= 3.0 Requires: python-jsonschema >= 3.0.1 Requires: python-mistune +Requires: python-packaging Requires: python-six >= 1.10 BuildArch: noarch @@ -73,10 +75,10 @@ find . -name .DS_Store -print -delete %if !%{with test} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand chmod -x %{buildroot}%{$python_sitelib}/flasgger/ui2/static/lang/*.js %fdupes %{buildroot}%{$python_sitelib} } @@ -91,7 +93,8 @@ find . -name .DS_Store -print -delete %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/flasgger*/ +%{python_sitelib}/flasgger +%{python_sitelib}/flasgger-%{version}.dist-info %endif %changelog