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
This commit is contained in:
Markéta Machová 2022-04-28 07:31:54 +00:00 committed by Git OBS Bridge
parent 8a0b4216b3
commit 5d9559dbf0
4 changed files with 20 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe62d086ca341f71072fd21c2d4f993b6958ce47ee8f0a4ae716e7c901afeb21
size 3702937

3
flasgger-0.9.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ebea406b5beecd77e8da42550f380d4d05a6107bc90b69ce9e77aee7612e2d0
size 3906185

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Apr 28 07:23:15 UTC 2022 - Markéta Machová <mmachova@suse.com>
- 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 <toddrme2178@gmail.com>

View File

@ -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