From 2372b82d960193e213abf7361e773bd7a0feead64fd7e947d8800ca3b5df3fad Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 25 Feb 2018 10:47:16 +0000 Subject: [PATCH] Accepting request 579827 from devel:languages:python - cleanup Requires and spec (forwarded request 579826 from mimi_vx) OBS-URL: https://build.opensuse.org/request/show/579827 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-xdist?expand=0&rev=5 --- pytest-xdist-1.22.0.tar.gz | 3 --- pytest-xdist-1.22.1.tar.gz | 3 +++ python-pytest-xdist.changes | 16 ++++++++++++++++ python-pytest-xdist.spec | 19 +++---------------- 4 files changed, 22 insertions(+), 19 deletions(-) delete mode 100644 pytest-xdist-1.22.0.tar.gz create mode 100644 pytest-xdist-1.22.1.tar.gz diff --git a/pytest-xdist-1.22.0.tar.gz b/pytest-xdist-1.22.0.tar.gz deleted file mode 100644 index 772e725..0000000 --- a/pytest-xdist-1.22.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65228a859191f2c74ee68c127317eefe35eedd3d43fc1431f19240663b0cafcd -size 58565 diff --git a/pytest-xdist-1.22.1.tar.gz b/pytest-xdist-1.22.1.tar.gz new file mode 100644 index 0000000..d670777 --- /dev/null +++ b/pytest-xdist-1.22.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcd6f36bab93b0b24ec45ca12f798b9b3af71da826db0b0794b358d2f5c038de +size 57820 diff --git a/python-pytest-xdist.changes b/python-pytest-xdist.changes index 9cfbe16..46ba09e 100644 --- a/python-pytest-xdist.changes +++ b/python-pytest-xdist.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Feb 24 18:47:34 UTC 2018 - mimi.vx@gmail.com + +- cleanup Requires and spec + +------------------------------------------------------------------- +Sat Feb 24 18:29:53 UTC 2018 - arun@gmx.de + +- update to version 1.22.1: + * Bug Fixes + + Fix issue when using loadscope or loadfile where tests would + fail to start if the first scope had only one test. (#257) + * Trivial Changes + + Change terminology used by pytest-xdist to master and worker in + arguments and messages (for example --max-worker-reset). (#234) + ------------------------------------------------------------------- Thu Jan 11 23:58:44 UTC 2018 - arun@gmx.de diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index e261f5e..ffcfd18 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-xdist -Version: 1.22.0 +Version: 1.22.1 Release: 0 Summary: Distributed testing and loop-on-failing for py.test License: MIT @@ -31,14 +31,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-apipkg >= 1.4 -# test requirements -#BuildRequires: %%{python_module apipkg >= 1.4} -#BuildRequires: %%{python_module execnet >= 1.1} -#BuildRequires: %%{python_module py >= 1.4.22} -#BuildRequires: %%{python_module pytest >= 2.4.2} Requires: python-execnet >= 1.1 -Requires: python-py >= 1.4.22 Requires: python-pytest >= 3.0.0 Requires: python-pytest-forked BuildArch: noarch @@ -71,9 +64,6 @@ You may specify different Python versions and interpreters. %prep %setup -q -n pytest-xdist-%{version} # disable failing tests (we cannot deal with too narrow deps here..) -sed -i -e 's/def test_n1_import_error/def disable_n1_import_error/' \ - -e 's/def test_manytests_to_one_import_error/def disable_manytests_to_one_import_error/' \ - testing/acceptance_test.py dos2unix README.rst %build @@ -83,12 +73,9 @@ dos2unix README.rst %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} -# Tests leave BUILDROOT traces in __pycache__ and I couldn't fix it -#%%check -#%%python_expand PYTHONPATH=%%{buildroot}%{$python_sitelib} py.test-%{$python_version} -v -k"-test_n1_import_error -test_manytests_to_one_import_error" testing - %files %{python_files} -%doc CHANGELOG.rst ISSUES.txt LICENSE README.rst +%doc CHANGELOG.rst ISSUES.txt README.rst +%license LICENSE %{python_sitelib}/xdist %{python_sitelib}/pytest_xdist-%{version}-py%{python_version}.egg-info