12 Commits

Author SHA256 Message Date
Thomas Bechtold
1b53b77bf1 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=17
2018-03-23 16:04:53 +00:00
Tomáš Chvátal
37a0b9401c Accepting request 577624 from home:alarrosa:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/577624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=15
2018-02-17 19:07:09 +00:00
Tomáš Chvátal
6d3b918ea0 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
2017-12-31 09:42:32 +00:00
Tomáš Chvátal
d742f17dd9 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
2017-12-10 14:58:23 +00:00
6d3515e5c2 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
2017-12-06 09:27:11 +00:00
873eb82c9d 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
2017-11-19 14:49:09 +00:00
f01a1a7c46 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
2017-11-10 11:40:22 +00:00
Jan Matejek
aa6f655246 Accepting request 528218 from home:alois:branches:devel:languages:python
- Fixed build on non Factory targets

OBS-URL: https://build.opensuse.org/request/show/528218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=6
2017-09-22 13:51:34 +00:00
Jan Matejek
d57901cf0b Accepting request 523262 from home:jengelh:branches:devel:languages:python
- Repair package description grammar.

OBS-URL: https://build.opensuse.org/request/show/523262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=5
2017-09-11 15:42:42 +00:00
Todd R
28a5b7ef90 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=3 2017-09-08 17:35:05 +00:00
Todd R
862fe6a645 Accepting request 522388 from home:TheBlackCat:branches:devel:languages:python
singlespec version of python3-aiohttp

OBS-URL: https://build.opensuse.org/request/show/522388
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=2
2017-09-08 17:34:31 +00:00
Jan Matejek
26a510e013 Accepting request 518714 from home:sebix:branches:devel:languages:python
- first singlespec package
- fixes boo#1054580 boo#1054581

OBS-URL: https://build.opensuse.org/request/show/518714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=1
2017-09-01 14:36:11 +00:00