diff --git a/aiohttp-3.7.4.post0.tar.gz b/aiohttp-3.7.4.post0.tar.gz deleted file mode 100644 index bb0fc48..0000000 Binary files a/aiohttp-3.7.4.post0.tar.gz and /dev/null differ diff --git a/aiohttp-3.8.3.tar.gz b/aiohttp-3.8.3.tar.gz new file mode 100644 index 0000000..cd619ce Binary files /dev/null and b/aiohttp-3.8.3.tar.gz differ diff --git a/change-requires-package-version-to-fix-installed-error.patch b/change-requires-package-version-to-fix-installed-error.patch deleted file mode 100644 index 86f26c6..0000000 --- a/change-requires-package-version-to-fix-installed-error.patch +++ /dev/null @@ -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", diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 99b352c..326964f 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -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 - 3.8.3-1 +- update to 3.8.3 + * Fri Jan 20 2023 xu_ping - 3.7.4-3 - fix install error @@ -84,4 +92,4 @@ mv %{buildroot}/doclist.lst . - License compliance rectification * Fri Jul 23 2021 wutao - 3.7.4-1 -- Package init +- Package init \ No newline at end of file diff --git a/update-requires-charset-version.patch b/update-requires-charset-version.patch new file mode 100644 index 0000000..3d1a8e0 --- /dev/null +++ b/update-requires-charset-version.patch @@ -0,0 +1,17 @@ +From 35c105cd34e3ba8d1e5ac092d6ad6cd4bfc6e9ef Mon Sep 17 00:00:00 2001 +From: liheavy +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"