Accepting request 1086742 from devel:languages:python
- 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/request/show/1086742 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-timeout-decorator?expand=0&rev=2
This commit is contained in:
commit
e55f9c18d1
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a5e276e75c1c5acbf3cdbd9b5e45d77e1f8626f93e39bd5115d68119171d3c6
|
||||
size 4771
|
3
timeout-decorator-0.5.0.tar.gz
Normal file
3
timeout-decorator-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a2f2f58db1c5b24a2cc79de6345760377ad8bdc13813f5265f6c3e63d16b3d7
|
||||
size 4754
|
Loading…
x
Reference in New Issue
Block a user