Accepting request 731668 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/731668 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=15
This commit is contained in:
commit
ab755aad37
22
aiohttp-3.6.0-fix-typeerror.patch
Normal file
22
aiohttp-3.6.0-fix-typeerror.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From: Matthias Fehring <buschmann23@opensuse.org>
|
||||||
|
Date: 2019-09-18 09:23:00 +0200
|
||||||
|
Subject: fix type error
|
||||||
|
Upstream: merged (https://github.com/aio-libs/aiohttp/pull/4057)
|
||||||
|
|
||||||
|
At least multidict 4.5 is now required.
|
||||||
|
|
||||||
|
---
|
||||||
|
setup.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/setup.py 2019-09-06 14:54:33.000000000 +0200
|
||||||
|
+++ b/setup.py 2019-09-18 09:19:56.227118006 +0200
|
||||||
|
@@ -71,7 +71,7 @@
|
||||||
|
install_requires = [
|
||||||
|
'attrs>=17.3.0',
|
||||||
|
'chardet>=2.0,<4.0',
|
||||||
|
- 'multidict>=4.0,<5.0',
|
||||||
|
+ 'multidict>=4.5,<5.0',
|
||||||
|
'async_timeout>=3.0,<4.0',
|
||||||
|
'yarl>=1.0,<2.0',
|
||||||
|
'idna-ssl>=1.0; python_version<"3.7"',
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 18 07:34:10 UTC 2019 - Matthias Fehring <buschmann23@opensuse.org>
|
||||||
|
|
||||||
|
- Add patch to fix type error with old multidict:
|
||||||
|
* aiohttp-3.6.0-fix-typeerror.patch
|
||||||
|
- Require python-multidict 4.5 or newer
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 13 12:05:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri Sep 13 12:05:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -26,12 +26,14 @@ License: Apache-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/aio-libs/aiohttp
|
URL: https://github.com/aio-libs/aiohttp
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM aiohttp-3.6.0-fix-typeerror.patch
|
||||||
|
Patch0: aiohttp-3.6.0-fix-typeerror.patch
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module async_timeout >= 3.0}
|
BuildRequires: %{python_module async_timeout >= 3.0}
|
||||||
BuildRequires: %{python_module attrs >= 17.3.0}
|
BuildRequires: %{python_module attrs >= 17.3.0}
|
||||||
BuildRequires: %{python_module chardet >= 2.0}
|
BuildRequires: %{python_module chardet >= 2.0}
|
||||||
BuildRequires: %{python_module devel >= 3.5.3}
|
BuildRequires: %{python_module devel >= 3.5.3}
|
||||||
BuildRequires: %{python_module multidict >= 4.0}
|
BuildRequires: %{python_module multidict >= 4.5}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -41,7 +43,7 @@ Requires: python-attrs >= 17.3.0
|
|||||||
Requires: python-brotlipy
|
Requires: python-brotlipy
|
||||||
Requires: python-chardet >= 2.0
|
Requires: python-chardet >= 2.0
|
||||||
Requires: python-gunicorn
|
Requires: python-gunicorn
|
||||||
Requires: python-multidict >= 4.0
|
Requires: python-multidict >= 4.5
|
||||||
Requires: python-yarl >= 1.0
|
Requires: python-yarl >= 1.0
|
||||||
Recommends: python-aiodns
|
Recommends: python-aiodns
|
||||||
Recommends: python-cChardet
|
Recommends: python-cChardet
|
||||||
@ -93,6 +95,7 @@ HTML documentation on the API and examples for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n aiohttp-%{version}
|
%setup -q -n aiohttp-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user