[packages/python-pytest-forked] - updated to 1.1.3
qboosh
qboosh at pld-linux.org
Tue Mar 24 17:39:12 CET 2020
commit d679d4938e62bad54a2e5f146664fea498bb50c2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 24 17:40:22 2020 +0100
- updated to 1.1.3
python-pytest-forked.spec | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec
index cf5685d..4740489 100644
--- a/python-pytest-forked.spec
+++ b/python-pytest-forked.spec
@@ -7,20 +7,20 @@
Summary: Run each test in a forked subprocess
Summary(pl.UTF-8): Uruchamianie każdego testu w oddzielnym procesie
Name: python-pytest-forked
-Version: 0.2
-Release: 2
+Version: 1.1.3
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pytest-forked/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-forked/pytest-forked-%{version}.tar.gz
-# Source0-md5: 133167c9c56c9121c80852f9cd702140
+# Source0-md5: 7d507e84bf9d59182fd528f48fcae8cc
URL: https://github.com/pytest-dev/pytest-forked
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
BuildRequires: python-setuptools_scm
%if %{with tests}
-BuildRequires: python-pytest >= 2.6.0
+BuildRequires: python-pytest >= 3.1.0
%endif
%endif
%if %{with python3}
@@ -28,7 +28,7 @@ BuildRequires: python3-modules >= 1:3.5
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%if %{with tests}
-BuildRequires: python3-pytest >= 2.6.0
+BuildRequires: python3-pytest >= 3.1.0
%endif
%endif
BuildRequires: rpm-pythonprov
@@ -58,16 +58,14 @@ Uruchamianie każdego testu w oddzielnym procesie.
%prep
%setup -q -n pytest-forked-%{version}
-# kill precompiled objects
-%{__rm} -r testing/*.pyc testing/__pycache__
-
%build
%if %{with python2}
%py_build
%if %{with tests}
+# pytest-flaky plugin breaks test_functional_boxed_capturing
PYTHONPATH=$(pwd)/src \
-%{__python} -m pytest testing
+%{__python} -m pytest -p no:flaky testing
%endif
%endif
@@ -76,7 +74,7 @@ PYTHONPATH=$(pwd)/src \
%if %{with tests}
PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest testing
+%{__python3} -m pytest -p no:flaky testing
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-forked.git/commitdiff/d679d4938e62bad54a2e5f146664fea498bb50c2
More information about the pld-cvs-commit
mailing list