diff --git a/pytest-xprocess-0.17.1.tar.gz b/pytest-xprocess-0.17.1.tar.gz deleted file mode 100644 index 908ccf1..0000000 --- a/pytest-xprocess-0.17.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59c739edee7f3f2258e7c77989241698e356c552f5efb28bb46b478616888bf6 -size 19758 diff --git a/pytest-xprocess-0.21.0.tar.gz b/pytest-xprocess-0.21.0.tar.gz new file mode 100644 index 0000000..2e23941 --- /dev/null +++ b/pytest-xprocess-0.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9470bfcf884f7299eb6b82a43d298c318b8e53ec314ee624c987e0e87c1b449 +size 30601 diff --git a/python-pytest-xprocess.changes b/python-pytest-xprocess.changes index 5f6ba10..f30b466 100644 --- a/python-pytest-xprocess.changes +++ b/python-pytest-xprocess.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Nov 30 12:06:41 UTC 2022 - Daniel Garcia + +- Remove python_module macro definition +- More specific python_sitelib in %files +- Update to 0.21.0: + * Explicitly add py package as a dependency, fixing issue with pytest >= + 7.2.0 + * Process log files will not be overwritten for each new process anymore, + making it easier to debug issues that occurred in the middle of failed test + runs +- 0.19.0: + * drop support for python 3.5 and 3.6 + * reorganize internals. pytest-xprocess is now a package and all resources + used by running processes are kept as instances of + :class:XProcessResources. +- 0.18.1: + * Fix bug with previous release where internal module was missing +- 0.18.0: + * :method:`ProcessInfo.terminate` will now terminate outer leaves in process + tree first and work its way towards root process. For example, if a process + has child and grandchild, xprocess will terminate first child and + grandchild and only then will the root process receive a termination + signal. + * :class:`ProcessStarter` now has attr:terminate_on_interrupt. This flag will + make xprocess attempt to terminate and clean up all started process + resources upon interruptions during pytest runs (CTRL+C, SIGINT and + internal errors) when set to True. It will default to False, so if the + described behaviour is desired the flag must be explicitly set True. + * Add a new popen_kwargs variable to ProcessStarter, this variable can be + used for passing keyword values to the subprocess.Popen constructor, giving + the user more control over how the process is initialized. + ------------------------------------------------------------------- Sat Jun 19 11:01:56 UTC 2021 - Michael Ströder diff --git a/python-pytest-xprocess.spec b/python-pytest-xprocess.spec index 7fbd87b..92a7c5d 100644 --- a/python-pytest-xprocess.spec +++ b/python-pytest-xprocess.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-xprocess # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,21 @@ %define oldpython python %define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-xprocess -Version: 0.17.1 +Version: 0.21.0 Release: 0 -Summary: A pytest plugin for managing processes across test runs. +Summary: A pytest plugin for managing processes across test runs License: MIT URL: https://github.com/pytest-dev/pytest-xprocess Source: https://files.pythonhosted.org/packages/source/p/pytest-xprocess/pytest-xprocess-%{version}.tar.gz -BuildRequires: %{python_module setuptools_scm} -BuildRequires: python-rpm-macros BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest >= 2.8} +BuildRequires: %{python_module py} +BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-psutil +Requires: python-py Requires: python-pytest >= 2.8 BuildArch: noarch %python_subpackages @@ -56,8 +57,9 @@ test-specific databases (i.e. Postgres, Couchdb). %pytest %files %{python_files} -%doc README.rst +%doc %attr(0644, -, -) README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/xprocess +%{python_sitelib}/pytest_xprocess-%{version}*-info %changelog