Hello community, here is the log from the commit of package python-aiohttp for openSUSE:Factory checked in at 2019-08-23 11:05:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old) and /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp" Fri Aug 23 11:05:49 2019 rev:13 rq:725261 version:3.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes 2019-06-05 11:46:40.338988145 +0200 +++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.7948/python-aiohttp.changes 2019-08-23 11:05:54.118490947 +0200 @@ -1,0 +2,6 @@ +Thu Aug 22 09:27:05 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch to work well with pytest 5: + * pytest5.patch + +------------------------------------------------------------------- New: ---- pytest5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiohttp.spec ++++++ --- /var/tmp/diff_new_pack.wre9ZT/_old 2019-08-23 11:05:55.914490654 +0200 +++ /var/tmp/diff_new_pack.wre9ZT/_new 2019-08-23 11:05:55.918490654 +0200 @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/aio-libs/aiohttp Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz +Patch0: pytest5.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module async_timeout >= 3.0} BuildRequires: %{python_module attrs >= 17.3.0} @@ -33,12 +34,6 @@ BuildRequires: %{python_module devel >= 3.5.3} BuildRequires: %{python_module multidict >= 4.0} BuildRequires: %{python_module setuptools} -%if 0%{suse_version} < 1550 -BuildRequires: %{python_module idna_ssl >= 1.0} -BuildRequires: %{python_module typing_extensions >= 3.6.5} -Requires: python-idna_ssl -Requires: python-typing_extensions -%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python >= 3.5.3 @@ -49,10 +44,15 @@ Requires: python-gunicorn Requires: python-multidict >= 4.0 Requires: python-yarl >= 1.0 -Requires: python-yarl >= 1.0 Recommends: python-aiodns Recommends: python-cChardet Suggests: %{name}-doc +%if 0%{?suse_version} < 1550 +BuildRequires: %{python_module idna_ssl >= 1.0} +BuildRequires: %{python_module typing_extensions >= 3.6.5} +Requires: python-idna_ssl +Requires: python-typing_extensions +%endif # SECTION test requirements BuildRequires: %{python_module async_generator} BuildRequires: %{python_module brotlipy} @@ -94,6 +94,7 @@ %prep %setup -q -n aiohttp-%{version} +%patch0 -p1 %build export CFLAGS="%{optflags}" ++++++ pytest5.patch ++++++ >From 6f920b154ad4e013ac60e4193ac4606fca20be73 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2019 20:56:53 +0300 Subject: [PATCH] Bump pytest from 4.6.3 to 5.0.0 (#3879) --- tests/test_worker.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_worker.py b/tests/test_worker.py index 675b37968..1106820fb 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -195,7 +195,7 @@ def test__get_valid_log_format_ok(worker, source, result) -> None: def test__get_valid_log_format_exc(worker) -> None: with pytest.raises(ValueError) as exc: worker._get_valid_log_format(WRONG_LOG_FORMAT) - assert '%(name)s' in str(exc) + assert '%(name)s' in str(exc.value) async def test__run_ok_parent_changed(worker, loop,