Accepting request 853123 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/853123 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=19
This commit is contained in:
commit
3cc61eedde
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c6da1af59841e6d43255d386a2c4bfb59c0a3b262bdb24325cc969d211be6070
|
|
||||||
size 1111049
|
|
3
aiohttp-3.7.3.tar.gz
Normal file
3
aiohttp-3.7.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9c1a81af067e72261c9cbe33ea792893e83bc6aa987bfbd6fdc1e5e7b22777c4
|
||||||
|
size 1113127
|
@ -1,3 +1,45 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 4 11:50:52 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to v3.7.3
|
||||||
|
Features
|
||||||
|
* Made exceptions pickleable. Also changed the repr of
|
||||||
|
some exceptions. #4077
|
||||||
|
Bugfixes
|
||||||
|
* Raise a ClientResponseError instead of an AssertionError for a
|
||||||
|
blank HTTP Reason Phrase. #3532
|
||||||
|
* Fix web_middlewares.normalize_path_middleware behavior for
|
||||||
|
patch without slash. #3669
|
||||||
|
* Fix overshadowing of overlapped sub-applications prefixes.
|
||||||
|
#3701
|
||||||
|
* Make BaseConnector.close() a coroutine and wait until the
|
||||||
|
client closes all connections. Drop deprecated "with
|
||||||
|
Connector():" syntax. #3736
|
||||||
|
* Reset the sock_read timeout each time data is received for a
|
||||||
|
aiohttp.client response. #3808
|
||||||
|
* Fixed type annotation for add_view method of UrlDispatcher to
|
||||||
|
accept any subclass of View #3880
|
||||||
|
* Fixed querying the address families from DNS that the current
|
||||||
|
host supports. #5156
|
||||||
|
* Change return type of MultipartReader.__aiter__() and
|
||||||
|
BodyPartReader.__aiter__() to AsyncIterator. #5163
|
||||||
|
* Provide x86 Windows wheels. #5230
|
||||||
|
* Improved Documentation
|
||||||
|
* Add documentation for aiohttp.web.FileResponse. #3958
|
||||||
|
* Removed deprecation warning in tracing example docs #3964
|
||||||
|
* Fixed wrong "Usage" docstring of aiohttp.client.request. #4603
|
||||||
|
* Add aiohttp-pydantic to third party libraries #5228
|
||||||
|
Misc
|
||||||
|
* #4102
|
||||||
|
- Also clean header files in sitearch
|
||||||
|
- Remove hidden .hash directory (remnant from build process)
|
||||||
|
- Fix python 3.6 build
|
||||||
|
* For Leap
|
||||||
|
* For TW with python36 flavor gh#openSUSE/python-rpm-macros#66
|
||||||
|
* Always BuildRequire idna_ssl
|
||||||
|
* Skip a failing test on python 3.6
|
||||||
|
* Next upstream release will drop python 3.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 28 15:33:18 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
Wed Oct 28 15:33:18 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-aiohttp
|
Name: python-aiohttp
|
||||||
Version: 3.7.2
|
Version: 3.7.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Asynchronous HTTP client/server framework
|
Summary: Asynchronous HTTP client/server framework
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -32,26 +32,28 @@ BuildRequires: %{python_module attrs >= 17.3.0}
|
|||||||
BuildRequires: %{python_module chardet >= 2.0}
|
BuildRequires: %{python_module chardet >= 2.0}
|
||||||
BuildRequires: %{python_module devel >= 3.5.3}
|
BuildRequires: %{python_module devel >= 3.5.3}
|
||||||
BuildRequires: %{python_module freezegun}
|
BuildRequires: %{python_module freezegun}
|
||||||
|
BuildRequires: %{python_module idna_ssl >= 1.0}
|
||||||
BuildRequires: %{python_module multidict >= 4.5}
|
BuildRequires: %{python_module multidict >= 4.5}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module typing_extensions >= 3.6.5}
|
||||||
|
BuildRequires: %{python_module yarl >= 1.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: http-parser-devel
|
BuildRequires: http-parser-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python >= 3.5.3
|
Requires: python >= 3.6
|
||||||
Requires: python-async_timeout >= 3.0
|
Requires: python-async_timeout >= 3.0
|
||||||
Requires: python-attrs >= 17.3.0
|
Requires: python-attrs >= 17.3.0
|
||||||
Requires: python-brotlipy
|
|
||||||
Requires: python-chardet >= 2.0
|
Requires: python-chardet >= 2.0
|
||||||
Requires: python-gunicorn
|
Requires: python-gunicorn
|
||||||
Requires: python-multidict >= 4.5
|
Requires: python-multidict >= 4.5
|
||||||
Requires: python-typing_extensions >= 3.6.5
|
Requires: python-typing_extensions >= 3.6.5
|
||||||
Requires: python-yarl >= 1.0
|
Requires: python-yarl >= 1.0
|
||||||
Recommends: python-aiodns
|
Recommends: python-aiodns
|
||||||
|
Recommends: python-brotlipy
|
||||||
Recommends: python-cChardet
|
Recommends: python-cChardet
|
||||||
Suggests: %{name}-doc
|
Suggests: %{name}-doc
|
||||||
%if 0%{?suse_version} < 1550
|
%if 0%{?suse_version} < 1550 || "%{python_flavor}" == "python36"
|
||||||
BuildRequires: %{python_module idna_ssl >= 1.0}
|
Requires: python-idna_ssl >= 1.0
|
||||||
Requires: python-idna_ssl
|
|
||||||
%endif
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module aiodns}
|
BuildRequires: %{python_module aiodns}
|
||||||
@ -65,8 +67,7 @@ BuildRequires: %{python_module pytest-timeout}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module re-assert}
|
BuildRequires: %{python_module re-assert}
|
||||||
BuildRequires: %{python_module trustme}
|
BuildRequires: %{python_module trustme}
|
||||||
BuildRequires: %{python_module typing_extensions >= 3.6.5}
|
|
||||||
BuildRequires: %{python_module yarl >= 1.0}
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION docs
|
# SECTION docs
|
||||||
BuildRequires: %{python_module MarkupSafe}
|
BuildRequires: %{python_module MarkupSafe}
|
||||||
@ -109,19 +110,27 @@ popd
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
find %{buildroot}%{$python_sitearch} -name "*.c" -delete
|
find %{buildroot}%{$python_sitearch} -name '*.[ch]' -delete
|
||||||
|
rm -r %{buildroot}%{$python_sitearch}/aiohttp/.hash
|
||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
rm setup.cfg
|
# ignore setup.cfg
|
||||||
mv aiohttp .aiohttp
|
touch pytest.ini
|
||||||
%pytest_arch -rs -k 'not (test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async)'
|
%define skiptest_allflavors test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async
|
||||||
mv .aiohttp aiohttp
|
# we need it to be defined for all flavors for expansion inside pytest_arch to work. %%{?...} would expand too early.
|
||||||
|
%{lua: for p in string.gmatch(rpm.expand("%pythons"), "%S+") do rpm.define("skiptest_" .. p .. "_only %{nil}") end}
|
||||||
|
%if 0%{?python3_version_nodots} == 36
|
||||||
|
%define skiptest_python3_only or test_read_boundary_with_incomplete_chunk
|
||||||
|
%endif
|
||||||
|
%define skiptest_python36_only or test_read_boundary_with_incomplete_chunk
|
||||||
|
%pytest_arch --ignore ./aiohttp -rs -k 'not (%{skiptest_allflavors} %{skiptest_$python_only})'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc CHANGES.rst CONTRIBUTORS.txt README.rst
|
%doc CHANGES.rst CONTRIBUTORS.txt README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/aiohttp
|
||||||
|
%{python_sitearch}/aiohttp-%{version}*-info
|
||||||
|
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
%doc docs/_build/html
|
%doc docs/_build/html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user