From d2629e641c7d8a3fd47b81cbe3db5052622cc238fcf6a1b404db4d994c99c9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 5 Jan 2018 10:23:12 +0000 Subject: [PATCH] Accepting request 561825 from home:alarrosa:branches:devel:languages:python - Update to version 5.3.1 * Fix missing support for the start_new_session parameter to ~testfixtures.popen.MockPopen. - Update to version 5.3.0 * Add pytest traceback hiding for TempDirectory.compare. * Add warnings that log_capture, tempdir and replace are not currently compatible with pytest's fixtures mechanism. * Better support for stdout or stderr *not* being set to PIPE when using testfixtures.popen.MockPopen. * Add support to testfixtures.popen.MockPopen for using subprocess.Popen as a context manager in Python 3. * Add support to testfixtures.popen.MockPopen for stderr=STDOUT. * Work done on testfixtures.popen.MockPopen. OBS-URL: https://build.opensuse.org/request/show/561825 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=3 --- python-testfixtures.changes | 21 +++++++++++++++++++++ python-testfixtures.spec | 29 +++++++++++++++-------------- testfixtures-5.2.0.tar.gz | 3 --- testfixtures-5.3.1.tar.gz | 3 +++ 4 files changed, 39 insertions(+), 17 deletions(-) delete mode 100644 testfixtures-5.2.0.tar.gz create mode 100644 testfixtures-5.3.1.tar.gz diff --git a/python-testfixtures.changes b/python-testfixtures.changes index ae16959..dcbf4a5 100644 --- a/python-testfixtures.changes +++ b/python-testfixtures.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Jan 5 09:58:02 UTC 2018 - alarrosa@suse.com + +- Update to version 5.3.1 + * Fix missing support for the start_new_session parameter to + ~testfixtures.popen.MockPopen. + +------------------------------------------------------------------- +Fri Nov 17 10:49:24 UTC 2017 - alarrosa@suse.com + +- Update to version 5.3.0 + * Add pytest traceback hiding for TempDirectory.compare. + * Add warnings that log_capture, tempdir and replace are not + currently compatible with pytest's fixtures mechanism. + * Better support for stdout or stderr *not* being set to PIPE + when using testfixtures.popen.MockPopen. + * Add support to testfixtures.popen.MockPopen for + using subprocess.Popen as a context manager in Python 3. + * Add support to testfixtures.popen.MockPopen for stderr=STDOUT. + * Work done on testfixtures.popen.MockPopen. + ------------------------------------------------------------------- Tue Sep 26 18:47:13 UTC 2017 - t.gruner@katodev.de diff --git a/python-testfixtures.spec b/python-testfixtures.spec index 1eee41f..0ca0849 100644 --- a/python-testfixtures.spec +++ b/python-testfixtures.spec @@ -1,7 +1,7 @@ # # spec file for package python-testfixtures # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -13,6 +13,7 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -21,35 +22,35 @@ %bcond_with test Name: python-testfixtures -Version: 5.2.0 +Version: 5.3.1 Release: 0 -License: MIT Summary: A collection of helpers and mock objects for unit tests and doc tests -Url: https://github.com/Simplistix/testfixtures +License: MIT Group: Development/Languages/Python +Url: https://github.com/Simplistix/testfixtures Source: https://files.pythonhosted.org/packages/source/t/testfixtures/testfixtures-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pkginfo} BuildRequires: %{python_module setuptools-git} -BuildRequires: %{python_module wheel} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module twine} +BuildRequires: %{python_module wheel} BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module virtualenv} -BuildRequires: %{python_module pyOpenSSL} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module sybil} BuildRequires: %{python_module coverage} BuildRequires: %{python_module coveralls} -BuildRequires: %{python_module zope.component} -BuildRequires: %{python_module django} BuildRequires: %{python_module django-core} BuildRequires: %{python_module django-nose} +BuildRequires: %{python_module django} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module sybil} +BuildRequires: %{python_module virtualenv} +BuildRequires: %{python_module zope.component} %endif BuildArch: noarch diff --git a/testfixtures-5.2.0.tar.gz b/testfixtures-5.2.0.tar.gz deleted file mode 100644 index b7afd6e..0000000 --- a/testfixtures-5.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7427d4b63861c1896865ea7be078fa1e2b219ce9b1a9a0895f823475a5f76c85 -size 96223 diff --git a/testfixtures-5.3.1.tar.gz b/testfixtures-5.3.1.tar.gz new file mode 100644 index 0000000..9e32008 --- /dev/null +++ b/testfixtures-5.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:670ade9410b7132278209e6a2e893caf098b040c4ba4d5ea848367a9c5588728 +size 97478