Hello community, here is the log from the commit of package python-promise for openSUSE:Factory checked in at 2020-03-19 19:49:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-promise (Old) and /work/SRC/openSUSE:Factory/.python-promise.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-promise" Thu Mar 19 19:49:59 2020 rev:3 rq:786242 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-promise/python-promise.changes 2019-02-13 10:01:30.829618977 +0100 +++ /work/SRC/openSUSE:Factory/.python-promise.new.3160/python-promise.changes 2020-03-19 19:53:54.676276859 +0100 @@ -1,0 +2,10 @@ +Wed Mar 18 15:18:21 UTC 2020 - Marketa Calabkova <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- promise-2.2.1.tar.gz New: ---- promise-2.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-promise.spec ++++++ --- /var/tmp/diff_new_pack.Ampnww/_old 2020-03-19 19:53:55.388276884 +0100 +++ /var/tmp/diff_new_pack.Ampnww/_new 2020-03-19 19:53:55.392276884 +0100 @@ -1,7 +1,7 @@ # # 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 # 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 -Version: 2.2.1 +Version: 2.3.0 Release: 0 Summary: Promises/A+ implementation for Python License: MIT Group: Development/Languages/Python 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 six} +%if %{with python2} +BuildRequires: python2-futures +BuildRequires: python2-typing +%endif +%if %{with python3} +BuildRequires: python3-pytest-asyncio +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six @@ -48,6 +60,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE ++++++ promise-2.2.1.tar.gz -> promise-2.3.0.tar.gz ++++++ ++++ 3534 lines of diff (skipped)
