From 92ec50bad64324a3c1fcd0347c6a64ff966fdddc7cc8d9bd6eadd9f1a871f4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 3 May 2020 07:42:37 +0000 Subject: [PATCH] - 1.32.0: * #524: Add testrun_uid fixture. This is a shared value that uniquely identifies a test run among all workers. This also adds a PYTEST_XDIST_TESTRUNUID environment variable that is accessible within a test as well as a command line option --testrunuid to manually set the value from outside. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=15 --- pytest-xdist-1.31.0.tar.gz | 3 --- pytest-xdist-1.32.0.tar.gz | 3 +++ python-pytest-xdist.changes | 6 ++++++ python-pytest-xdist.spec | 5 ++--- 4 files changed, 11 insertions(+), 6 deletions(-) delete mode 100644 pytest-xdist-1.31.0.tar.gz create mode 100644 pytest-xdist-1.32.0.tar.gz diff --git a/pytest-xdist-1.31.0.tar.gz b/pytest-xdist-1.31.0.tar.gz deleted file mode 100644 index 56e57df..0000000 --- a/pytest-xdist-1.31.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7dc0d027d258cd0defc618fb97055fbd1002735ca7a6d17037018cf870e24011 -size 66133 diff --git a/pytest-xdist-1.32.0.tar.gz b/pytest-xdist-1.32.0.tar.gz new file mode 100644 index 0000000..376febf --- /dev/null +++ b/pytest-xdist-1.32.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d4166dcac69adb38eeaedb88c8fada8588348258a3492ab49ba9161f2971129 +size 67733 diff --git a/python-pytest-xdist.changes b/python-pytest-xdist.changes index ee1cbe1..e136a0c 100644 --- a/python-pytest-xdist.changes +++ b/python-pytest-xdist.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 3 07:41:14 UTC 2020 - Tomáš Chvátal + +- 1.32.0: + * #524: Add testrun_uid fixture. This is a shared value that uniquely identifies a test run among all workers. This also adds a PYTEST_XDIST_TESTRUNUID environment variable that is accessible within a test as well as a command line option --testrunuid to manually set the value from outside. + ------------------------------------------------------------------- Mon Jan 6 12:50:36 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index 678a10a..d6ee759 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -18,11 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-xdist -Version: 1.31.0 +Version: 1.32.0 Release: 0 Summary: Distributed testing and loop-on-failing for py.test License: MIT -Group: Development/Languages/Python 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} @@ -76,7 +75,7 @@ sed -i 's/\r//' README.rst %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +%pytest %files %{python_files} %doc CHANGELOG.rst ISSUES.txt README.rst