From d837a4d991f9c813d99499dc999bef99d6eca951 Mon Sep 17 00:00:00 2001 From: dgarcia <> Date: Mon, 19 Dec 2022 13:08:23 +0000 Subject: [PATCH] Update python-xmlsec to version 1.3.13 / rev 8 via SR 1043746 https://build.opensuse.org/request/show/1043746 by user dgarcia + dimstar_suse - Run tests with -n1 to avoid race condition in tests gh#xmlsec/python-xmlsec#210 --- packages/p/python-xmlsec/.files | Bin 184 -> 184 bytes packages/p/python-xmlsec/.rev | 10 ++++++++++ packages/p/python-xmlsec/python-xmlsec.changes | 6 ++++++ packages/p/python-xmlsec/python-xmlsec.spec | 14 +++++++------- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/packages/p/python-xmlsec/.files b/packages/p/python-xmlsec/.files index 952ad5c50e639fc3ed7eadda7af78a7f8b9d5e69..ce2e07495e9f96b552b673c867a986256076e5e6 100644 GIT binary patch delta 110 zcmdnNxPy_qpt!_mvObQ5=oFa_DHW`n!^zUum*4=Ac 1029789 + + f3a2c69308e3c755f8b691714925afed + 1.3.13 + + dimstar_suse + - Run tests with -n1 to avoid race condition in tests + gh#xmlsec/python-xmlsec#210 + + 1043746 + diff --git a/packages/p/python-xmlsec/python-xmlsec.changes b/packages/p/python-xmlsec/python-xmlsec.changes index ac60729a109..9b2479d4c8a 100644 --- a/packages/p/python-xmlsec/python-xmlsec.changes +++ b/packages/p/python-xmlsec/python-xmlsec.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 19 11:33:28 UTC 2022 - Daniel Garcia + +- Run tests with -n1 to avoid race condition in tests + gh#xmlsec/python-xmlsec#210 + ------------------------------------------------------------------- Tue Oct 18 13:13:45 UTC 2022 - Markéta Machová diff --git a/packages/p/python-xmlsec/python-xmlsec.spec b/packages/p/python-xmlsec/python-xmlsec.spec index 9db6178772f..ceaff0429b2 100644 --- a/packages/p/python-xmlsec/python-xmlsec.spec +++ b/packages/p/python-xmlsec/python-xmlsec.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xmlsec Version: 1.3.13 Release: 0 @@ -30,6 +29,7 @@ BuildRequires: %{python_module lxml >= 3.8.0} BuildRequires: %{python_module lxml-devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pkgconfig} +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} @@ -62,12 +62,12 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%ifarch %ix86 -export skip_tests="not test_reinitialize_module" -%else -export skip_tests="" -%endif -%pytest_arch -k "$skip_tests" tests/ +# gh#xmlsec/python-xmlsec#244 +donttest="test_sign_case5" + +# Run tests with -n 1 to avoid race condition in tests +# gh#xmlsec/python-xmlsec#210 +%pytest_arch -n 1 -k "not (${donttest})" tests/ %files %{python_files} %doc README.rst