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
This commit is contained in:
Dominique Leuenberger 2018-02-25 10:47:16 +00:00 committed by Git OBS Bridge
parent 331e124911
commit 2372b82d96
4 changed files with 22 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65228a859191f2c74ee68c127317eefe35eedd3d43fc1431f19240663b0cafcd
size 58565

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fcd6f36bab93b0b24ec45ca12f798b9b3af71da826db0b0794b358d2f5c038de
size 57820

View File

@ -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

View File

@ -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