- Update to 1.3.0:

* Fixing werkzeug 3 deprecated version import. Import is replaced by new
    style version check with importlib (#573) [Ryu-CZ]
  * Fixing flask 3.0+ compatibility of `ModuleNotFoundError: No module
    named 'flask.scaffold'` Import error. (#567) [Ryu-CZ]
  * Fix wrong status code and message on responses when handling
    `HTTPExceptions` (#569) [lkk7]
  * Python 3.12 support. [foarsitter]
  * Fixing test as HTTP Header MIMEAccept expects quality-factor number
    in form of `X.X` (#547) [chipndell]
  * Drop support for python 3.7
- Drop patch support-new-werkzeug.patch, now included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-flask-restx?expand=0&rev=21
This commit is contained in:
Steve Kowalik 2024-02-12 05:01:51 +00:00 committed by Git OBS Bridge
parent 8ce898f2ee
commit 5cf30d20ed
4 changed files with 23 additions and 8 deletions

View File

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

3
1.3.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Feb 12 05:01:12 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.3.0:
* Fixing werkzeug 3 deprecated version import. Import is replaced by new
style version check with importlib (#573) [Ryu-CZ]
* Fixing flask 3.0+ compatibility of `ModuleNotFoundError: No module
named 'flask.scaffold'` Import error. (#567) [Ryu-CZ]
* Fix wrong status code and message on responses when handling
`HTTPExceptions` (#569) [lkk7]
* Python 3.12 support. [foarsitter]
* Fixing test as HTTP Header MIMEAccept expects quality-factor number
in form of `X.X` (#547) [chipndell]
* Drop support for python 3.7
- Drop patch support-new-werkzeug.patch, now included upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 28 04:44:48 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Fri Jul 28 04:44:48 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-flask-restx # spec file for package python-flask-restx
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,21 +17,19 @@
Name: python-flask-restx Name: python-flask-restx
Version: 1.1.0 Version: 1.3.0
Release: 0 Release: 0
Summary: Framework for fast, easy and documented API development with Flask Summary: Framework for fast, easy and documented API development with Flask
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/python-restx/flask-restx URL: https://github.com/python-restx/flask-restx
Source: https://github.com/python-restx/flask-restx/archive/%{version}.tar.gz Source: https://github.com/python-restx/flask-restx/archive/%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#python-restx/flask-restx#552
Patch0: support-new-werkzeug.patch
BuildRequires: %{python_module Faker} BuildRequires: %{python_module Faker}
BuildRequires: %{python_module Flask} BuildRequires: %{python_module Flask}
BuildRequires: %{python_module Werkzeug} BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module aniso8601} BuildRequires: %{python_module aniso8601}
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module blinker} BuildRequires: %{python_module blinker}
BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-benchmark}
@ -48,6 +46,7 @@ BuildRequires: python-rpm-macros
Requires: python-Flask Requires: python-Flask
Requires: python-Werkzeug Requires: python-Werkzeug
Requires: python-aniso8601 Requires: python-aniso8601
Requires: python-importlib_resources
Requires: python-jsonschema Requires: python-jsonschema
Requires: python-pytz Requires: python-pytz
BuildArch: noarch BuildArch: noarch