Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-diskcache for openSUSE:Factory checked in at 2021-12-30 15:55:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-diskcache (Old) and /work/SRC/openSUSE:Factory/.python-diskcache.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-diskcache" Thu Dec 30 15:55:25 2021 rev:8 rq:943001 version:5.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-diskcache/python-diskcache.changes 2020-11-17 21:26:28.897449002 +0100 +++ /work/SRC/openSUSE:Factory/.python-diskcache.new.1896/python-diskcache.changes 2021-12-30 15:55:36.904663542 +0100 @@ -1,0 +2,14 @@ +Mon Dec 27 13:20:49 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 5.3.0 + * Support for Python 3.10 in testing (#238) + * Add support for Python 3.10 + * Update copyright to 2022 + * Bump version to 5.3.0 + * Add Python 3.10 to the README +- Avoid django test collections errors on python 3.6:# + no python36-Django 4 +- Keep ignoring djangocache tests due to + gh#grantjenks/python-diskcache#210 + +------------------------------------------------------------------- Old: ---- v5.1.0.tar.gz New: ---- diskcache-5.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-diskcache.spec ++++++ --- /var/tmp/diff_new_pack.VgoDhi/_old 2021-12-30 15:55:37.396663921 +0100 +++ /var/tmp/diff_new_pack.VgoDhi/_new 2021-12-30 15:55:37.400663924 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-diskcache # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,19 +19,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-diskcache -Version: 5.1.0 +Version: 5.3.0 Release: 0 Summary: Disk and file backed cache License: Apache-2.0 URL: http://www.grantjenks.com/docs/diskcache/ -Source: https://github.com/grantjenks/python-diskcache/archive/v%{version}.tar.gz -BuildRequires: %{python_module Django} -BuildRequires: %{python_module mock} +Source: https://github.com/grantjenks/python-diskcache/archive/v%{version}.tar.gz#/diskcache-%{version}.tar.gz +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: %{python_module Django if (%python-base without python36-base)} +BuildRequires: %{python_module pytest-django if (%python-base without python36-base)} Requires: python BuildArch: noarch %python_subpackages @@ -44,6 +45,7 @@ %prep %setup -q +sed -i '/--cov/d' tox.ini %build %python_build @@ -53,13 +55,16 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -sed -i '/-n auto/d' tox.ini -rm tests/test_djangocache.py -%pytest +# No python36-Django 4 on TW +python36_flags=("--ignore" "tests/test_doctest.py" "-k" "not README.rst") +# Broken since Django 3.2 -- https://github.com/grantjenks/python-diskcache/issues/210 +donttest_djangocache="--ignore tests/test_djangocache.py" +%pytest "${$python_flags[@]}" ${donttest_djangocache} %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/diskcache +%{python_sitelib}/diskcache-%{version}*-info %changelog