From 64c98e3f47a0b2bbb932abf533f3d90191783aaf00e3bf44507713bb4d4a1559 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 5 Jun 2021 12:23:11 +0000 Subject: [PATCH 1/2] Accepting request 897578 from home:mnhauke - Update to version 1.5.0 * Add no_retry_returncodes parameter to Retry class - Update to version 1.4.2 * Fix retry processing * Modify log messages - Update to version 1.4.1 * Fix retry processing - Update to version 1.4.0 * Add quiet mode support for SubprocessRunner/Retry * Modify a retry log message - Update to version 1.3.0 * Add timeout keyword argument to SubprocessRunner.run: * Add support for retry functionality to SubprocessRunner.run * Add SubprocessRunner.Retry class * Modify type annotation of SubprocessRunner.run return value OBS-URL: https://build.opensuse.org/request/show/897578 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subprocrunner?expand=0&rev=14 --- python-subprocrunner.changes | 19 +++++++++++++++++++ python-subprocrunner.spec | 3 ++- subprocrunner-1.2.2.tar.gz | 3 --- subprocrunner-1.5.0.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 subprocrunner-1.2.2.tar.gz create mode 100644 subprocrunner-1.5.0.tar.gz diff --git a/python-subprocrunner.changes b/python-subprocrunner.changes index 49ba0c6..fd10fff 100644 --- a/python-subprocrunner.changes +++ b/python-subprocrunner.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Jun 4 20:34:17 UTC 2021 - Martin Hauke + +- Update to version 1.5.0 + * Add no_retry_returncodes parameter to Retry class +- Update to version 1.4.2 + * Fix retry processing + * Modify log messages +- Update to version 1.4.1 + * Fix retry processing +- Update to version 1.4.0 + * Add quiet mode support for SubprocessRunner/Retry + * Modify a retry log message +- Update to version 1.3.0 + * Add timeout keyword argument to SubprocessRunner.run: + * Add support for retry functionality to SubprocessRunner.run + * Add SubprocessRunner.Retry class + * Modify type annotation of SubprocessRunner.run return value + ------------------------------------------------------------------- Sun May 16 18:30:07 UTC 2021 - Matej Cepl diff --git a/python-subprocrunner.spec b/python-subprocrunner.spec index ebf46e0..a85c8e6 100644 --- a/python-subprocrunner.spec +++ b/python-subprocrunner.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-subprocrunner -Version: 1.2.2 +Version: 1.5.0 Release: 0 Summary: A Python wrapper library for subprocess module License: MIT @@ -37,6 +37,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module loguru >= 0.4.1} BuildRequires: %{python_module mbstrdecoder >= 1.0.0} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} BuildRequires: %{python_module typepy} diff --git a/subprocrunner-1.2.2.tar.gz b/subprocrunner-1.2.2.tar.gz deleted file mode 100644 index b6c64df..0000000 --- a/subprocrunner-1.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:972eec5bc4d065d9e0edf207fc4fb019d9c25e4325e94913d506078d04ab8c74 -size 12162 diff --git a/subprocrunner-1.5.0.tar.gz b/subprocrunner-1.5.0.tar.gz new file mode 100644 index 0000000..b02a239 --- /dev/null +++ b/subprocrunner-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8adb84ae1dfe8bcc34f649cf00bff164702c24e350c7a3844617ecf750629cf7 +size 13725 From 218e38a7e11ccdccd84adc4ef85a8a669766845a4cccb1c62b3de08ecf395fa0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 5 Jun 2021 17:09:17 +0000 Subject: [PATCH 2/2] Accepting request 897708 from home:mnhauke - Update to version 1.6.0 * Add __repr__ method to Retry/SubprocessRunner classes * Fix to properly suppress debug logs when quiet=True * Fixed to save command history at runtime OBS-URL: https://build.opensuse.org/request/show/897708 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subprocrunner?expand=0&rev=15 --- python-subprocrunner.changes | 8 ++++++++ python-subprocrunner.spec | 2 +- subprocrunner-1.5.0.tar.gz | 3 --- subprocrunner-1.6.0.tar.gz | 3 +++ 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 subprocrunner-1.5.0.tar.gz create mode 100644 subprocrunner-1.6.0.tar.gz diff --git a/python-subprocrunner.changes b/python-subprocrunner.changes index fd10fff..0b93615 100644 --- a/python-subprocrunner.changes +++ b/python-subprocrunner.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jun 5 13:14:13 UTC 2021 - Martin Hauke + +- Update to version 1.6.0 + * Add __repr__ method to Retry/SubprocessRunner classes + * Fix to properly suppress debug logs when quiet=True + * Fixed to save command history at runtime + ------------------------------------------------------------------- Fri Jun 4 20:34:17 UTC 2021 - Martin Hauke diff --git a/python-subprocrunner.spec b/python-subprocrunner.spec index a85c8e6..e20bd1c 100644 --- a/python-subprocrunner.spec +++ b/python-subprocrunner.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-subprocrunner -Version: 1.5.0 +Version: 1.6.0 Release: 0 Summary: A Python wrapper library for subprocess module License: MIT diff --git a/subprocrunner-1.5.0.tar.gz b/subprocrunner-1.5.0.tar.gz deleted file mode 100644 index b02a239..0000000 --- a/subprocrunner-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8adb84ae1dfe8bcc34f649cf00bff164702c24e350c7a3844617ecf750629cf7 -size 13725 diff --git a/subprocrunner-1.6.0.tar.gz b/subprocrunner-1.6.0.tar.gz new file mode 100644 index 0000000..d3d79f0 --- /dev/null +++ b/subprocrunner-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c1e928db282e7453853744290908d04047a8fb3b49ff1e7f8284e6a3be3a810 +size 14247