]> git.pld-linux.org Git - packages/python-pytest-forked.git/commitdiff
- updated to 1.1.3 auto/th/python-pytest-forked-1.1.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 24 Mar 2020 16:40:22 +0000 (17:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 24 Mar 2020 16:40:22 +0000 (17:40 +0100)
python-pytest-forked.spec

index cf5685dfb277adb247b161ceba1447f75c55ebca..4740489bc976155d4c60adb1e0394367512c68e3 100644 (file)
@@ -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
 
This page took 0.158878 seconds and 4 git commands to generate.