Hello community,
here is the log from the commit of package python-aioresponses for
openSUSE:Factory checked in at 2020-08-12 10:31:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aioresponses (Old)
and /work/SRC/openSUSE:Factory/.python-aioresponses.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aioresponses"
Wed Aug 12 10:31:09 2020 rev:8 rq:825738 version:0.6.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aioresponses/python-aioresponses.changes
2020-06-09 00:09:12.366257461 +0200
+++
/work/SRC/openSUSE:Factory/.python-aioresponses.new.3399/python-aioresponses.changes
2020-08-12 10:36:49.048300797 +0200
@@ -1,0 +2,8 @@
+Tue Aug 11 08:37:52 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- replace asynctest with native python 3.8 unittest async test class
+ * aioresponses-replace-asynctest.patch
+ * gh#pnuckowski/aioresponses#166
+- drop disable-online-test.patch and deselect by pytest call
+
+-------------------------------------------------------------------
Old:
----
disable-online-test.patch
New:
----
aioresponses-replace-asynctest.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aioresponses.spec ++++++
--- /var/tmp/diff_new_pack.kPNNUR/_old 2020-08-12 10:36:49.600301070 +0200
+++ /var/tmp/diff_new_pack.kPNNUR/_new 2020-08-12 10:36:49.604301072 +0200
@@ -25,9 +25,10 @@
License: MIT
URL: https://github.com/pnuckowski/aioresponses
Source:
https://files.pythonhosted.org/packages/source/a/aioresponses/aioresponses-%{version}.tar.gz
-Patch0: disable-online-test.patch
+# PATCH-FIX-UPSTREAM aioresponses-replace-asynctest.patch
gh#pnuckowski/aioresponses#166
+Patch0: aioresponses-replace-asynctest.patch
BuildRequires: %{python_module aiohttp >= 2.0.0}
-BuildRequires: %{python_module asynctest >= 0.12.2}
+BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module ddt >= 1.1.0}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest >= 3.8.1}
@@ -59,12 +60,15 @@
%check
export LC_ALL=en_US.UTF-8
-# disabled test which uses http://httpbin.org
-%pytest -k "not test_pass_through_with_origin_params"
+# disable tests which try to access external network
+skiptests+="test_address_as_instance_of_url_combined_with_pass_through"
+skiptests+=" or test_pass_through_with_origin_params"
+%pytest -k "not ($skiptests)"
%files %{python_files}
%doc AUTHORS AUTHORS.rst ChangeLog README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/aioresponses
+%{python_sitelib}/aioresponses-%{version}-py*.egg-info
%changelog
++++++ aioresponses-replace-asynctest.patch ++++++
++++ 658 lines (skipped)