From f01a1a7c4672ec56dd88dffcd1bc81f0eed58b7f822e015bf3a05e5b90c97d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 10 Nov 2017 11:40:22 +0000 Subject: [PATCH 1/5] Accepting request 540377 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/540377 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=9 --- aiohttp-2.2.5.tar.gz | 3 - aiohttp-2.3.2.tar.gz | 3 + python-aiohttp.changes | 163 +++++++++++++++++++++++++++++++++++++++++ python-aiohttp.spec | 16 ++-- 4 files changed, 174 insertions(+), 11 deletions(-) delete mode 100644 aiohttp-2.2.5.tar.gz create mode 100644 aiohttp-2.3.2.tar.gz diff --git a/aiohttp-2.2.5.tar.gz b/aiohttp-2.2.5.tar.gz deleted file mode 100644 index 65a8473..0000000 --- a/aiohttp-2.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:af5bfdd164256118a0a306b3f7046e63207d1f8cba73a67dcc0bd858dcfcd3bc -size 788626 diff --git a/aiohttp-2.3.2.tar.gz b/aiohttp-2.3.2.tar.gz new file mode 100644 index 0000000..994dd84 --- /dev/null +++ b/aiohttp-2.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42373fbdbe8f09233c17e74f53cee877bc7d5b495b4fc14c32a119255e85e736 +size 841030 diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 6f81cf0..bfb51eb 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,166 @@ +------------------------------------------------------------------- +Thu Nov 9 06:33:40 UTC 2017 - arun@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 + requests getting into the connector at the same time. (#2111) + + Use request for getting access log information instead of + message/transport pair. Add RequestBase.remote property for + accessing to IP of client initiated HTTP request. (#2123) + + json() raises a ContentTypeError exception if the content-type + does not meet the requirements instead of raising a generic + ClientResponseError. (#2136) + + Make the HTTP client able to return HTTP chunks when chunked + transfer encoding is used. (#2150) + + add append_version arg into StaticResource.url and + StaticResource.url_for methods for getting an url with hash + (version) of the file. (#2157) + + Fix parsing the Forwarded header. * commas and semicolons are + allowed inside quoted-strings; * empty forwarded-pairs (as in + for=_1;;by=_2) are allowed; * non-standard parameters are + allowed (although this alone could be easily done in the + previous parser). (#2173) + + Don’t require ssl module to run. aiohttp does not require SSL to + function. The code paths involved with SSL will only be hit upon + SSL usage. Raise RuntimeError if HTTPS protocol is required but + ssl module is not present. (#2221) + + Accept coroutine fixtures in pytest plugin (#2223) + + Call shutdown_asyncgens before event loop closing on Python + 3.6. (#2227) + + Speed up Signals when there are no receivers (#2229) + + Raise InvalidURL instead of ValueError on fetches with invalid + URL. (#2241) + + Move DummyCookieJar into cookiejar.py (#2242) + + run_app: Make print=None disable printing (#2260) + + Support brotli encoding (generic-purpose lossless compression + algorithm) (#2270) + + Add server support for WebSockets Per-Message Deflate. Add + client option to add deflate compress header in WebSockets + request header. If calling ClientSession.ws_connect() with + compress=15 the client will support deflate compress + negotiation. (#2273) + + Support verify_ssl, fingerprint, ssl_context and proxy_headers + by client.ws_connect. (#2292) + + Added aiohttp.ClientConnectorSSLError when connection fails due + ssl.SSLError (#2294) + + aiohttp.web.Application.make_handler support access_log_class + (#2315) + + Build HTTP parser extension in non-strict mode by + default. (#2332) + * Bugfixes + + Clear auth information on redirecting to other domain (#1699) + + Fix missing app.loop on startup hooks during tests (#2060) + + Fix issue with synchronous session closing when using + ClientSession as an asynchronous context manager. (#2063) + + Fix issue with CookieJar incorrectly expiring cookies in some + edge cases. (#2084) + + Force use of IPv4 during test, this will make tests run in a + Docker container (#2104) + + Warnings about unawaited coroutines now correctly point to the + user’s code. (#2106) + + Fix issue with IndexError being raised by the + StreamReader.iter_chunks() generator. (#2112) + + Support HTTP 308 Permanent redirect in client class. (#2114) + + Fix FileResponse sending empty chunked body on 304. (#2143) + + Do not add Content-Length: 0 to GET/HEAD/TRACE/OPTIONS requests + by default. (#2167) + + Fix parsing the Forwarded header according to RFC 7239. (#2170) + + Securely determining remote/scheme/host #2171 (#2171) + + Fix header name parsing, if name is split into multiple lines + (#2183) + + Handle session close during connection, KeyError: + (#2193) + + Fixes uncaught TypeError in helpers.guess_filename if name is + not a string (#2201) + + Raise OSError on async DNS lookup if resolved domain is an alias + for another one, which does not have an A or CNAME + record. (#2231) + + Fix incorrect warning in StreamReader. (#2251) + + Properly clone state of web request (#2284) + + Fix C HTTP parser for cases when status line is split into + different TCP packets. (#2311) + + Fix web.FileResponse overriding user supplied Content-Type + (#2317) + * Improved Documentation + + Add a note about possible performance degradation in await + resp.text() if charset was not provided by Content-Type HTTP + header. Pass explicit encoding to solve it. (#1811) + + Drop disqus widget from documentation pages. (#2018) + + Add a graceful shutdown section to the client usage + documentation. (#2039) + + Document connector_owner parameter. (#2072) + + Update the doc of web.Application (#2081) + + Fix mistake about access log disabling. (#2085) + + Add example usage of on_startup and on_shutdown signals by + creating and disposing an aiopg connection engine. (#2131) + + Document encoded=True for yarl.URL, it disables all yarl + transformations. (#2198) + + Document that all app’s middleware factories are run for every + request. (#2225) + + Reflect the fact that default resolver is threaded one starting + from aiohttp 1.1 (#2228) + * Deprecations and Removals + + Drop deprecated Server.finish_connections (#2006) + + Drop %O format from logging, use %b instead. Drop %e format from + logging, environment variables are not supported + anymore. (#2123) + + Drop deprecated secure_proxy_ssl_header support (#2171) + + Removed TimeService in favor of simple caching. TimeService also + had a bug where it lost about 0.5 seconds per second. (#2176) + + Drop unused response_factory from static files API (#2290) + * Misc + + #2013, #2014, #2048, #2094, #2149, #2187, #2214, #2225, #2243, + #2248 + ------------------------------------------------------------------- Wed Sep 20 15:49:32 UTC 2017 - aloisio@gmx.com diff --git a/python-aiohttp.spec b/python-aiohttp.spec index a4aeb0b..6ccfa0d 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -20,7 +20,7 @@ %bcond_without test %define skip_python2 1 Name: python-aiohttp -Version: 2.2.5 +Version: 2.3.2 Release: 0 Summary: Asynchronous HTTP client/server framework License: Apache-2.0 @@ -32,14 +32,14 @@ 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 async_timeout >= 2.0.0} BuildRequires: %{python_module chardet} BuildRequires: %{python_module gunicorn} -BuildRequires: %{python_module multidict >= 2.1.4} +BuildRequires: %{python_module multidict >= 3.3.0} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module yarl >= 0.11} +BuildRequires: %{python_module yarl >= 0.13.0} %endif # /SECTION # SECTION docs @@ -49,10 +49,10 @@ BuildRequires: python3-sphinxcontrib-newsfeed # /SECTION BuildRequires: fdupes Requires: python >= 3.4.2 -Requires: python-async_timeout >= 1.2.0 +Requires: python-async_timeout >= 2.0.0 Requires: python-chardet -Requires: python-multidict >= 2.1.4 -Requires: python-yarl >= 0.11 +Requires: python-multidict >= 3.3.0 +Requires: python-yarl >= 0.13.0 Recommends: python-cChardet Recommends: python-aiodns Suggests: %{name}-doc @@ -97,7 +97,7 @@ find %{buildroot}%{$python_sitearch} -name "*.c" -delete %files %{python_files} %defattr(-,root,root,-) -%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst LICENSE.txt README.rst changes +%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst LICENSE.txt README.rst %{python_sitearch}/* %files -n %{name}-doc From 873eb82c9df45abbe64ce20797f2ce9d326514b35cefe398baa7d286c71cb7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 19 Nov 2017 14:49:09 +0000 Subject: [PATCH 2/5] Accepting request 542873 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/542873 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=10 --- aiohttp-2.3.2.tar.gz | 3 --- aiohttp-2.3.3.tar.gz | 3 +++ python-aiohttp.changes | 15 +++++++++++++++ python-aiohttp.spec | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) delete mode 100644 aiohttp-2.3.2.tar.gz create mode 100644 aiohttp-2.3.3.tar.gz diff --git a/aiohttp-2.3.2.tar.gz b/aiohttp-2.3.2.tar.gz deleted file mode 100644 index 994dd84..0000000 --- a/aiohttp-2.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42373fbdbe8f09233c17e74f53cee877bc7d5b495b4fc14c32a119255e85e736 -size 841030 diff --git a/aiohttp-2.3.3.tar.gz b/aiohttp-2.3.3.tar.gz new file mode 100644 index 0000000..f300cef --- /dev/null +++ b/aiohttp-2.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a2e33e90560dacb819b095b9d9611597925d75d1b93dd9490055d3826d98a82 +size 843972 diff --git a/python-aiohttp.changes b/python-aiohttp.changes index bfb51eb..652d015 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Nov 19 05:10:08 UTC 2017 - arun@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 - arun@gmx.de diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 6ccfa0d..c1c536b 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -20,7 +20,7 @@ %bcond_without test %define skip_python2 1 Name: python-aiohttp -Version: 2.3.2 +Version: 2.3.3 Release: 0 Summary: Asynchronous HTTP client/server framework License: Apache-2.0 From 6d3515e5c240fba1be318c7a5b47dc4d966033afa8cfbb306b1bdad4a346741a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 6 Dec 2017 09:27:11 +0000 Subject: [PATCH 3/5] Accepting request 554678 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/554678 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=11 --- aiohttp-2.3.3.tar.gz | 3 --- aiohttp-2.3.6.tar.gz | 3 +++ python-aiohttp.changes | 24 ++++++++++++++++++++++++ python-aiohttp.spec | 3 ++- 4 files changed, 29 insertions(+), 4 deletions(-) delete mode 100644 aiohttp-2.3.3.tar.gz create mode 100644 aiohttp-2.3.6.tar.gz diff --git a/aiohttp-2.3.3.tar.gz b/aiohttp-2.3.3.tar.gz deleted file mode 100644 index f300cef..0000000 --- a/aiohttp-2.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a2e33e90560dacb819b095b9d9611597925d75d1b93dd9490055d3826d98a82 -size 843972 diff --git a/aiohttp-2.3.6.tar.gz b/aiohttp-2.3.6.tar.gz new file mode 100644 index 0000000..89401d6 --- /dev/null +++ b/aiohttp-2.3.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0111b4c71d1121bfcbd392bbabd573d20f133f491161b87718a07976e0459c32 +size 846135 diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 652d015..e46382b 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Dec 6 03:01:31 UTC 2017 - arun@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 - arun@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 - arun@gmx.de diff --git a/python-aiohttp.spec b/python-aiohttp.spec index c1c536b..27fc037 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -20,7 +20,7 @@ %bcond_without test %define skip_python2 1 Name: python-aiohttp -Version: 2.3.3 +Version: 2.3.6 Release: 0 Summary: Asynchronous HTTP client/server framework License: Apache-2.0 @@ -36,6 +36,7 @@ BuildRequires: %{python_module async_timeout >= 2.0.0} BuildRequires: %{python_module chardet} BuildRequires: %{python_module gunicorn} BuildRequires: %{python_module multidict >= 3.3.0} +BuildRequires: %{python_module pluggy} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} From d742f17dd9254cf42c7e0058cea083297cb4df344ff32a6820188e9acf856e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 10 Dec 2017 14:58:23 +0000 Subject: [PATCH 4/5] Accepting request 555643 from home:adrianSuSE:home-assistant fix build OBS-URL: https://build.opensuse.org/request/show/555643 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=12 --- python-aiohttp.changes | 5 +++++ python-aiohttp.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index e46382b..a6c83ff 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 10 08:39:51 UTC 2017 - adrian@suse.de + +- add MarkupSafe as build depdency to fix documentaion generation + ------------------------------------------------------------------- Wed Dec 6 03:01:31 UTC 2017 - arun@gmx.de diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 27fc037..9dd164e 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -44,6 +44,7 @@ BuildRequires: %{python_module yarl >= 0.13.0} %endif # /SECTION # SECTION docs +BuildRequires: %{python_module MarkupSafe} BuildRequires: python3-Sphinx BuildRequires: python3-sphinxcontrib-asyncio BuildRequires: python3-sphinxcontrib-newsfeed From 6d3b918ea092adc9ba627694f023e1d08acdb5d4351b8e60b6019d2d83994fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 31 Dec 2017 09:42:32 +0000 Subject: [PATCH 5/5] Accepting request 560871 from home:adrianSuSE:home-assistant version update OBS-URL: https://build.opensuse.org/request/show/560871 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=13 --- aiohttp-2.3.6.tar.gz | 3 --- aiohttp-2.3.7.tar.gz | 3 +++ python-aiohttp.changes | 5 +++++ python-aiohttp.spec | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 aiohttp-2.3.6.tar.gz create mode 100644 aiohttp-2.3.7.tar.gz diff --git a/aiohttp-2.3.6.tar.gz b/aiohttp-2.3.6.tar.gz deleted file mode 100644 index 89401d6..0000000 --- a/aiohttp-2.3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0111b4c71d1121bfcbd392bbabd573d20f133f491161b87718a07976e0459c32 -size 846135 diff --git a/aiohttp-2.3.7.tar.gz b/aiohttp-2.3.7.tar.gz new file mode 100644 index 0000000..514a884 --- /dev/null +++ b/aiohttp-2.3.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe294df38e9c67374263d783a7a29c79372030f5962bd5734fa51c6f4bbfee3b +size 847163 diff --git a/python-aiohttp.changes b/python-aiohttp.changes index a6c83ff..9e3061a 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 31 09:00:05 UTC 2017 - adrian@suse.de + +- update to version 2.3.7 + ------------------------------------------------------------------- Sun Dec 10 08:39:51 UTC 2017 - adrian@suse.de diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 9dd164e..2068aa3 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -20,7 +20,7 @@ %bcond_without test %define skip_python2 1 Name: python-aiohttp -Version: 2.3.6 +Version: 2.3.7 Release: 0 Summary: Asynchronous HTTP client/server framework License: Apache-2.0