Accepting request 730699 from devel:languages:python

- Update to 3.6.0:
  * Add support for Named Pipes
  * Removed Transfer-Encoding: chunked header
  * Accept non-GET request for starting websocket handshake on server side
- Drop merged patch pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/730699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=14
This commit is contained in:
Yuchen Lin 2019-09-16 08:50:41 +00:00 committed by Git OBS Bridge
commit adb4230c26
5 changed files with 13 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c4c83f4fa1938377da32bc2d59379025ceeee8e24b89f72fcbccd8ca22dc9bf
size 1097647

3
aiohttp-3.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af7809ce7de6709afc7770403a70dfdbc4e988c91451108c8e123fac46b870d9
size 1110800

View File

@ -1,23 +0,0 @@
From 6f920b154ad4e013ac60e4193ac4606fca20be73 Mon Sep 17 00:00:00 2001
From: "dependabot-preview[bot]"
<27856297+dependabot-preview[bot]@users.noreply.github.com>
Date: Tue, 2 Jul 2019 20:56:53 +0300
Subject: [PATCH] Bump pytest from 4.6.3 to 5.0.0 (#3879)
---
tests/test_worker.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/test_worker.py b/tests/test_worker.py
index 675b37968..1106820fb 100644
--- a/tests/test_worker.py
+++ b/tests/test_worker.py
@@ -195,7 +195,7 @@ def test__get_valid_log_format_ok(worker, source, result) -> None:
def test__get_valid_log_format_exc(worker) -> None:
with pytest.raises(ValueError) as exc:
worker._get_valid_log_format(WRONG_LOG_FORMAT)
- assert '%(name)s' in str(exc)
+ assert '%(name)s' in str(exc.value)
async def test__run_ok_parent_changed(worker, loop,

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Sep 13 12:05:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.6.0:
* Add support for Named Pipes
* Removed Transfer-Encoding: chunked header
* Accept non-GET request for starting websocket handshake on server side
- Drop merged patch pytest5.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 22 09:27:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Thu Aug 22 09:27:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-aiohttp Name: python-aiohttp
Version: 3.5.4 Version: 3.6.0
Release: 0 Release: 0
Summary: Asynchronous HTTP client/server framework Summary: Asynchronous HTTP client/server framework
License: Apache-2.0 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
Patch0: pytest5.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}
@ -94,7 +93,6 @@ 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}"