- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-timeout-decorator?expand=0&rev=3
This commit is contained in:
Dirk Mueller 2023-05-12 11:59:48 +00:00 committed by Git OBS Bridge
parent 20b0f8a160
commit c439b849b0
4 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 12 11:54:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <jayvdb@gmail.com> Wed Feb 19 02:09:49 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-timeout-decorator # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-timeout-decorator Name: python-timeout-decorator
Version: 0.4.1 Version: 0.5.0
Release: 0 Release: 0
License: MIT
Summary: Python timeout decorator Summary: Python timeout decorator
Url: https://github.com/pnpnpn/timeout-decorator License: MIT
Group: Development/Languages/Python 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 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 Source1: https://raw.githubusercontent.com/pnpnpn/timeout-decorator/master/tests/test_timeout_decorator.py
# https://github.com/pnpnpn/timeout-decorator/issues/68 # https://github.com/pnpnpn/timeout-decorator/issues/68
Source2: https://raw.githubusercontent.com/pnpnpn/timeout-decorator/master/LICENSE.txt Source2: https://raw.githubusercontent.com/pnpnpn/timeout-decorator/master/LICENSE.txt
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -50,8 +50,7 @@ cp %{SOURCE1} %{SOURCE2} .
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# https://github.com/pnpnpn/timeout-decorator/issues/69 %pytest
%pytest -k 'not test_timeout_kwargs_with_initial_timeout_none'
%files %{python_files} %files %{python_files}
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a5e276e75c1c5acbf3cdbd9b5e45d77e1f8626f93e39bd5115d68119171d3c6
size 4771

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a2f2f58db1c5b24a2cc79de6345760377ad8bdc13813f5265f6c3e63d16b3d7
size 4754