Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-zeep for openSUSE:Factory checked in at 2022-04-16 00:14:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zeep (Old) and /work/SRC/openSUSE:Factory/.python-zeep.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zeep" Sat Apr 16 00:14:14 2022 rev:6 rq:970192 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zeep/python-zeep.changes 2022-03-13 22:03:18.312511934 +0100 +++ /work/SRC/openSUSE:Factory/.python-zeep.new.1941/python-zeep.changes 2022-04-16 00:14:34.681675441 +0200 @@ -1,0 +2,8 @@ +Thu Apr 14 09:03:18 UTC 2022 - pgaj...@suse.com + +- do not require python-mock for build +- added patches + fix https://github.com/mvantellingen/python-zeep/commit/1ddd118956870f9c68a24c9494207dc17441b416 + + python-zeep-no-mock.patch + +------------------------------------------------------------------- New: ---- python-zeep-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zeep.spec ++++++ --- /var/tmp/diff_new_pack.bVch4N/_old 2022-04-16 00:14:35.805676942 +0200 +++ /var/tmp/diff_new_pack.bVch4N/_new 2022-04-16 00:14:35.809676947 +0200 @@ -27,6 +27,8 @@ URL: http://docs.python-zeep.org Source: https://files.pythonhosted.org/packages/source/z/zeep/zeep-%{version}.tar.gz Patch1: httpx-test.patch +# https://github.com/mvantellingen/python-zeep/commit/1ddd118956870f9c68a24c9494207dc17441b416 +Patch2: python-zeep-no-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -50,7 +52,6 @@ BuildRequires: %{python_module freezegun >= 0.3.15} BuildRequires: %{python_module isodate >= 0.5.4} BuildRequires: %{python_module lxml >= 4.6.0} -BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module pretend >= 1.0.9} BuildRequires: %{python_module pytest >= 6.0.1} BuildRequires: %{python_module pytest-asyncio} ++++++ python-zeep-no-mock.patch ++++++ diff --git a/setup.py b/setup.py index dfa79a58..4cf9073b 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,6 @@ tests_require = [ "coverage[toml]==5.2.1", "freezegun==0.3.15", - "mock==2.0.0", "pretend==1.0.9", "pytest-cov==2.8.1", "pytest-httpx", diff --git a/tests/conftest.py b/tests/conftest.py index 64c9bf95..4bd41de0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,10 +2,6 @@ import pytest -# Don't try to test asyncio since it is py3 only syntax -if sys.version_info < (3, 5): - collect_ignore = ["test_asyncio_transport.py"] - pytest.register_assert_rewrite("tests.utils") diff --git a/tests/test_main.py b/tests/test_main.py index bffc7230..f4504820 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,4 +1,5 @@ -from mock import patch +from unittest.mock import patch + from pretend import stub from zeep import __main__, client