forked from pool/python-aiohttp
Accepting request 1007998 from devel:languages:python
- skip more tests - update to 3.8.3: * Increased the upper boundary of the :doc:`multidict:index` dependency to allow for the version 6 -- by :user:`hugovk`. * Added support for registering :rfc:`OPTIONS <9110#OPTIONS>` HTTP method handlers via :py:class:`~aiohttp.web.RouteTableDef`. * Started supporting :rfc:`authority-form <9112#authority-form>` and :rfc:`absolute-form <9112#absolute-form>` URLs on the server-side. * Fixed Python 3.11 incompatibilities by using Cython 0.29.25. * Extended the ``sock`` argument typing declaration of the :py:func:`~aiohttp.web.run_app` function as optionally accepting iterables. * Fixed a regression where :py:exc:`~asyncio.CancelledError` occurs on client disconnection. * Started exporting :py:class:`~aiohttp.web.PrefixedSubAppResource` under :py:mod:`aiohttp.web` -- by :user:`Dreamsorcerer`. * Dropped the :class:`object` type possibility from the :py:attr:`aiohttp.ClientSession.timeout` property return type declaration. OBS-URL: https://build.opensuse.org/request/show/1007998 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=28
This commit is contained in:
commit
1b33bff4cd
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578
|
|
||||||
size 7324180
|
|
3
aiohttp-3.8.3.tar.gz
Normal file
3
aiohttp-3.8.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3828fb41b7203176b82fe5d699e0d845435f2374750a44b480ea6b930f6be269
|
||||||
|
size 7337480
|
@ -1,11 +1,11 @@
|
|||||||
Index: aiohttp-3.8.1/setup.cfg
|
Index: aiohttp-3.8.3/setup.cfg
|
||||||
===================================================================
|
===================================================================
|
||||||
--- aiohttp-3.8.1.orig/setup.cfg
|
--- aiohttp-3.8.3.orig/setup.cfg
|
||||||
+++ aiohttp-3.8.1/setup.cfg
|
+++ aiohttp-3.8.3/setup.cfg
|
||||||
@@ -119,6 +119,7 @@ filterwarnings =
|
@@ -125,6 +125,7 @@ filterwarnings =
|
||||||
ignore:Exception ignored in. <function ClientSession.__del__ at 0x.:pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception
|
ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning::
|
||||||
ignore:Exception ignored in. <_io.FileIO .closed.>:pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception
|
ignore:module 'sre_constants' is deprecated:DeprecationWarning:pkg_resources._vendor.pyparsing
|
||||||
ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning:asyncio
|
ignore:path is deprecated. Use files.. instead. Refer to https.//importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.:DeprecationWarning:certifi.core
|
||||||
+ ignore:Passing None has been deprecated:pytest.PytestDeprecationWarning
|
+ ignore:Passing None has been deprecated:pytest.PytestDeprecationWarning
|
||||||
junit_suite_name = aiohttp_test_suite
|
junit_suite_name = aiohttp_test_suite
|
||||||
norecursedirs = dist docs build .tox .eggs
|
norecursedirs = dist docs build .tox .eggs
|
||||||
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 4 20:31:56 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- skip more tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 24 11:07:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.8.3:
|
||||||
|
* Increased the upper boundary of the :doc:`multidict:index` dependency
|
||||||
|
to allow for the version 6 -- by :user:`hugovk`.
|
||||||
|
* Added support for registering :rfc:`OPTIONS <9110#OPTIONS>`
|
||||||
|
HTTP method handlers via :py:class:`~aiohttp.web.RouteTableDef`.
|
||||||
|
* Started supporting :rfc:`authority-form <9112#authority-form>` and
|
||||||
|
:rfc:`absolute-form <9112#absolute-form>` URLs on the server-side.
|
||||||
|
* Fixed Python 3.11 incompatibilities by using Cython 0.29.25.
|
||||||
|
* Extended the ``sock`` argument typing declaration of the
|
||||||
|
:py:func:`~aiohttp.web.run_app` function as optionally
|
||||||
|
accepting iterables.
|
||||||
|
* Fixed a regression where :py:exc:`~asyncio.CancelledError`
|
||||||
|
occurs on client disconnection.
|
||||||
|
* Started exporting :py:class:`~aiohttp.web.PrefixedSubAppResource`
|
||||||
|
under :py:mod:`aiohttp.web` -- by :user:`Dreamsorcerer`.
|
||||||
|
* Dropped the :class:`object` type possibility from
|
||||||
|
the :py:attr:`aiohttp.ClientSession.timeout`
|
||||||
|
property return type declaration.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 27 19:01:09 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Sun Mar 27 19:01:09 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
# requires some unavailable modules
|
# requires some unavailable modules
|
||||||
%bcond_with docs
|
%bcond_with docs
|
||||||
Name: python-aiohttp
|
Name: python-aiohttp
|
||||||
Version: 3.8.1
|
Version: 3.8.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
|
||||||
@ -125,15 +125,19 @@ rm -r %{buildroot}%{$python_sitearch}/aiohttp/.hash
|
|||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
donttest="test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async"
|
donttest="test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async or test_secure_https_proxy_absolute_path"
|
||||||
# no name resolution
|
# no name resolution
|
||||||
donttest+=" or test_client_session_timeout_zero or test_requote_redirect_url_default"
|
donttest+=" or test_client_session_timeout_zero or test_requote_redirect_url_default"
|
||||||
# flaky
|
# flaky
|
||||||
donttest+=" or test_https_proxy_unsupported_tls_in_tls"
|
donttest+=" or test_https_proxy_unsupported_tls_in_tls"
|
||||||
|
# not running under pytest ?!
|
||||||
|
donttest+=" or test_no_warnings"
|
||||||
%if 0%{?python3_version_nodots} == 36
|
%if 0%{?python3_version_nodots} == 36
|
||||||
donttest+=" or test_read_boundary_with_incomplete_chunk"
|
donttest+=" or test_read_boundary_with_incomplete_chunk"
|
||||||
%endif
|
%endif
|
||||||
%pytest_arch --ignore ./aiohttp -rsEf -k "not ($donttest)"
|
# skip functional tests
|
||||||
|
# rm -v tests/test_proxy_functional.py
|
||||||
|
%pytest_arch tests -rsEf -k "not ($donttest)"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user