change install requires package version
Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
parent
9171f8b860
commit
c264e95086
30
change-requires-package-version-to-fix-installed-error.patch
Normal file
30
change-requires-package-version-to-fix-installed-error.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
diff --git a/aiohttp.egg-info/requires.txt b/aiohttp.egg-info/requires.txt
|
||||||
|
index 746f3f8..bb8fe54 100644
|
||||||
|
--- a/aiohttp.egg-info/requires.txt
|
||||||
|
+++ b/aiohttp.egg-info/requires.txt
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
attrs>=17.3.0
|
||||||
|
-chardet<5.0,>=2.0
|
||||||
|
+chardet<=5.0,>=2.0
|
||||||
|
multidict<7.0,>=4.5
|
||||||
|
-async_timeout<4.0,>=3.0
|
||||||
|
+async_timeout<=4.0.2,>=3.0
|
||||||
|
yarl<2.0,>=1.0
|
||||||
|
typing_extensions>=3.6.5
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 54462ba..a792d8c 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -66,9 +66,9 @@ except IndexError:
|
||||||
|
|
||||||
|
install_requires = [
|
||||||
|
"attrs>=17.3.0",
|
||||||
|
- "chardet>=2.0,<5.0",
|
||||||
|
+ "chardet>=2.0,<=5.0",
|
||||||
|
"multidict>=4.5,<7.0",
|
||||||
|
- "async_timeout>=3.0,<4.0",
|
||||||
|
+ "async_timeout>=3.0,<=4.0.2",
|
||||||
|
"yarl>=1.0,<2.0",
|
||||||
|
'idna-ssl>=1.0; python_version<"3.7"',
|
||||||
|
"typing_extensions>=3.6.5",
|
||||||
@ -1,11 +1,12 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-aiohttp
|
Name: python-aiohttp
|
||||||
Version: 3.7.4
|
Version: 3.7.4
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Async http client/server framework (asyncio)
|
Summary: Async http client/server framework (asyncio)
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/aio-libs/aiohttp
|
URL: https://github.com/aio-libs/aiohttp
|
||||||
Source0: https://files.pythonhosted.org/packages/99/f5/90ede947a3ce2d6de1614799f5fea4e93c19b6520a59dc5d2f64123b032f/aiohttp-3.7.4.post0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/99/f5/90ede947a3ce2d6de1614799f5fea4e93c19b6520a59dc5d2f64123b032f/aiohttp-3.7.4.post0.tar.gz
|
||||||
|
Patch0: change-requires-package-version-to-fix-installed-error.patch
|
||||||
|
|
||||||
BuildRequires: python3-attrs
|
BuildRequires: python3-attrs
|
||||||
BuildRequires: python3-chardet
|
BuildRequires: python3-chardet
|
||||||
@ -36,7 +37,7 @@ Provides: python3-aiohttp-doc
|
|||||||
Development documents and examples for aiohttp.
|
Development documents and examples for aiohttp.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n aiohttp-3.7.4.post0
|
%autosetup -n aiohttp-3.7.4.post0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -76,6 +77,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 20 2023 xu_ping <xuping33@h-partners.com> - 3.7.4-3
|
||||||
|
- fix install error
|
||||||
|
|
||||||
* Fri May 20 2022 liukuo <liukuo@kylinos.cn> - 3.7.4-2
|
* Fri May 20 2022 liukuo <liukuo@kylinos.cn> - 3.7.4-2
|
||||||
- License compliance rectification
|
- License compliance rectification
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user