forked from pool/python-promise
Accepting request 786210 from home:mcalabkova:branches:devel:languages:python
- Update to version 2.3.0 * Distribute type module maker for mypy * Fix memory leak on dynamically created types * Make Dataloader keep cache object * Fix Python 3.7 deprecation warnings * Make Promise and Dataloader thread-safe OBS-URL: https://build.opensuse.org/request/show/786210 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-promise?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
7e89b6619f
commit
6403013bd4
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:348f5f6c3edd4fd47c9cd65aed03ac1b31136d375aa63871a57d3e444c85655c
|
|
||||||
size 19475
|
|
3
promise-2.3.0.tar.gz
Normal file
3
promise-2.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d9017f2b949a49fdf65a1ee1f54ff4cb08181ea19ea2c1034cd13c767cfdddf8
|
||||||
|
size 28147
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 18 15:18:21 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Update to version 2.3.0
|
||||||
|
* Distribute type module maker for mypy
|
||||||
|
* Fix memory leak on dynamically created types
|
||||||
|
* Make Dataloader keep cache object
|
||||||
|
* Fix Python 3.7 deprecation warnings
|
||||||
|
* Make Promise and Dataloader thread-safe
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 11 12:12:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Feb 11 12:12:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-promise
|
# spec file for package python-promise
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 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
|
||||||
@@ -16,16 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
|
%bcond_without python3
|
||||||
Name: python-promise
|
Name: python-promise
|
||||||
Version: 2.2.1
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Promises/A+ implementation for Python
|
Summary: Promises/A+ implementation for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/syrusakbary/promise
|
URL: https://github.com/syrusakbary/promise
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/promise/promise-%{version}.tar.gz
|
Source: https://github.com/syrusakbary/promise/archive/v%{version}.tar.gz#/promise-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pytest-benchmark}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python2-futures
|
||||||
|
BuildRequires: python2-typing
|
||||||
|
%endif
|
||||||
|
%if %{with python3}
|
||||||
|
BuildRequires: python3-pytest-asyncio
|
||||||
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
@@ -48,6 +60,9 @@ This is an implementation of Promises in Python
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user