Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Flask-Caching for
openSUSE:Factory checked in at 2025-05-06 16:42:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Caching (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-Caching.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Caching"
Tue May 6 16:42:29 2025 rev:3 rq:1274779 version:2.3.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-Flask-Caching/python-Flask-Caching.changes
2020-06-03 20:34:37.673568568 +0200
+++
/work/SRC/openSUSE:Factory/.python-Flask-Caching.new.30101/python-Flask-Caching.changes
2025-05-06 16:42:40.491324399 +0200
@@ -1,0 +2,44 @@
+Tue May 6 06:00:07 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 2.3.1:
+ * Relax cachelib version to allow latest releases
+ * Drop python 3.7 support
+ * python 3.11 officially supported
+ * Fix issue causing args_to_ignore to not work with
+ flask_caching.Cache.memoize decorator when keyword arguments were used in
+ the decorated function call
+ * fix type signature in flask_caching.utils.make_template_fragment_key.
+ * support Flask 3
+ * bug fix: make the make_cache_key attributed of decorated view functions
+ writeable.
+ * fix bug where flask_caching.backends.RedisSentinelCache.get_many would
+ query wrong host&port combination.
+ * Remove flask_caching.backends.FileSystemCache method overrides.
+ * Add proxy to underlaying has method of cache clients.
+ * flask_caching.backends.FileSystemCache now stores timestamps in a
+ universal (non-frammed) way following the lastest version of
+ cachelib.FileSystemCache.
+ * Add suport for cached/memoized generators.
+ * Add support for Flask 2.0 async.
+ * Cachelib is now used as backend.
+ * Drop support for python 3.6.
+ * Add support for dynamic cache timeouts
+ * Fix bug in CACHE_OPTIONS reading for redis in RedisSentinelCache.
+ * A GoogleCloudStorageCache backend has been added to the user contributed
+ caching backends.
+ * Important: The way caching backends are loaded have been refactored.
+ Instead of passing the name of the initialization function one can now
+ use the full path to the caching backend class.
+ * UWSGICache is not officially supported anymore and moved to the user
+ contributed backends.
+ * Fix add() in RedisCache without a timeout.
+ * Fix error in how the FileSystemCache counts the number of files.
+ * Fix kwargs not being passed on in function _memoize_make_cache_key.
+ * Add a Redis Cluster Mode caching backend.
+ * Add an option to include the functions source code when generating the
+ cache key.
+ * Completely control the way how cache keys are generated.
+- Switch to pyproject macros.
+- Support both uppercased and normalized metadata directory names.
+
+-------------------------------------------------------------------
Old:
----
Flask-Caching-1.9.0.tar.gz
New:
----
flask_caching-2.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-Caching.spec ++++++
--- /var/tmp/diff_new_pack.kidsRO/_old 2025-05-06 16:42:40.967344428 +0200
+++ /var/tmp/diff_new_pack.kidsRO/_new 2025-05-06 16:42:40.967344428 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Caching
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,28 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Flask-Caching
-Version: 1.9.0
+Version: 2.3.1
Release: 0
Summary: Adds caching support to your Flask application
License: BSD-3-Clause
-Group: Development/Languages/Python
URL: https://github.com/sh4nks/flask-caching
-Source:
https://files.pythonhosted.org/packages/source/F/Flask-Caching/Flask-Caching-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/F/Flask-Caching/flask_caching-%{version}.tar.gz
BuildRequires: %{python_module Flask}
+BuildRequires: %{python_module asgiref >= 3.2}
+BuildRequires: %{python_module cachelib >= 0.9}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pylibmc}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module redis >= 5}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
+BuildRequires: memcached-devel
BuildRequires: python-rpm-macros
Requires: python-Flask
+Requires: python-cachelib >= 0.9
BuildArch: noarch
%python_subpackages
@@ -40,21 +46,21 @@
Extension.
%prep
-%setup -q -n Flask-Caching-%{version}
+%setup -q -n flask_caching-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
-%doc CHANGES README.md
+%doc README.rst
%license LICENSE
%{python_sitelib}/flask_caching
-%{python_sitelib}/Flask_Caching-%{version}-py*.egg-info
+%{python_sitelib}/[Ff]lask[_-][Cc]aching-%{version}.dist-info