Accepting request 596552 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/596552 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=5
This commit is contained in:
commit
eeec920d61
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7aee5c0750584946fde40da70f0b28fe769f85182f1171acef18a35fd8ecd221
|
||||
size 737087
|
3
aiohttp-3.1.3.tar.gz
Normal file
3
aiohttp-3.1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9fcef0489e3335b200d31a9c1fb6ba80fdafe14cd82b971168c2f9fa1e4508ad
|
||||
size 756886
|
@ -1,3 +1,62 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 14 17:22:15 UTC 2018 - arun@gmx.de
|
||||
|
||||
- update to version 3.1.3:
|
||||
* Fix cancellation broadcast during DNS resolve (#2910)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 20:47:59 UTC 2018 - arun@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 - tbechtold@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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 17 14:41:39 UTC 2018 - alarrosa@suse.com
|
||||
|
||||
|
@ -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 alarrosa@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
|
||||
Requires: python >= 3.4.2
|
||||
Requires: python-async_timeout >= 2.0.0
|
||||
Requires: python-attrs
|
||||
Requires: python-chardet
|
||||
Requires: python-idna_ssl >= 1.0.0
|
||||
Requires: python-multidict >= 3.3.0
|
||||
Requires: python-yarl >= 0.13.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 gunicorn}
|
||||
@ -52,23 +64,13 @@ BuildRequires: python3-Pygments >= 2.1
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-aiohttp-theme
|
||||
BuildRequires: python3-sphinxcontrib-asyncio
|
||||
BuildRequires: python3-sphinxcontrib-blockdiag
|
||||
BuildRequires: python3-sphinxcontrib-newsfeed
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
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
|
||||
Recommends: python-aiodns
|
||||
Suggests: %{name}-doc
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Documentation files for %name
|
||||
Summary: Documentation files for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description
|
||||
@ -79,7 +81,7 @@ Asynchronous HTTP client/server framework for Python.
|
||||
- Web-server has middleware and pluggable routing.
|
||||
|
||||
%description -n %{name}-doc
|
||||
HTML documentation on the API and examples for %name.
|
||||
HTML documentation on the API and examples for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n aiohttp-%{version}
|
||||
@ -89,7 +91,7 @@ HTML documentation on the API and examples for %name.
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
pushd docs
|
||||
make html
|
||||
make %{?_smp_mflags} html
|
||||
rm _build/html/.buildinfo
|
||||
popd
|
||||
|
||||
@ -106,8 +108,8 @@ rm tests/test_pytest_plugin.py
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst LICENSE.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files -n %{name}-doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user