From 366fed81236d4525136c463cd56b6ddccd2f34f11cfe6f02f25119784602ac72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 16 Feb 2020 19:57:14 +0000 Subject: [PATCH] Accepting request 774732 from home:mnhauke - Update to version 1.0.0 * Drop Python 2 support * Add type annotations and py.typed to the package * Replace the logging library from Logbook to loguru * Remove deprecated error classes * Remove deprecated methods OBS-URL: https://build.opensuse.org/request/show/774732 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subprocrunner?expand=0&rev=3 --- python-subprocrunner.changes | 10 ++++++++++ python-subprocrunner.spec | 13 ++++++++----- subprocrunner-0.17.2.tar.gz | 3 --- subprocrunner-1.0.0.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 8 deletions(-) delete mode 100644 subprocrunner-0.17.2.tar.gz create mode 100644 subprocrunner-1.0.0.tar.gz diff --git a/python-subprocrunner.changes b/python-subprocrunner.changes index 4321f97..32cd37d 100644 --- a/python-subprocrunner.changes +++ b/python-subprocrunner.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Feb 16 19:32:47 UTC 2020 - Martin Hauke + +- Update to version 1.0.0 + * Drop Python 2 support + * Add type annotations and py.typed to the package + * Replace the logging library from Logbook to loguru + * Remove deprecated error classes + * Remove deprecated methods + ------------------------------------------------------------------- Thu Feb 6 21:44:55 UTC 2020 - Martin Hauke diff --git a/python-subprocrunner.spec b/python-subprocrunner.spec index 9c4dcd3..75a0bd7 100644 --- a/python-subprocrunner.spec +++ b/python-subprocrunner.spec @@ -1,7 +1,7 @@ # # spec file for package python-subprocrunner # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-subprocrunner -Version: 0.17.2 +Version: 1.0.0 Release: 0 Summary: A Python wrapper library for subprocess module License: MIT @@ -28,15 +30,16 @@ BuildRequires: %{python_module setuptools >= 38.3.0} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements +BuildRequires: %{python_module loguru} BuildRequires: %{python_module mbstrdecoder >= 0.8.0} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module six} BuildRequires: %{python_module typepy} # /SECTION +Requires: python-loguru Requires: python-mbstrdecoder >= 0.8.0 Requires: python-six -Suggests: python-Logbook >= 0.12.3 -Suggests: python-typepy +Requires: python-typepy BuildArch: noarch %python_subpackages diff --git a/subprocrunner-0.17.2.tar.gz b/subprocrunner-0.17.2.tar.gz deleted file mode 100644 index 1769478..0000000 --- a/subprocrunner-0.17.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6cc808302f84dd49712b726d7d91efd9b5f7321385c1dab0d5918ced9cdb8856 -size 12435 diff --git a/subprocrunner-1.0.0.tar.gz b/subprocrunner-1.0.0.tar.gz new file mode 100644 index 0000000..033870e --- /dev/null +++ b/subprocrunner-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cc4041c207f3482432c1095e524743c7a3901630c99b234730431ba9402b510 +size 11928