From 583c521d1dc5999cde3547de0468902400ab92557dbb4932724413855d321009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 12 Feb 2019 15:28:48 +0000 Subject: [PATCH] - Update to 1.26.1: * #406: Do not implement deprecated pytest_logwarning hook in pytest versions where it is deprecated. * #376: The current directory is no longer added sys.path for local workers, only for remote connections. * #379: Warning attributes are checked to make sure they can be dumped prior to serializing the warning for submission to the master node. * #372: Pytest versions older than 3.6 are no longer supported. * #373: Node setup information is hidden when pytest is run in quiet mode to reduce noise on many-core machines. * #388: mainargv is made available in workerinput from the host's sys.argv. * #384: pytest 4.1 support: ExceptionInfo API changes. * #390: pytest 4.1 support: pytest_logwarning hook removed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=4 --- pytest-xdist-1.23.2.tar.gz | 3 --- pytest-xdist-1.26.1.tar.gz | 3 +++ python-pytest-xdist.changes | 13 +++++++++++++ python-pytest-xdist.spec | 16 ++++++++++++---- 4 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 pytest-xdist-1.23.2.tar.gz create mode 100644 pytest-xdist-1.26.1.tar.gz diff --git a/pytest-xdist-1.23.2.tar.gz b/pytest-xdist-1.23.2.tar.gz deleted file mode 100644 index 60342a7..0000000 --- a/pytest-xdist-1.23.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ef0d05c905cfa0c5442c90e9e350e65c6ada120e33a00a066ca51c89f5f869a -size 59932 diff --git a/pytest-xdist-1.26.1.tar.gz b/pytest-xdist-1.26.1.tar.gz new file mode 100644 index 0000000..0957dae --- /dev/null +++ b/pytest-xdist-1.26.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d03d1ff1b008458ed04fa73e642d840ac69b4107c168e06b71037c62d7813dd4 +size 64973 diff --git a/python-pytest-xdist.changes b/python-pytest-xdist.changes index 3e449c9..dbaf66e 100644 --- a/python-pytest-xdist.changes +++ b/python-pytest-xdist.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Feb 12 12:57:15 UTC 2019 - Tomáš Chvátal + +- Update to 1.26.1: + * #406: Do not implement deprecated pytest_logwarning hook in pytest versions where it is deprecated. + * #376: The current directory is no longer added sys.path for local workers, only for remote connections. + * #379: Warning attributes are checked to make sure they can be dumped prior to serializing the warning for submission to the master node. + * #372: Pytest versions older than 3.6 are no longer supported. + * #373: Node setup information is hidden when pytest is run in quiet mode to reduce noise on many-core machines. + * #388: mainargv is made available in workerinput from the host's sys.argv. + * #384: pytest 4.1 support: ExceptionInfo API changes. + * #390: pytest 4.1 support: pytest_logwarning hook removed. + ------------------------------------------------------------------- Fri Oct 26 12:56:22 UTC 2018 - Ondřej Súkup diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index bffa510..6cb472f 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-xdist # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-xdist -Version: 1.23.2 +Version: 1.26.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 +Url: https://github.com/pytest-dev/pytest-xdist Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-%{version}.tar.gz +BuildRequires: %{python_module execnet >= 1.1} +BuildRequires: %{python_module filelock} +BuildRequires: %{python_module pytest >= 3.6.0} +BuildRequires: %{python_module pytest-forked} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-execnet >= 1.1 -Requires: python-pytest >= 3.0.0 +Requires: python-pytest >= 3.6.0 Requires: python-pytest-forked Requires: python-six BuildArch: noarch @@ -70,6 +75,9 @@ sed -i 's/\r//' README.rst %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v + %files %{python_files} %doc CHANGELOG.rst ISSUES.txt README.rst %license LICENSE