Skip to content

Commit

Permalink
Update python-xmlsec to version 1.3.13 / rev 8 via SR 1043746
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dgarcia authored and bmwiedemann committed Dec 19, 2022
1 parent f9c22dc commit d837a4d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
Binary file modified packages/p/python-xmlsec/.files
Binary file not shown.
10 changes: 10 additions & 0 deletions packages/p/python-xmlsec/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,14 @@
<comment></comment>
<requestid>1029789</requestid>
</revision>
<revision rev="8" vrev="2">
<srcmd5>f3a2c69308e3c755f8b691714925afed</srcmd5>
<version>1.3.13</version>
<time>1671455302</time>
<user>dimstar_suse</user>
<comment>- Run tests with -n1 to avoid race condition in tests
gh#xmlsec/python-xmlsec#210
</comment>
<requestid>1043746</requestid>
</revision>
</revisionlist>
6 changes: 6 additions & 0 deletions packages/p/python-xmlsec/python-xmlsec.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 19 11:33:28 UTC 2022 - Daniel Garcia <[email protected]>

- 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á <[email protected]>

Expand Down
14 changes: 7 additions & 7 deletions packages/p/python-xmlsec/python-xmlsec.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xmlsec
Version: 1.3.13
Release: 0
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d837a4d

Please sign in to comment.