diff --git a/python-timeout-decorator.changes b/python-timeout-decorator.changes index 3a877b4..7ccb7b9 100644 --- a/python-timeout-decorator.changes +++ b/python-timeout-decorator.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 12 11:54:22 UTC 2023 - Dirk Müller + +- update to 0.5.0: + * Allow to use timeout in function kwargs even when initial + seconds is None + * drop support for 2.6, 3.4, 3.5 and add support for 3.7, 3.8, 3.9 + ------------------------------------------------------------------- Wed Feb 19 02:09:49 PM UTC 2020 - John Vandenberg diff --git a/python-timeout-decorator.spec b/python-timeout-decorator.spec index 51bf2b3..b603bbc 100644 --- a/python-timeout-decorator.spec +++ b/python-timeout-decorator.spec @@ -1,7 +1,7 @@ # # spec file for package python-timeout-decorator # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,27 @@ # 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-%{**}} Name: python-timeout-decorator -Version: 0.4.1 +Version: 0.5.0 Release: 0 -License: MIT Summary: Python timeout decorator -Url: https://github.com/pnpnpn/timeout-decorator +License: MIT Group: Development/Languages/Python +URL: https://github.com/pnpnpn/timeout-decorator Source: https://files.pythonhosted.org/packages/source/t/timeout-decorator/timeout-decorator-%{version}.tar.gz Source1: https://raw.githubusercontent.com/pnpnpn/timeout-decorator/master/tests/test_timeout_decorator.py # https://github.com/pnpnpn/timeout-decorator/issues/68 Source2: https://raw.githubusercontent.com/pnpnpn/timeout-decorator/master/LICENSE.txt -BuildRequires: python-rpm-macros BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -50,8 +50,7 @@ cp %{SOURCE1} %{SOURCE2} . %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# https://github.com/pnpnpn/timeout-decorator/issues/69 -%pytest -k 'not test_timeout_kwargs_with_initial_timeout_none' +%pytest %files %{python_files} %doc CHANGES.rst README.rst diff --git a/timeout-decorator-0.4.1.tar.gz b/timeout-decorator-0.4.1.tar.gz deleted file mode 100644 index 8361379..0000000 --- a/timeout-decorator-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a5e276e75c1c5acbf3cdbd9b5e45d77e1f8626f93e39bd5115d68119171d3c6 -size 4771 diff --git a/timeout-decorator-0.5.0.tar.gz b/timeout-decorator-0.5.0.tar.gz new file mode 100644 index 0000000..92594a6 --- /dev/null +++ b/timeout-decorator-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a2f2f58db1c5b24a2cc79de6345760377ad8bdc13813f5265f6c3e63d16b3d7 +size 4754