commit python-aiohttp for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2020-11-02 09:39:12

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.3463 (New)


Package is "python-aiohttp"

Mon Nov  2 09:39:12 2020 rev:18 rq:844837 version:3.7.2

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2020-03-10 10:12:11.340686288 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.3463/python-aiohttp.changes  
2020-11-02 09:39:30.569559037 +0100
@@ -1,0 +2,101 @@
+Wed Oct 28 15:33:18 UTC 2020 - John Vandenberg 
+
+- Re-activate tests
+- Update to v3.7.2
+  * Fixed static files handling for loops without .sendfile() support
+- from v3.7.1
+  * Fixed a type error caused by the conditional import of Protocol
+  * Server doesn't send Content-Length for 1xx or 204
+  * Fix run_app typing
+  * Always require typing_extensions library
+  * Fix a variable-shadowing bug causing ThreadedResolver.resolve
+to return the resolved IP as the ``hostname`` in each record,
+which prevented validation of HTTPS connections
+  * Added annotations to all public attributes
+  * Fix flaky test_when_timeout_smaller_second
+  * Ensure sending a zero byte file does not throw an exception
+- from v3.7.0
+  * Response headers are now prepared prior to running 
+``on_response_prepare`` hooks, directly before headers are
+sent to the client
+  * Add a ``quote_cookie`` option to ``CookieJar``, a way to skip
+quotation wrapping of cookies containing special characters
+  * Call AccessLogger.log with the current exception available
+from sys.exc_info()
+  * web.UrlDispatcher.add_routes and web.Application.add_routes
+return a list of registered AbstractRoute instances.
+`AbstractRouteDef.register` (and all subclasses) return a
+list of registered resources registered resource
+  * Added properties of default ClientSession params to
+ClientSession class so it is available for introspection
+  * Don't cancel web handler on peer disconnection, raise
+`OSError` on reading/writing instead.
+  * Implement BaseRequest.get_extra_info() to access a protocol
+transports' extra info.
+  * Added `ClientSession.timeout` property
+  * Allow use of SameSite in cookies
+  * Use loop.sendfile() instead of custom implementation if available
+  * Apply SO_REUSEADDR to test server's socket
+  * Use .raw_host instead of slower .host in client API
+  * Allow configuring the buffer size of input stream by passing
+``read_bufsize`` argument
+  * Add method and url attributes to TraceRequestChunkSentParams
+and TraceResponseChunkReceivedParams.
+  * Add ClientResponse.ok property for checking status code under 400
+  * Don't ceil timeouts that are smaller than 5 seconds.
+  * TCPSite now listens by default on all interfaces instead
+of just IPv4 when `None` is passed in as the host
+  * Bump ``http_parser`` to 2.9.4
+  * Fix keepalive connections not being closed in time
+  * Fix failed websocket handshake leaving connection hanging.
+  * Fix tasks cancellation order on exit.
+The run_app task needs to be cancelled first for cleanup hooks
+to run with all tasks intact.
+  * Don't start heartbeat until _writer is set
+  * Fix handling of multipart file uploads without a content type
+  * Preserve view handler function attributes across middlewares
+  * Fix the string representation of ServerDisconnectedError
+  * Raising RuntimeError when trying to get encoding from not read body
+  * Remove warning messages from noop.
+  * Raise ClientPayloadError if FormData re-processed.
+  * Fix a warning about unfinished task in web_protocol.py
+  * Fixed 'deflate' compression. According to RFC 2616 now.
+  * Fixed OverflowError on platforms with 32-bit time_t
+  * Fixed request.body_exists returns wrong value for methods
+without body
+  * Fix connecting to link-local IPv6 addresses.
+  * Fix a problem with connection waiters that are never awaited
+  * Always make sure transport is not closing before reuse a
+connection.
+Reuse a protocol based on keepalive in headers is unreliable.
+For example, uWSGI will not support keepalive even it serves a
+HTTP 1.1 request, except explicitly configure uWSGI with a
+``--http-keepalive`` option.
+Servers designed like uWSGI could cause aiohttp intermittently
+raise a ConnectionResetException when the protocol poll runs
+out and some protocol is reused.
+  * Handle the last CRLF correctly even if it is received via
+separate TCP segment.
+  * Fix the register_resource function to validate route name
+before splitting it so that route name can include python
+keywords
+  * Fix resolver task is not awaited when connector is cancelled
+  * Fix Aio

commit python-aiohttp for openSUSE:Factory

2020-03-10 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2020-03-10 10:12:09

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.26092 (New)


Package is "python-aiohttp"

Tue Mar 10 10:12:09 2020 rev:17 rq:783182 version:3.6.2

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-10-02 11:59:21.746959915 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.26092/python-aiohttp.changes 
2020-03-10 10:12:11.340686288 +0100
@@ -1,0 +2,16 @@
+Tue Mar 10 08:33:15 UTC 2020 - Tomáš Chvátal 
+
+- Update to 3.6.2:
+  * more compatibility fixes with python 3.8
+- Disable tests as they explode in upstream git too and all other
+  distributions also gave up on it
+
+---
+Tue Mar 10 08:15:55 UTC 2020 - Tomáš Chvátal 
+
+- Do remove pytest configuration to not error out on deprecation
+  warnings
+- Unbundle http parser headers:
+  * unbundle-http-parser.patch
+
+---

Old:

  aiohttp-3.6.1.tar.gz

New:

  aiohttp-3.6.2.tar.gz
  unbundle-http-parser.patch



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.w2GInl/_old  2020-03-10 10:12:12.460686888 +0100
+++ /var/tmp/diff_new_pack.w2GInl/_new  2020-03-10 10:12:12.492686905 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aiohttp
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-aiohttp
-Version:3.6.1
+Version:3.6.2
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
-Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
+Patch0: unbundle-http-parser.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module async_timeout >= 3.0}
 BuildRequires:  %{python_module attrs >= 17.3.0}
@@ -34,6 +34,7 @@
 BuildRequires:  %{python_module multidict >= 4.5}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  http-parser-devel
 BuildRequires:  python-rpm-macros
 Requires:   python >= 3.5.3
 Requires:   python-async_timeout >= 3.0
@@ -79,7 +80,6 @@
 
 %package -n %{name}-doc
 Summary:Documentation files for %{name}
-Group:  Documentation/HTML
 
 %description
 Asynchronous HTTP client/server framework for Python.
@@ -93,12 +93,13 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
 %python_build
 pushd docs
-make %{?_smp_mflags} html
+%make_build html
 rm _build/html/.buildinfo
 popd
 
