Accepting request 542009 from devel:languages:python

-  new pytest-xdist requires pytest-forked package (forwarded request 542008 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/542009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-xdist?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-11-17 09:54:54 +00:00 committed by Git OBS Bridge
parent 5382a1ffc6
commit 6f6e326d5f
4 changed files with 105 additions and 10 deletions

View File

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

View File

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

View File

@ -1,3 +1,99 @@
-------------------------------------------------------------------
Wed Nov 15 11:45:36 UTC 2017 - mimi.vx@gmail.com
- new pytest-xdist requires pytest-forked package
-------------------------------------------------------------------
Sat Nov 11 17:25:50 UTC 2017 - arun@gmx.de
- specfile:
* CHANGELOG->CHANGELOG.rst
* update pytest version requirement to 3.0.0
- update to version 1.20.1:
* Bug Fixes
+ Fix hang when all worker nodes crash and restart limit is
reached (#45)
+ Fix issue where the -n option would still run distributed tests
when pytest was run with the --collect-only option (#5)
- changes from version 1.20.0:
* Features
+ xdist now supports tests to log results multiple times,
improving integration with plugins which require it like
pytest-rerunfailures and flaky. (#206)
* Bug Fixes
+ Fix issue where tests were being incorrectly identified if a
worker crashed during the teardown stage of the test. (#124)
- changes from version 1.19.1:
* Bug Fixes
+ Fix crash when transferring internal pytest warnings from
workers to the master node. (#214)
- changes from version 1.19.0:
* Deprecations and Removals
+ --boxed functionality has been moved to a separate plugin,
pytest-forked. This release now depends on " pytest-forked"
and provides --boxed as a backward compatibility option. (#1)
* Features
+ New --dist=loadscope option: sends group of related tests to the
same worker. Tests are grouped by module for test functions and
by class for test methods. See README.rst for more
information. (#191)
+ Warnings are now properly transferred from workers to the master
node. (#92)
* Bug Fixes
+ Fix serialization of native tracebacks (--tb=native). (#196)
- changes from version 1.18.2:
* Bug Fixes
+ Removal of unnecessary dependency on incorrect version of
py. (#105)
+ Fix bug in internal event-loop error handler in the master
node. This bug would shadow the original errors making extremely
hard/impossible for users to diagnose the problem
properly. (#175)
- changes from version 1.18.1 :
* Bug Fixes
+ Fixed serialization of longrepr.sections during error reporting
from workers. (#171)
+ Fix ReprLocal not being unserialized breaking --showlocals
usages. (#176)
- changes from version 1.18.0 :
* pytest-xdist now requires pytest>=3.0.0.
* Features
+ Add long option --numprocesses as alternative for -n. (#168)
* Bug Fixes
+ Fix serialization and deserialization dropping longrepr
details. (#133)
- changes from version 1.17.1 :
* Bug Fixes
+ Hot fix release reverting the change introduced by #124,
unfortunately it broke a number of test suites so we are
reversing this change while we investigate the problem. (#157)
* Improved Documentation
+ Introduced towncrier for CHANGELOG management. (#154)
+ Added HOWTORELEASE documentation. (#155)
- changes from version 1.17.0:
* fix #124: xdist would mark test as complete after 'call' step. As
a result, xdist could identify the wrong test as failing when test
crashes at teardown. To address this issue, xdist now marks test
as complete at teardown.
- changes from version 1.16.0:
* pytest-xdist now requires pytest 2.7 or later.
* Add worker_id attribute in the TestReport
* new hook: pytest_xdist_make_scheduler(config, log), can return
custom tests items distribution logic implementation. You can take
a look at built-in LoadScheduling and EachScheduling
implementations. Note that required scheduler class public API may
change in next pytest-xdist versions.
-------------------------------------------------------------------
Sat Apr 22 08:59:30 UTC 2017 - aloisio@gmx.com

View File

@ -18,29 +18,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-xdist
Version: 1.15.0
Version: 1.20.1
Release: 0
Summary: Distributed testing and loop-on-failing for py.test
License: MIT
Group: Development/Languages/Python
Url: https://bitbucket.org/pytest-dev/pytest-xdist
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-1.15.0.tar.gz
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools_scm}
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-apipkg >= 1.4
Requires: python-execnet >= 1.1
Requires: python-py >= 1.4.22
Requires: python-pytest >= 2.4.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-pytest >= 3.0.0
Requires: python-pytest-forked
BuildArch: noarch
%python_subpackages
@ -88,8 +88,7 @@ dos2unix README.rst
#%%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}
%defattr(-,root,root,-)
%doc CHANGELOG ISSUES.txt LICENSE README.rst
%doc CHANGELOG.rst ISSUES.txt LICENSE README.rst
%{python_sitelib}/xdist
%{python_sitelib}/pytest_xdist-%{version}-py%{python_version}.egg-info