From cab59f001126c8640cc1fc5e2c1e88fdd3696bdb0129ceebbf00f78246023e00 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 9 Jun 2022 12:43:31 +0000 Subject: [PATCH] Accepting request 981397 from home:bnavigator:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/981397 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeep?expand=0&rev=16 --- python-zeep.changes | 6 ++++++ python-zeep.spec | 12 ++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/python-zeep.changes b/python-zeep.changes index c335df5..48f1c9f 100644 --- a/python-zeep.changes +++ b/python-zeep.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 8 21:55:35 UTC 2022 - Ben Greiner + +- Re-enable python310: xmlsec is optional +- Disable python2 build + ------------------------------------------------------------------- Sat May 21 09:32:46 UTC 2022 - Matej Cepl diff --git a/python-zeep.spec b/python-zeep.spec index 7d56f01..551fdc3 100644 --- a/python-zeep.spec +++ b/python-zeep.spec @@ -16,10 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python36 1 -# python-xmlsec doesn’t support 3.10 gh#mehcode/python-xmlsec#204 -%define skip_python310 1 +%define skip_python2 1 Name: python-zeep Version: 4.1.0 Release: 0 @@ -43,7 +40,7 @@ Requires: python-pytz Requires: python-requests >= 2.7.0 Requires: python-requests-file >= 1.5.1 Requires: python-requests-toolbelt >= 0.7.1 -Requires: python-xmlsec >= 0.6.1 +Recommends: python-xmlsec >= 0.6.1 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module platformdirs >= 1.4.0} @@ -63,7 +60,8 @@ BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module requests-file >= 1.5.1} BuildRequires: %{python_module requests-mock >= 0.7.0} BuildRequires: %{python_module requests-toolbelt >= 0.7.1} -BuildRequires: %{python_module xmlsec >= 0.6.1} +# gh#mehcode/python-xmlsec#204 +BuildRequires: %{python_module xmlsec >= 0.6.1 if %python-base < 3.10} # /SECTION %python_subpackages @@ -83,8 +81,6 @@ Python SOAP client based on python-lxml and python-requests %check export LANG=en_US.UTF-8 -# no working freezegun for python2 -python2_ignore="--ignore tests/test_cache.py" # broken tests ignorefiles="--ignore tests/test_wsse_signature.py \ --ignore tests/test_wsse_username.py \