#2 Run tests in series to remove build dependency on python2-pytest-xdist
Merged 2 months ago by ellert. Opened 2 months ago by pviktori.
rpms/ pviktori/python2-matplotlib no-xdist  into  master

file modified
+5 -3

@@ -44,7 +44,7 @@ 

  

  Name:           python2-matplotlib

  Version:        2.2.4

- Release:        3%{?rctag:.%{rctag}}%{?dist}

+ Release:        4%{?rctag:.%{rctag}}%{?dist}

  Summary:        Python 2D plotting library

  # qt4_editor backend is MIT

  License:        Python and MIT

@@ -107,7 +107,6 @@ 

  %endif

  %if %{run_tests}

  BuildRequires:  python2-pytest

- BuildRequires:  python2-pytest-xdist

  BuildRequires:  python2-cycler >= 0.10.0

  BuildRequires:  python2-mock

  %endif

@@ -316,7 +315,7 @@ 

  PYTHONPATH=%{buildroot}%{python2_sitearch} \

  PYTHONDONTWRITEBYTECODE=1 \

       xvfb-run -a -s "-screen 0 640x480x24" \

-          %{__python2} -m pytest --pyargs matplotlib -ra -n $(getconf _NPROCESSORS_ONLN) \

+          %{__python2} -m pytest --pyargs matplotlib -ra \

               -m 'not network' \

               -k 'not test_invisible_Line_rendering and not test_parasite and not test_polycollection_close and not test_nose_image_comparison and not test_tinypages and not test_backend_qt4'

  

@@ -397,6 +396,9 @@ 

  

  

  %changelog

+ * Fri Jun 21 2019 Petr Viktorin <pviktori@redhat.com> - 2.2.4-4

+ - Run tests in series to remove build dependency on python2-pytest-xdist

+ 

  * Mon Apr 22 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.4-3

  - Drop leaf subpackages (#1634979)

  

This makes tests run (much) longer (on multi-core machines), but removes a dependency on python2-pytest-xdist.

python2-pytest-xdist is a non-essential Python 2 package that could be dropped from Fedora, along with its dependencies python2-execnet and python2-pytest-virtualenv.

rebased onto 0f6a9dd

2 months ago

Pull-Request has been merged by ellert

2 months ago