Hello community,
here is the log from the commit of package python-cached-property for
openSUSE:Factory checked in at 2020-08-25 12:37:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cached-property (Old)
and /work/SRC/openSUSE:Factory/.python-cached-property.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cached-property"
Tue Aug 25 12:37:51 2020 rev:8 rq:827222 version:1.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-cached-property/python-cached-property.changes
2020-03-27 00:20:38.276115190 +0100
+++
/work/SRC/openSUSE:Factory/.python-cached-property.new.3399/python-cached-property.changes
2020-08-25 12:37:52.981404468 +0200
@@ -1,0 +2,6 @@
+Sun Aug 16 12:33:16 UTC 2020 - John Vandenberg <[email protected]>
+
+- Replace nose with pytest
+- Add missing Group
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cached-property.spec ++++++
--- /var/tmp/diff_new_pack.NyyxhW/_old 2020-08-25 12:37:53.605404586 +0200
+++ /var/tmp/diff_new_pack.NyyxhW/_new 2020-08-25 12:37:53.605404586 +0200
@@ -22,13 +22,14 @@
Release: 0
Summary: A decorator for caching properties in classes
License: BSD-3-Clause
+Group: Development/Libraries/Python
URL: https://github.com/pydanny/cached-property
Source:
https://files.pythonhosted.org/packages/source/c/cached-property/cached-property-%{version}.tar.gz
# PATCH-FIX-UPSTREAM skip test that rely on wrong freezegun behaviour
# https://github.com/pydanny/cached-property/pull/125
Patch0: freezegun-skip.patch
BuildRequires: %{python_module freezegun}
-BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -43,6 +44,7 @@
%prep
%setup -q -n cached-property-%{version}
%patch0 -p1
+printf 'import sys\nif sys.version_info < (3, 0): collect_ignore =
["tests/test_async_cached_property.py",
"tests/test_coroutine_cached_property.py"]' > conftest.py
%build
%python_build
@@ -52,7 +54,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand nosetests-%{$python_bin_suffix} -v -e
'test_(async|coroutine)_cached_property'
+%pytest
%files %{python_files}
%license LICENSE