@@ -109,11 +110,12 @@
 }
 
 %check
-%python_exec setup.py test
+# rm setup.cfg
+#%%python_exec setup.py test
 
 %files %{python_files}
 %license LICENSE.txt
-%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst README.rst
+%doc CHANGES.rst CONTRIBUTORS.txt README.rst
 %{python_sitearch}/*
 
 %files -n %{name}-doc

++ aiohttp-3.6.1.tar.gz -> aiohttp-3.6.2.tar.gz ++
 8602 lines of diff (skipped)

++ unbundle-http-parser.patch ++
diff -Nur aiohttp-3.6.1/aiohttp/_cparser.pxd 
aiohttp-3.6.1.new/aiohttp/_cparser.pxd
--- aiohttp-3.6.1/aiohttp/_cparser.pxd  2019-09-19 17:52:35.0 +0200
+++ aiohttp-3.6.1.new/aiohttp/_cparser.pxd  2019-09-21 15:54:52.313964294 
+0200
@@ -1,7 +1,7 @@
 from libc.stdint cimport uint16_t, uint32_t, uint64_t
 
 
-cdef extern from "../vendor/http-parser/http_parser.h":
+cdef extern from "http_parser.h":
 ctypedef int (*http_data_cb) (http_parser*,
   const char *at,
   size_t length) except -1
diff -Nur aiohttp-3.6.1/setup.py aiohttp-3.6.1.new/setup.py
--- aiohttp-3.6.1/setup.py  2019-09-19 17:52:35.0 +0200
+++ aiohttp-3.6.1.new/setup.py  2019-09-21 15:55:15.423495152 +0200
@@ -27,7 +27,6 @@
 extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket.c']),
   Extension('aiohttp._http_parser',
 ['aiohttp/_http_parser.c',
- 'vendor/http-parser/http_parser.c',
  'aiohttp/_find_header.c'],
 define_macros=[('HTTP_PARSER_STRICT', 0)],

commit python-aiohttp for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-10-02 11:59:16

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.2352 (New)


Package is "python-aiohttp"

Wed Oct  2 11:59:16 2019 rev:16 rq:734269 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-09-23 12:36:40.093617357 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.2352/python-aiohttp.changes  
2019-10-02 11:59:21.746959915 +0200
@@ -1,0 +2,11 @@
+Tue Sep 24 10:20:20 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.6.1:
+  * Compatibility with Python 3.8. #4056
+  * correct some exception string format #4068
+  * Emit a warning when ssl.OP_NO_COMPRESSION is unavailable because
+the runtime is built against an outdated OpenSSL. #4052
+  * Update multidict requirement to >= 4.5 #4057
+- Drop merged patch aiohttp-3.6.0-fix-typeerror.patch
+
+---

Old:

  aiohttp-3.6.0-fix-typeerror.patch
  aiohttp-3.6.0.tar.gz

New:

  aiohttp-3.6.1.tar.gz



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.gzjFLY/_old  2019-10-02 11:59:22.682957516 +0200
+++ /var/tmp/diff_new_pack.gzjFLY/_new  2019-10-02 11:59:22.682957516 +0200
@@ -19,15 +19,13 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-aiohttp
-Version:3.6.0
+Version:3.6.1
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 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 async_timeout >= 3.0}
 BuildRequires:  %{python_module attrs >= 17.3.0}
@@ -95,7 +93,6 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
-%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ aiohttp-3.6.0.tar.gz -> aiohttp-3.6.1.tar.gz ++
 1853 lines of diff (skipped)




commit python-aiohttp for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-09-23 12:33:10

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948 (New)


Package is "python-aiohttp"

Mon Sep 23 12:33:10 2019 rev:15 rq:731668 version:3.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-09-16 10:50:46.387169352 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948/python-aiohttp.changes  
2019-09-23 12:36:40.093617357 +0200
@@ -1,0 +2,7 @@
+Wed Sep 18 07:34:10 UTC 2019 - Matthias Fehring 
+
+- Add patch to fix type error with old multidict:
+  * aiohttp-3.6.0-fix-typeerror.patch
+- Require python-multidict 4.5 or newer
+
+---

New:

  aiohttp-3.6.0-fix-typeerror.patch



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.zhBIwp/_old  2019-09-23 12:36:42.673616932 +0200
+++ /var/tmp/diff_new_pack.zhBIwp/_new  2019-09-23 12:36:42.677616932 +0200
@@ -26,12 +26,14 @@
 Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 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 async_timeout >= 3.0}
 BuildRequires:  %{python_module attrs >= 17.3.0}
 BuildRequires:  %{python_module chardet >= 2.0}
 BuildRequires:  %{python_module devel >= 3.5.3}
-BuildRequires:  %{python_module multidict >= 4.0}
+BuildRequires:  %{python_module multidict >= 4.5}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -41,7 +43,7 @@
 Requires:   python-brotlipy
 Requires:   python-chardet >= 2.0
 Requires:   python-gunicorn
-Requires:   python-multidict >= 4.0
+Requires:   python-multidict >= 4.5
 Requires:   python-yarl >= 1.0
 Recommends: python-aiodns
 Recommends: python-cChardet
@@ -93,6 +95,7 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ aiohttp-3.6.0-fix-typeerror.patch ++
From: Matthias Fehring 
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.0 +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"',



commit python-aiohttp for openSUSE:Factory

2019-09-16 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-09-16 10:50:41

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948 (New)


Package is "python-aiohttp"

Mon Sep 16 10:50:41 2019 rev:14 rq:730699 version:3.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-08-23 11:05:54.118490947 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948/python-aiohttp.changes  
2019-09-16 10:50:46.387169352 +0200
@@ -1,0 +2,9 @@
+Fri Sep 13 12:05:43 UTC 2019 - Tomáš Chvátal 
+
+- 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
+
+---

Old:

  aiohttp-3.5.4.tar.gz
  pytest5.patch

New:

  aiohttp-3.6.0.tar.gz



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.zGYEVy/_old  2019-09-16 10:50:48.199169117 +0200
+++ /var/tmp/diff_new_pack.zGYEVy/_new  2019-09-16 10:50:48.203169117 +0200
@@ -19,14 +19,13 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-aiohttp
-Version:3.5.4
+Version:3.6.0
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
-Patch0: pytest5.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module async_timeout >= 3.0}
 BuildRequires:  %{python_module attrs >= 17.3.0}
@@ -94,7 +93,6 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
-%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ aiohttp-3.5.4.tar.gz -> aiohttp-3.6.0.tar.gz ++
 10277 lines of diff (skipped)




commit python-aiohttp for openSUSE:Factory

2019-08-23 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-08-23 11:05:49

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948 (New)


Package is "python-aiohttp"

Fri Aug 23 11:05:49 2019 rev:13 rq:725261 version:3.5.4

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-06-05 11:46:40.338988145 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948/python-aiohttp.changes  
2019-08-23 11:05:54.118490947 +0200
@@ -1,0 +2,6 @@
+Thu Aug 22 09:27:05 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to work well with pytest 5:
+  * pytest5.patch
+
+---

New:

  pytest5.patch



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.wre9ZT/_old  2019-08-23 11:05:55.914490654 +0200
+++ /var/tmp/diff_new_pack.wre9ZT/_new  2019-08-23 11:05:55.918490654 +0200
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
+Patch0: pytest5.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module async_timeout >= 3.0}
 BuildRequires:  %{python_module attrs >= 17.3.0}
@@ -33,12 +34,6 @@
 BuildRequires:  %{python_module devel >= 3.5.3}
 BuildRequires:  %{python_module multidict >= 4.0}
 BuildRequires:  %{python_module setuptools}
-%if 0%{suse_version} < 1550
-BuildRequires:  %{python_module idna_ssl >= 1.0}
-BuildRequires:  %{python_module typing_extensions >= 3.6.5}
-Requires:   python-idna_ssl
-Requires:   python-typing_extensions
-%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python >= 3.5.3
@@ -49,10 +44,15 @@
 Requires:   python-gunicorn
 Requires:   python-multidict >= 4.0
 Requires:   python-yarl >= 1.0
-Requires:   python-yarl >= 1.0
 Recommends: python-aiodns
 Recommends: python-cChardet
 Suggests:   %{name}-doc
+%if 0%{?suse_version} < 1550
+BuildRequires:  %{python_module idna_ssl >= 1.0}
+BuildRequires:  %{python_module typing_extensions >= 3.6.5}
+Requires:   python-idna_ssl
+Requires:   python-typing_extensions
+%endif
 # SECTION test requirements
 BuildRequires:  %{python_module async_generator}
 BuildRequires:  %{python_module brotlipy}
@@ -94,6 +94,7 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ pytest5.patch ++
>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,



commit python-aiohttp for openSUSE:Factory

2019-06-05 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-06-05 11:46:35

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.5148 (New)


Package is "python-aiohttp"

Wed Jun  5 11:46:35 2019 rev:12 rq:707668 version:3.5.4

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-02-28 21:44:10.941505142 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.5148/python-aiohttp.changes  
2019-06-05 11:46:40.338988145 +0200
@@ -1,0 +2,5 @@
+Tue Jun  4 14:47:20 UTC 2019 - Ondřej Súkup 
+
+- Fix Requires and BuildRequires
+
+---



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.nW2Hrb/_old  2019-06-05 11:46:41.946987741 +0200
+++ /var/tmp/diff_new_pack.nW2Hrb/_new  2019-06-05 11:46:41.946987741 +0200
@@ -27,8 +27,18 @@
 URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module async_timeout >= 3.0}
+BuildRequires:  %{python_module attrs >= 17.3.0}
+BuildRequires:  %{python_module chardet >= 2.0}
 BuildRequires:  %{python_module devel >= 3.5.3}
+BuildRequires:  %{python_module multidict >= 4.0}
 BuildRequires:  %{python_module setuptools}
+%if 0%{suse_version} < 1550
+BuildRequires:  %{python_module idna_ssl >= 1.0}
+BuildRequires:  %{python_module typing_extensions >= 3.6.5}
+Requires:   python-idna_ssl
+Requires:   python-typing_extensions
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python >= 3.5.3
@@ -39,17 +49,14 @@
 Requires:   python-gunicorn
 Requires:   python-multidict >= 4.0
 Requires:   python-yarl >= 1.0
+Requires:   python-yarl >= 1.0
 Recommends: python-aiodns
 Recommends: python-cChardet
 Suggests:   %{name}-doc
 # SECTION test requirements
 BuildRequires:  %{python_module async_generator}
-BuildRequires:  %{python_module async_timeout >= 3.0}
-BuildRequires:  %{python_module attrs >= 17.3.0}
 BuildRequires:  %{python_module brotlipy}
-BuildRequires:  %{python_module chardet >= 2.0}
 BuildRequires:  %{python_module gunicorn}
-BuildRequires:  %{python_module multidict >= 4.0}
 BuildRequires:  %{python_module pluggy}
 BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest-mock}




commit python-aiohttp for openSUSE:Factory

2019-02-28 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-02-28 21:44:07

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.28833 (New)


Package is "python-aiohttp"

Thu Feb 28 21:44:07 2019 rev:11 rq:679845 version:3.5.4

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2019-01-21 10:56:48.635551423 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.28833/python-aiohttp.changes 
2019-02-28 21:44:10.941505142 +0100
@@ -1,0 +2,7 @@
+Wed Feb 27 14:25:09 UTC 2019 - Ondřej Súkup 
+
+- update to 3.5.4
+- drop invalid-escapes-in-tests.patch and rename-request-fixture.patch
+  * big list of changes from 3.4.4 - 
https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst
+
+---

Old:

  aiohttp-3.4.4.tar.gz
  invalid-escapes-in-tests.patch
  rename-request-fixture.patch

New:

  aiohttp-3.5.4.tar.gz



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.rfPlOY/_old  2019-02-28 21:44:11.721504808 +0100
+++ /var/tmp/diff_new_pack.rfPlOY/_new  2019-02-28 21:44:11.725504806 +0100
@@ -19,19 +19,13 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-aiohttp
-Version:3.4.4
+Version:3.5.4
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM mc...@suse.com -- Fix failing tests due to invalid 
escapes in regexps
-# https://github.com/aio-libs/aiohttp/issues/3325
-Patch0: invalid-escapes-in-tests.patch
-# PATCH-FIX-UPSTREAM glaub...@suse.com -- Fix failing test due to naming 
conflict with pytest fixtures
-# https://github.com/aio-libs/aiohttp/issues/3392
-Patch1: rename-request-fixture.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.5.3}
 BuildRequires:  %{python_module setuptools}
@@ -43,7 +37,6 @@
 Requires:   python-brotlipy
 Requires:   python-chardet >= 2.0
 Requires:   python-gunicorn
-Requires:   python-idna_ssl >= 1.0.0
 Requires:   python-multidict >= 4.0
 Requires:   python-yarl >= 1.0
 Recommends: python-aiodns
@@ -56,13 +49,15 @@
 BuildRequires:  %{python_module brotlipy}
 BuildRequires:  %{python_module chardet >= 2.0}
 BuildRequires:  %{python_module gunicorn}
-BuildRequires:  %{python_module idna_ssl >= 1.0.0}
 BuildRequires:  %{python_module multidict >= 4.0}
 BuildRequires:  %{python_module pluggy}
+BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest-timeout}
+BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module trustme}
 BuildRequires:  %{python_module yarl >= 1.0}
 # /SECTION
 # SECTION docs
@@ -92,7 +87,6 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
-%autopatch -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -109,7 +103,6 @@
 }
 
 %check
-rm tests/test_pytest_plugin.py
 %python_exec setup.py test
 
 %files %{python_files}

++ aiohttp-3.4.4.tar.gz -> aiohttp-3.5.4.tar.gz ++
 52887 lines of diff (skipped)




commit python-aiohttp for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2019-01-21 10:56:27

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.28833 (New)


Package is "python-aiohttp"

Mon Jan 21 10:56:27 2019 rev:10 rq:666299 version:3.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-11-20 22:45:13.758219410 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.28833/python-aiohttp.changes 
2019-01-21 10:56:48.635551423 +0100
@@ -1,0 +2,5 @@
+Tue Jan 15 13:15:30 UTC 2019 - Alberto Planas Dominguez 
+
+- Remove version dependency from Cython (boo#1121578).
+
+---



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.t7Qqyy/_old  2019-01-21 10:56:50.127549634 +0100
+++ /var/tmp/diff_new_pack.t7Qqyy/_new  2019-01-21 10:56:50.131549629 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aiohttp
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,7 +32,7 @@
 # PATCH-FIX-UPSTREAM glaub...@suse.com -- Fix failing test due to naming 
conflict with pytest fixtures
 # https://github.com/aio-libs/aiohttp/issues/3392
 Patch1: rename-request-fixture.patch
-BuildRequires:  %{python_module Cython >= 0.28.4}
+BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.5.3}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes




commit python-aiohttp for openSUSE:Factory

2018-11-20 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-11-20 22:44:37

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new.19453 (New)


Package is "python-aiohttp"

Tue Nov 20 22:44:37 2018 rev:9 rq:650542 version:3.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-10-08 17:48:35.190242089 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.19453/python-aiohttp.changes 
2018-11-20 22:45:13.758219410 +0100
@@ -1,0 +2,6 @@
+Tue Nov 20 13:29:01 UTC 2018 - John Paul Adrian Glaubitz 

+
+- Add patch to address name collision issue with pytest fixtures
+  + rename-request-fixture.patch
+
+---

New:

  rename-request-fixture.patch



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.c82Ook/_old  2018-11-20 22:45:14.650219063 +0100
+++ /var/tmp/diff_new_pack.c82Ook/_new  2018-11-20 22:45:14.654219062 +0100
@@ -29,6 +29,9 @@
 # PATCH-FIX-UPSTREAM mc...@suse.com -- Fix failing tests due to invalid 
escapes in regexps
 # https://github.com/aio-libs/aiohttp/issues/3325
 Patch0: invalid-escapes-in-tests.patch
+# PATCH-FIX-UPSTREAM glaub...@suse.com -- Fix failing test due to naming 
conflict with pytest fixtures
+# https://github.com/aio-libs/aiohttp/issues/3392
+Patch1: rename-request-fixture.patch
 BuildRequires:  %{python_module Cython >= 0.28.4}
 BuildRequires:  %{python_module devel >= 3.5.3}
 BuildRequires:  %{python_module setuptools}

++ rename-request-fixture.patch ++
diff -Nru aiohttp-3.4.4.orig/aiohttp/web_response.py 
aiohttp-3.4.4/aiohttp/web_response.py
--- aiohttp-3.4.4.orig/aiohttp/web_response.py  2018-09-05 09:40:54.0 
+0200
+++ aiohttp-3.4.4/aiohttp/web_response.py   2018-11-20 13:49:49.197173589 
+0100
@@ -279,27 +279,27 @@
 # remove the header
 self._headers.popall(hdrs.CONTENT_LENGTH, None)
 
-def _start_compression(self, request):
+def _start_compression(self, mock_request):
 if self._compression_force:
 self._do_start_compression(self._compression_force)
 else:
-accept_encoding = request.headers.get(
+accept_encoding = mock_request.headers.get(
 hdrs.ACCEPT_ENCODING, '').lower()
 for coding in ContentCoding:
 if coding.value in accept_encoding:
 self._do_start_compression(coding)
 return
 
-async def prepare(self, request):
+async def prepare(self, mock_request):
 if self._eof_sent:
 return
 if self._payload_writer is not None:
 return self._payload_writer
 
-await request._prepare_hook(self)
-return await self._start(request)
+await mock_request._prepare_hook(self)
+return await self._start(mock_request)
 
-async def _start(self, request,
+async def _start(self, mock_request,
  HttpVersion10=HttpVersion10,
  HttpVersion11=HttpVersion11,
  CONNECTION=hdrs.CONNECTION,
@@ -310,15 +310,15 @@
  SET_COOKIE=hdrs.SET_COOKIE,
  SERVER_SOFTWARE=SERVER_SOFTWARE,
  TRANSFER_ENCODING=hdrs.TRANSFER_ENCODING):
-self._req = request
+self._req = mock_request
 
 keep_alive = self._keep_alive
 if keep_alive is None:
-keep_alive = request.keep_alive
+keep_alive = mock_request.keep_alive
 self._keep_alive = keep_alive
 
-version = request.version
-writer = self._payload_writer = request._payload_writer
+version = mock_request.version
+writer = self._payload_writer = mock_request._payload_writer
 
 headers = self._headers
 for cookie in self._cookies.values():
@@ -326,13 +326,13 @@
 headers.add(SET_COOKIE, value)
 
 if self._compression:
-self._start_compression(request)
+self._start_compression(mock_request)
 
 if self._chunked:
 if version != HttpVersion11:
 raise RuntimeError(
 "Using chunked encoding is forbidden "
-"for HTTP/{0.major}.{0.minor}".format(request.version))
+"for 
HTTP/{0.major}.{0.minor}".format(mock_request.version))
 writer.enable_chunking()
 headers[TRANSFER_ENCODING] = 'chunked'
 if CONTENT_LENGTH in headers:
@@ -597,7 +597,7 @@
 else:
 await super().write_eof()
 
-async def _st

commit python-aiohttp for openSUSE:Factory

2018-10-08 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-10-08 17:45:38

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Mon Oct  8 17:45:38 2018 rev:8 rq:640242 version:3.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-09-03 10:35:17.344698292 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2018-10-08 17:48:35.190242089 +0200
@@ -1,0 +2,10 @@
+Sat Oct  6 11:10:41 CEST 2018 - mc...@suse.com
+
+- Upgrade to 3.4.4:
+- Multiple small bugfixes
+
+- Remove remove-failing-tests-due-to-pytest-timeout-issues.patch
+- Add invalid-escapes-in-tests.patch to fix invalid escapes in
+  non-raw regexp strings.
+
+---

Old:

  aiohttp-3.4.0.tar.gz
  remove-failing-tests-due-to-pytest-timeout-issues.patch

New:

  aiohttp-3.4.4.tar.gz
  invalid-escapes-in-tests.patch



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.9Au61N/_old  2018-10-08 17:48:35.694241447 +0200
+++ /var/tmp/diff_new_pack.9Au61N/_new  2018-10-08 17:48:35.698241442 +0200
@@ -12,22 +12,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-aiohttp
-Version:3.4.0
+Version:3.4.4
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE alarr...@suse.com -- Fix failing tests due to issue in 
pytest-timeout
-Patch0: remove-failing-tests-due-to-pytest-timeout-issues.patch
+# PATCH-FIX-UPSTREAM mc...@suse.com -- Fix failing tests due to invalid 
escapes in regexps
+# https://github.com/aio-libs/aiohttp/issues/3325
+Patch0: invalid-escapes-in-tests.patch
 BuildRequires:  %{python_module Cython >= 0.28.4} 
 BuildRequires:  %{python_module devel >= 3.5.3}
 BuildRequires:  %{python_module setuptools}
@@ -88,7 +89,7 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
-%patch0 -p1
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags}"

++ aiohttp-3.4.0.tar.gz -> aiohttp-3.4.4.tar.gz ++
 6833 lines of diff (skipped)

++ invalid-escapes-in-tests.patch ++
--- a/tests/test_http_parser.py
+++ b/tests/test_http_parser.py
@@ -369,7 +369,7 @@ def test_max_header_field_size(parser, s
 name = b't' * size
 text = (b'GET /test HTTP/1.1\r\n' + name + b':data\r\n\r\n')
 
-match = ("400, message='Got more than 8190 bytes \({}\) when reading"
+match = (r"400, message='Got more than 8190 bytes \({}\) when reading"
  .format(size))
 with pytest.raises(http_exceptions.LineTooLong, match=match):
 parser.feed_data(text)
@@ -399,7 +399,7 @@ def test_max_header_value_size(parser, s
 text = (b'GET /test HTTP/1.1\r\n'
 b'data:' + name + b'\r\n\r\n')
 
-match = ("400, message='Got more than 8190 bytes \({}\) when reading"
+match = (r"400, message='Got more than 8190 bytes \({}\) when reading"
  .format(size))
 with pytest.raises(http_exceptions.LineTooLong, match=match):
 parser.feed_data(text)
@@ -430,7 +430,7 @@ def test_max_header_value_size_continuat
 text = (b'GET /test HTTP/1.1\r\n'
 b'data: test\r\n ' + name + b'\r\n\r\n')
 
-match = ("400, message='Got more than 8190 bytes \({}\) when reading"
+match = (r"400, message='Got more than 8190 bytes \({}\) when reading"
  .format(size))
 with pytest.raises(http_exceptions.LineTooLong, match=match):
 parser.feed_data(text)
@@ -551,7 +551,7 @@ def test_http_request_parser_bad_version
 @pytest.mark.parametrize('size', [40965, 8191])
 def test_http_request_max_status_line(parser, size):
 path = b't' * (size - 5)
-match = ("400, message='Got more than 8190 bytes \({}\) when reading"
+match = (r"400, message='Got more than 8190 bytes \({}\) when reading"
  .format(size))
 with pytest.raises(http_exceptions.LineTooLong, match=match):
 parser.feed_data(
@@ -595,7 +595,7 @@ def test_http_response_parser_utf8(respo
 @pytest.mark.parametrize('size', [40962, 8191])
 def test_ht

commit python-aiohttp for openSUSE:Factory

2018-09-03 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-09-03 10:35:11

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Mon Sep  3 10:35:11 2018 rev:7 rq:632495 version:3.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-06-29 22:34:04.050123285 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2018-09-03 10:35:17.344698292 +0200
@@ -1,0 +2,11 @@
+Fri Aug 31 11:50:26 UTC 2018 - Tomáš Chvátal 
+
+- Match up requirements to the setup.py
+
+---
+Fri Aug 31 09:22:37 UTC 2018 - Adrian Schröter 
+
+- update to version 3.4.0:
+  * please check the longer list in CHANGES.rst
+
+---

Old:

  aiohttp-3.3.2.tar.gz

New:

  aiohttp-3.4.0.tar.gz



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.AyfHmr/_old  2018-09-03 10:35:17.776699406 +0200
+++ /var/tmp/diff_new_pack.AyfHmr/_new  2018-09-03 10:35:17.784699428 +0200
@@ -18,46 +18,48 @@
 
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
-%bcond_without test
 Name:   python-aiohttp
-Version:3.3.2
+Version:3.4.0
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
-URL:https://aiohttp.readthedocs.io/
+URL:https://github.com/aio-libs/aiohttp
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE alarr...@suse.com -- Fix failing tests due to issue in 
pytest-timeout
 Patch0: remove-failing-tests-due-to-pytest-timeout-issues.patch
-BuildRequires:  %{python_module devel >= 3.4.2}
+BuildRequires:  %{python_module Cython >= 0.28.4} 
+BuildRequires:  %{python_module devel >= 3.5.3}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python >= 3.4.2
-Requires:   python-async_timeout >= 2.0.0
-Requires:   python-attrs
-Requires:   python-chardet
+Requires:   python >= 3.5.3
+Requires:   python-async_timeout >= 3.0
+Requires:   python-attrs >= 17.3.0
+Requires:   python-brotlipy
+Requires:   python-chardet >= 2.0
+Requires:   python-gunicorn
 Requires:   python-idna_ssl >= 1.0.0
-Requires:   python-multidict >= 3.3.0
-Requires:   python-yarl >= 0.13.0
+Requires:   python-multidict >= 4.0
+Requires:   python-yarl >= 1.0
 Recommends: python-aiodns
 Recommends: python-cChardet
 Suggests:   %{name}-doc
 # SECTION test requirements
-%if %{with test}
 BuildRequires:  %{python_module async_generator}
-BuildRequires:  %{python_module async_timeout >= 2.0.0}
-BuildRequires:  %{python_module chardet}
+BuildRequires:  %{python_module async_timeout >= 3.0}
+BuildRequires:  %{python_module attrs >= 17.3.0}
+BuildRequires:  %{python_module brotlipy}
+BuildRequires:  %{python_module chardet >= 2.0}
 BuildRequires:  %{python_module gunicorn}
 BuildRequires:  %{python_module idna_ssl >= 1.0.0}
-BuildRequires:  %{python_module multidict >= 3.3.0}
+BuildRequires:  %{python_module multidict >= 4.0}
 BuildRequires:  %{python_module pluggy}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module yarl >= 1.1.0}
-%endif
+BuildRequires:  %{python_module yarl >= 1.0}
 # /SECTION
 # SECTION docs
 BuildRequires:  %{python_module MarkupSafe}
@@ -68,7 +70,6 @@
 BuildRequires:  python3-sphinxcontrib-blockdiag
 BuildRequires:  python3-sphinxcontrib-newsfeed
 # /SECTION
-
 %python_subpackages
 
 %package -n %{name}-doc
@@ -103,11 +104,9 @@
 find %{buildroot}%{$python_sitearch} -name "*.c" -delete
 }
 
-%if %{with test}
 %check
 rm tests/test_pytest_plugin.py
 %python_exec setup.py test
-%endif
 
 %files %{python_files}
 %license LICENSE.txt

++ aiohttp-3.3.2.tar.gz -> aiohttp-3.4.0.tar.gz ++
 41060 lines of diff (skipped)




commit python-aiohttp for openSUSE:Factory

2018-06-29 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-06-29 22:34:00

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Fri Jun 29 22:34:00 2018 rev:6 rq:618909 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-05-13 15:59:28.918553614 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2018-06-29 22:34:04.050123285 +0200
@@ -1,0 +2,21 @@
+Mon Jun 25 07:50:19 UTC 2018 - adr...@suse.de
+
+- update to version 3.3.2:
+  * Raise ``ConnectionResetError`` instead of ``CancelledError`` on trying to
+write to a closed stream. (`#2499 
`_)
+  * Implement ``ClientTimeout`` class and support socket read timeout. (`#2768 
`_)
+  * Enable logging when ``aiohttp.web`` is used as a program (`#2956 
`_)
+  * Add canonical property to resources (`#2968 
`_)
+  * Forbid reading response BODY after release (`#2983 
`_)
+  * Implement base protocol class to avoid a dependency from internal
+``asyncio.streams.FlowControlMixin`` (`#2986 
`_)
+  * Cythonize ``@helpers.reify``, 5% boost on macro benchmark (`#2995 
`_)
+  * Optimize HTTP parser (`#3015 
`_)
+  * Implement ``runner.addresses`` property. (`#3036 
`_)
+  * Use ``bytearray`` instead of a list of ``bytes`` in websocket reader. It
+improves websocket message reading a little. (`#3039 
`_)
+  * Remove heartbeat on closing connection on keepalive timeout. The used hack
+violates HTTP protocol. (`#3041 
`_)
+  * Limit websocket message size on reading to 4 MB by default. (`#3045 
`_)
+
+---

Old:

  aiohttp-3.1.3.tar.gz

New:

  aiohttp-3.3.2.tar.gz



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.HAIQDz/_old  2018-06-29 22:34:04.502122893 +0200
+++ /var/tmp/diff_new_pack.HAIQDz/_new  2018-06-29 22:34:04.506122889 +0200
@@ -20,7 +20,7 @@
 %define skip_python2 1
 %bcond_without test
 Name:   python-aiohttp
-Version:3.1.3
+Version:3.3.2
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
@@ -53,9 +53,10 @@
 BuildRequires:  %{python_module multidict >= 3.3.0}
 BuildRequires:  %{python_module pluggy}
 BuildRequires:  %{python_module pytest-mock}
+BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module yarl >= 0.13.0}
+BuildRequires:  %{python_module yarl >= 1.1.0}
 %endif
 # /SECTION
 # SECTION docs
@@ -67,6 +68,7 @@
 BuildRequires:  python3-sphinxcontrib-blockdiag
 BuildRequires:  python3-sphinxcontrib-newsfeed
 # /SECTION
+
 %python_subpackages
 
 %package -n %{name}-doc

++ aiohttp-3.1.3.tar.gz -> aiohttp-3.3.2.tar.gz ++
 23955 lines of diff (skipped)




commit python-aiohttp for openSUSE:Factory

2018-05-13 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-05-13 15:59:22

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Sun May 13 15:59:22 2018 rev:5 rq:596552 version:3.1.3

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-03-14 19:35:46.000173458 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2018-05-13 15:59:28.918553614 +0200
@@ -1,0 +2,59 @@
+Sat Apr 14 17:22:15 UTC 2018 - a...@gmx.de
+
+- update to version 3.1.3:
+  * Fix cancellation broadcast during DNS resolve (#2910)
+
+---
+Thu Apr 12 20:47:59 UTC 2018 - a...@gmx.de
+
+- update to version 3.1.2:
+  * Make LineTooLong exception more detailed about actual data size
+(#2863)
+  * Call on_chunk_sent when write_eof takes as a param the last chunk
+(#2909)
+
+- changes from version 3.1.1:
+  * Support asynchronous iterators (and asynchronous generators as
+well) in both client and server API as request / response BODY
+payloads. (#2802)
+
+---
+Fri Mar 23 15:16:21 UTC 2018 - tbecht...@suse.com
+
+- update to 3.1.0:
+  - Relax JSON content-type checking in the ``ClientResponse.json()`` to allow
+"application/xxx+json" instead of strict "application/json". (#2206)
+  - Bump C HTTP parser to version 2.8 (#2730)
+  - Accept a coroutine as an application factory in ``web.run_app`` and 
gunicorn
+worker. (#2739)
+  - Implement application cleanup context (``app.cleanup_ctx`` property). 
(#2747)
+  - Make ``writer.write_headers`` a coroutine. (#2762)
+  - Add tracking signals for getting request/response bodies. (#2767)
+  - Deprecate ClientResponseError.code in favor of .status to keep similarity
+with response classes. (#2781)
+  - Implement ``app.add_routes()`` method. (#2787)
+  - Implement ``web.static()`` and ``RouteTableDef.static()`` API. (#2795)
+  - Install a test event loop as default by ``asyncio.set_event_loop()``. The
+change affects aiohttp test utils but backward compatibility is not broken
+for 99.99% of use cases. (#2804)
+  - Refactor ``ClientResponse`` constructor: make logically required 
constructor
+arguments mandatory, drop ``_post_init()`` method. (#2820)
+  - Use ``app.add_routes()`` in server docs everywhere (#2830)
+  - Websockets refactoring, all websocket writer methods are converted into
+coroutines. (#2836)
+  - Provide ``Content-Range`` header for ``Range`` requests (#2844)
+  - Fix websocket client return EofStream. (#2784)
+  - Fix websocket demo. (#2789)
+  - Property ``BaseRequest.http_range`` now returns a python-like slice when
+requesting the tail of the range. It's now indicated by a negative value in
+  ``range.start`` rather then in ``range.stop`` (#2805)
+  - Close a connection if an unexpected exception occurs while sending a 
request
+  - Fix firing DNS tracing events. (#2841)
+  - Change ``ClientResponse.json()`` documentation to reflect that it now
+allows "application/xxx+json" content-types (#2206)
+  - Document behavior when cchardet detects encodings that are unknown to 
Python.
+  - Add diagrams for tracing request life style. (#2748)
+  - Drop removed functionality for passing ``StreamReader`` as data at client
+side. (#2793)
+
+---

Old:

  aiohttp-3.0.1.tar.gz

New:

  aiohttp-3.1.3.tar.gz



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.xVz78O/_old  2018-05-13 15:59:30.482496549 +0200
+++ /var/tmp/diff_new_pack.xVz78O/_new  2018-05-13 15:59:30.482496549 +0200
@@ -17,23 +17,35 @@
 
 
 %{?!python_module:%define python_module() python3-%{**}}
-%bcond_without test
 %define skip_python2 1
+%bcond_without test
 Name:   python-aiohttp
-Version:3.0.1
+Version:3.1.3
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://aiohttp.readthedocs.io/
+URL:https://aiohttp.readthedocs.io/
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE alarr...@suse.com -- Fix failing tests due to issue in 
pytest-timeout
 Patch0: remove-failing-tests-due-to-pytest-timeout-issues.patch
 BuildRequires:  %{python_module devel >= 3.4.2}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+

commit python-aiohttp for openSUSE:Factory

2018-03-14 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-03-14 19:35:40

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Wed Mar 14 19:35:40 2018 rev:4 rq:577628 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2018-01-10 23:33:53.379622437 +0100
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2018-03-14 19:35:46.000173458 +0100
@@ -1,0 +2,24 @@
+Sat Feb 17 14:41:39 UTC 2018 - alarr...@suse.com
+
+- update to version 3.0.1
+  * async/await everywhere. The minimal supported Python version is 3.5.3 now.
+  * Application Runners.
+  * Client Tracing. Now it is possible by registering special signal handlers
+on every request processing stage.
+  * HTTPS support
+  * Dropped obsolete API. The release dropped a lot of already deprecated
+features.
+  * The full changelog can be read at
+https://aiohttp.readthedocs.io/en/stable/changes.html
+
+- Add python3-idna_ssl, python3-Pygments and python3-aiohttp-theme to
+  BuildRequires.
+
+- Add Requires: python3-idna_ssl
+
+- Fix tests by removing a file and adding a patch to remove another
+  failing test due to a DeprecationWarning being issued by pytest because
+  of a problem in python-pytest-timeout.
+  * remove-failing-tests-due-to-pytest-timeout-issues.patch
+
+---

Old:

  aiohttp-2.3.7.tar.gz

New:

  aiohttp-3.0.1.tar.gz
  remove-failing-tests-due-to-pytest-timeout-issues.patch



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.MlOBQ1/_old  2018-03-14 19:35:47.528119189 +0100
+++ /var/tmp/diff_new_pack.MlOBQ1/_new  2018-03-14 19:35:47.532119047 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aiohttp
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,15 @@
 %bcond_without test
 %define skip_python2 1
 Name:   python-aiohttp
-Version:2.3.7
+Version:3.0.1
 Release:0
 Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:https://aiohttp.readthedocs.io/
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE alarr...@suse.com -- Fix failing tests due to issue in 
pytest-timeout
+Patch0: remove-failing-tests-due-to-pytest-timeout-issues.patch
 BuildRequires:  %{python_module devel >= 3.4.2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
@@ -35,6 +37,7 @@
 BuildRequires:  %{python_module async_timeout >= 2.0.0}
 BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module gunicorn}
+BuildRequires:  %{python_module idna_ssl >= 1.0.0}
 BuildRequires:  %{python_module multidict >= 3.3.0}
 BuildRequires:  %{python_module pluggy}
 BuildRequires:  %{python_module pytest-mock}
@@ -45,7 +48,9 @@
 # /SECTION
 # SECTION docs
 BuildRequires:  %{python_module MarkupSafe}
+BuildRequires:  python3-Pygments >= 2.1
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-aiohttp-theme
 BuildRequires:  python3-sphinxcontrib-asyncio
 BuildRequires:  python3-sphinxcontrib-newsfeed
 # /SECTION
@@ -53,6 +58,7 @@
 Requires:   python >= 3.4.2
 Requires:   python-async_timeout >= 2.0.0
 Requires:   python-chardet
+Requires:   python-idna_ssl >= 1.0.0
 Requires:   python-multidict >= 3.3.0
 Requires:   python-yarl >= 0.13.0
 Recommends: python-cChardet
@@ -77,6 +83,7 @@
 
 %prep
 %setup -q -n aiohttp-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -94,6 +101,7 @@
 
 %if %{with test}
 %check
+rm tests/test_pytest_plugin.py
 %python_exec setup.py test
 %endif
 

++ aiohttp-2.3.7.tar.gz -> aiohttp-3.0.1.tar.gz ++
 52921 lines of diff (skipped)

++ remove-failing-tests-due-to-pytest-timeout-issues.patch ++
From: Antonio Larrosa 

Remove failing test due to a DeprecationWarning being issued
by pytest because pytest-timeout is using a wrong parameter
when calling addoption. 

I tested changing pytest-timeout from using type='choice' to
type=str and that passed the tests, so I choosed to remove the
test while the fix gets to the python-pytest-timeout package.

Index: aiohttp-3.0.1/tests/test_test_utils.py
=

commit python-aiohttp for openSUSE:Factory

2018-01-10 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2018-01-10 23:33:52

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Wed Jan 10 23:33:52 2018 rev:3 rq:560877 version:2.3.7

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2017-10-13 14:15:08.362730333 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2018-01-10 23:33:53.379622437 +0100
@@ -1,0 +2,212 @@
+Sun Dec 31 09:00:05 UTC 2017 - adr...@suse.de
+
+- update to version 2.3.7
+
+---
+Sun Dec 10 08:39:51 UTC 2017 - adr...@suse.de
+
+- add MarkupSafe as build depdency to fix documentaion generation
+
+---
+Wed Dec  6 03:01:31 UTC 2017 - a...@gmx.de
+
+- update to version 2.3.6:
+  * Correct request.app context (for handlers not just
+middlewares). (#2577)
+
+---
+Sun Dec  3 19:10:33 UTC 2017 - a...@gmx.de
+
+- specfile:
+  * require pluggy
+
+- update to version 2.3.5:
+  * Fix compatibility with pytest 3.3+ (#2565)
+
+- changes from version 2.3.4:
+  * Make request.app point to proper application instance when using
+nested applications (with middlewares). (#2550)
+  * Change base class of ClientConnectorSSLError to ClientSSLError
+from ClientConnectorError. (#2563)
+  * Return client connection back to free pool on error in
+connector.connect(). (#2567)
+
+---
+Sun Nov 19 05:10:08 UTC 2017 - a...@gmx.de
+
+- update to version 2.3.3:
+  * Having a ; in Response content type does not assume it contains a
+charset anymore. (#2197)
+  * Use getattr(asyncio, ‘async’) for keeping compatibility with
+Python 3.7. (#2476)
+  * Ignore NotImplementedError raised by set_child_watcher from
+uvloop. (#2491)
+  * Fix warning in ClientSession.__del__ by stopping to try to close
+it. (#2523)
+  * Fixed typo’s in Third-party libraries page. And added async-v20 to
+the list (#2510)
+
+---
+Thu Nov  9 06:33:40 UTC 2017 - a...@gmx.de
+
+- specfile:
+  * updated requirements according to requirement/ci-wheel.txt in
+tar-ball
+  * removed 'changes' from %doc
+
+- update to version 2.3.2:
+  * Fix passing client max size on cloning request obj. (#2385)
+  * Fix ClientConnectorSSLError and ClientProxyConnectionError for
+proxy connector. (#2408)
+  * Drop generated _http_parser shared object from tarball
+distribution. (#2414)
+  * Fix connector convert OSError to ClientConnectorError. (#2423)
+  * Fix connection attempts for multiple dns hosts. (#2424)
+  * Fix ValueError for AF_INET6 sockets if a preexisting INET6 socket
+to the aiohttp.web.run_app function. (#2431)
+  * _SessionRequestContextManager closes the session properly
+now. (#2441)
+  * Rename from_env to trust_env in client reference. (#2451)
+
+- changes from version 2.3.1:
+  * Relax attribute lookup in warning about old-styled middleware
+(#2340)
+
+- changes from version 2.3.0:
+  * Features
++ Add SSL related params to ClientSession.request (#1128)
++ Make enable_compression work on HTTP/1.0 (#1828)
++ Deprecate registering synchronous web handlers (#1993)
++ Switch to multidict 3.0. All HTTP headers preserve casing now
+  but compared in case-insensitive way. (#1994)
++ Improvement for normalize_path_middleware. Added possibility to
+  handle URLs with query string. (#1995)
++ Use towncrier for CHANGES.txt build (#1997)
++ Implement trust_env=True param in ClientSession. (#1998)
++ Added variable to customize proxy headers (#2001)
++ Implement router.add_routes and router decorators. (#2004)
++ Deprecated BaseRequest.has_body in favor of
+  BaseRequest.can_read_body Added BaseRequest.body_exists
+  attribute that stays static for the lifetime of the request
+  (#2005)
++ Provide BaseRequest.loop attribute (#2024)
++ Make _CoroGuard awaitable and fix ClientSession.close warning
+  message (#2026)
++ Responses to redirects without Location header are returned
+  instead of raising a RuntimeError (#2030)
++ Added get_client, get_server, setUpAsync and tearDownAsync
+  methods to AioHTTPTestCase (#2032)
++ Add automatically a SafeChildWatcher to the test loop (#2058)
++ add ability to disable automatic response decompression (#2110)
++ Add support for throttling DNS request, avoiding the requests
+  saturation when there is a miss in the DNS cache and many

commit python-aiohttp for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package python-aiohttp for openSUSE:Factory 
checked in at 2017-10-13 14:15:01

Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old)
 and  /work/SRC/openSUSE:Factory/.python-aiohttp.new (New)


Package is "python-aiohttp"

Fri Oct 13 14:15:01 2017 rev:2 rq:533135 version:2.2.5

Changes:

--- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes
2017-09-29 11:55:21.623022466 +0200
+++ /work/SRC/openSUSE:Factory/.python-aiohttp.new/python-aiohttp.changes   
2017-10-13 14:15:08.362730333 +0200
@@ -1,0 +2,10 @@
+Wed Sep 20 15:49:32 UTC 2017 - aloi...@gmx.com
+
+- Fixed build on non Factory targets
+
+---
+Mon Sep 11 15:24:42 UTC 2017 - jeng...@inai.de
+
+- Repair package description grammar.
+
+---



Other differences:
--
++ python-aiohttp.spec ++
--- /var/tmp/diff_new_pack.SrUcqZ/_old  2017-10-13 14:15:10.218648728 +0200
+++ /var/tmp/diff_new_pack.SrUcqZ/_new  2017-10-13 14:15:10.222648551 +0200
@@ -13,31 +13,32 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %bcond_without test
 %define skip_python2 1
 Name:   python-aiohttp
 Version:2.2.5
 Release:0
+Summary:Asynchronous HTTP client/server framework
 License:Apache-2.0
-Summary:Async http client/server framework
-Url:https://aiohttp.readthedocs.io/
 Group:  Development/Languages/Python
+Url:https://aiohttp.readthedocs.io/
 Source: 
https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel >= 3.4.2}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
 %if %{with test}
 BuildRequires:  %{python_module async_timeout >= 1.2.0}
 BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module gunicorn}
 BuildRequires:  %{python_module multidict >= 2.1.4}
+BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module yarl >= 0.11}
 %endif
 # /SECTION
@@ -63,11 +64,11 @@
 Group:  Documentation/HTML
 
 %description
-Asyncronic HTTP client/server framework for Python.
+Asynchronous HTTP client/server framework for Python.
 
-- Supports both client and server side of HTTP protocol.
-- Supports both client and server Web-Sockets out-of-the-box.
-- Web-server has middlewares and pluggable routing.
+- Supports both the client and server side of HTTP protocol.
+- Supports both client and server WebSockets out-of-the-box.
+- Web-server has middleware and pluggable routing.
 
 %description -n %{name}-doc
 HTML documentation on the API and examples for %name.