From d98e85796adbf2d05f1d9ccdbf017f06cac4fe104a8ee905f5a34dbd60692bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 25 Aug 2020 08:26:18 +0000 Subject: [PATCH] Accepting request 829113 from home:mcalabkova:branches:devel:languages:python:pytest - Update to 2.0.0 * Drop backward-compatibility "slave" aliases related to worker nodes. We deliberately moved away from this terminology years ago, and it seems like the right time to finish the deprecation and removal process. * ``pytest-xdist`` no longer supports Python 2.7. * New functions ``xdist.is_xdist_worker``, ``xdist.is_xdist_master``, ``xdist.get_xdist_worker_id``, to easily identify the current node. * When using ``-n auto``, count the number of physical CPU cores instead of logical ones. * ``pytest-xdist`` now requires ``pytest>=6.0``. OBS-URL: https://build.opensuse.org/request/show/829113 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=19 --- pytest-xdist-1.32.0.tar.gz | 3 --- pytest-xdist-2.0.0.tar.gz | 3 +++ python-pytest-xdist.changes | 13 +++++++++++++ python-pytest-xdist.spec | 13 +++++++------ 4 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 pytest-xdist-1.32.0.tar.gz create mode 100644 pytest-xdist-2.0.0.tar.gz diff --git a/pytest-xdist-1.32.0.tar.gz b/pytest-xdist-1.32.0.tar.gz deleted file mode 100644 index 376febf..0000000 --- a/pytest-xdist-1.32.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d4166dcac69adb38eeaedb88c8fada8588348258a3492ab49ba9161f2971129 -size 67733 diff --git a/pytest-xdist-2.0.0.tar.gz b/pytest-xdist-2.0.0.tar.gz new file mode 100644 index 0000000..22af070 --- /dev/null +++ b/pytest-xdist-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3217b1f40290570bf27b1f82714fc4ed44c3260ba9b2f6cde0372378fc707ad3 +size 65663 diff --git a/python-pytest-xdist.changes b/python-pytest-xdist.changes index 68a3540..caf20b4 100644 --- a/python-pytest-xdist.changes +++ b/python-pytest-xdist.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Aug 25 08:12:22 UTC 2020 - Marketa Calabkova + +- Update to 2.0.0 + * Drop backward-compatibility "slave" aliases related to worker nodes. We deliberately + moved away from this terminology years ago, and it seems like the right time to finish + the deprecation and removal process. + * ``pytest-xdist`` no longer supports Python 2.7. + * New functions ``xdist.is_xdist_worker``, ``xdist.is_xdist_master``, ``xdist.get_xdist_worker_id``, + to easily identify the current node. + * When using ``-n auto``, count the number of physical CPU cores instead of logical ones. + * ``pytest-xdist`` now requires ``pytest>=6.0``. + ------------------------------------------------------------------- Wed May 13 09:10:04 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index b31ee7a..cfebb50 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pytest-xdist -Version: 1.32.0 +Version: 2.0.0 Release: 0 Summary: Distributed testing and loop-on-failing for py.test License: MIT @@ -26,16 +27,16 @@ 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 >= 4.4.0} +BuildRequires: %{python_module psutil >= 3.0.0} +BuildRequires: %{python_module pytest >= 6.0.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 >= 4.4.0 +Requires: python-psutil >= 3.0.0 +Requires: python-pytest >= 6.0.0 Requires: python-pytest-forked -Requires: python-six BuildArch: noarch %python_subpackages @@ -78,7 +79,7 @@ sed -i 's/\r//' README.rst %pytest %files %{python_files} -%doc CHANGELOG.rst ISSUES.txt README.rst +%doc CHANGELOG.rst README.rst %license LICENSE %{python_sitelib}/xdist %{python_sitelib}/pytest_xdist-%{version}-py%{python_version}.egg-info