upgrade to 3.8.3

This commit is contained in:
liheavy 2023-02-03 14:49:03 +08:00
parent b27047880c
commit c47aecefa2
5 changed files with 42 additions and 47 deletions

Binary file not shown.

BIN
aiohttp-3.8.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,30 +0,0 @@
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",

View File

@ -1,20 +1,25 @@
%global _empty_manifest_terminate_build 0
Name: python-aiohttp
Version: 3.7.4
Release: 3
Summary: Async http client/server framework (asyncio)
License: Apache-2.0
URL: https://github.com/aio-libs/aiohttp
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
Name: python-aiohttp
Version: 3.8.3
Release: 1
Summary: Async http client/server framework (asyncio)
License: Apache 2
URL: https://github.com/aio-libs/aiohttp
Source0: https://files.pythonhosted.org/packages/ff/4f/62d9859b7d4e6dc32feda67815c5f5ab4421e6909e48cbc970b6a40d60b7/aiohttp-3.8.3.tar.gz
Patch0000: update-requires-charset-version.patch
BuildRequires: python3-attrs
BuildRequires: python3-chardet
BuildRequires: python3-multidict
BuildRequires: python3-async-timeout
BuildRequires: python3-yarl
BuildRequires: python3-typing-extensions
BuildRequires: python3-cchardet
Requires: python3-attrs
Requires: python3-charset-normalizer
Requires: python3-multidict
Requires: python3-async-timeout
Requires: python3-yarl
Requires: python3-frozenlist
Requires: python3-aiosignal
Requires: python3-asynctest
Requires: python3-typing-extensions
Requires: python3-aiodns
Requires: python3-Brotli
Requires: python3-cchardet
%description
Async http client/server framework (asyncio).
@ -37,7 +42,7 @@ Provides: python3-aiohttp-doc
Development documents and examples for aiohttp.
%prep
%autosetup -n aiohttp-3.7.4.post0 -p1
%autosetup -n aiohttp-3.8.3 -p1
%build
%py3_build
@ -77,6 +82,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Fri Feb 3 2023 liheavy <lihaiwei8@huawei.com> - 3.8.3-1
- update to 3.8.3
* Fri Jan 20 2023 xu_ping <xuping33@h-partners.com> - 3.7.4-3
- fix install error

View File

@ -0,0 +1,17 @@
From 35c105cd34e3ba8d1e5ac092d6ad6cd4bfc6e9ef Mon Sep 17 00:00:00 2001
From: liheavy <lihaiwei8@huawei.com>
Date: Fri, 3 Feb 2023 14:49:03 +0800
Subject: [PATCH] update version of charset-normalizer for install aiohttp
diff -Nur aiohttp-3.8.3/setup.cfg aiohttp-3.8.4/setup.cfg
--- aiohttp-3.8.3/setup.cfg 2022-09-21 21:09:48.801040000 +0800
+++ aiohttp-3.8.4/setup.cfg 2023-02-03 15:02:24.282103295 +0800
@@ -47,7 +47,7 @@
include_package_data = True
install_requires =
attrs >= 17.3.0
- charset-normalizer >=2.0, < 3.0
+ charset-normalizer >=2.0, < 4.0
multidict >=4.5, < 7.0
async_timeout >= 4.0.0a3, < 5.0
asynctest == 0.13.0; python_version<"3.8"