!11 update python-connexion version to 2.14.1

From: @foreson 
Reviewed-by: @bitcoffee 
Signed-off-by: @bitcoffee
This commit is contained in:
openeuler-ci-bot 2022-11-11 01:53:41 +00:00 committed by Gitee
commit 14523894f2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 30 deletions

Binary file not shown.

BIN
connexion-2.14.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,25 +0,0 @@
From 4ae76e15a8f5bf3b4223b554cecc93537f4511ae Mon Sep 17 00:00:00 2001
From: liuzhikang <liuzhikang3@huawei.com>
Date: Wed, 16 Feb 2022 16:09:35 +0800
Subject: [PATCH] update pyyaml version in install_requires.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index adf00a5..295e5aa 100755
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ version = read_version('connexion')
install_requires = [
'clickclick>=1.2,<21',
'jsonschema>=2.5.1,<4',
- 'PyYAML>=5.1,<6',
+ 'PyYAML>=5.1,<7',
'requests>=2.9.1,<3',
'inflection>=0.3.1,<0.6',
'openapi-spec-validator>=0.2.4,<0.4',
--
2.27.0

View File

@ -1,18 +1,17 @@
%global _empty_manifest_terminate_build 0
Name: python-connexion
Version: 2.10.0
Version: 2.14.1
Release: 1
Summary: Connexion - API first applications with OpenAPI/Swagger and Flask
License: Apache License Version 2.0
License: Apache-2.0
URL: https://github.com/spec-first/connexion
Source0: connexion-2.10.0.tar.gz
Source0: https://files.pythonhosted.org/packages/59/bd/b8028e687c3e8319b22a0ef0b598cf18ea343811d3831ad318676674372e/connexion-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-clickclick python3-jsonschema
BuildRequires: python3-requests python3-inflection python3-werkzeug python3-flask
BuildRequires: python3-PyYAML python3-swagger-ui-bundle python3-flake8
Patch9001: huawei-update-pyyaml-version.patch
%description
Connexion is a framework that automagically handles HTTP requests based on `OpenAPI Specification`_
@ -37,7 +36,7 @@ Provides: python3-connexion-doc
Development documents and examples for connexion
%prep
%autosetup -n connexion-2.10.0 -p1
%autosetup -n connexion-%{version} -p1
%build
%py3_build
@ -77,6 +76,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Sep 20 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.14.1-1
- Upgrade to 2.14.1
* Fri Jul 8 2022 algorithmofdish <hexiujun1@huawei.com> - 2.10.0-1
- Upgrade to 2.10.0