Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Flask-Compress for
openSUSE:Factory checked in at 2026-04-28 11:55:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Compress (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-Compress.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Compress"
Tue Apr 28 11:55:15 2026 rev:14 rq:1349531 version:1.24
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-Flask-Compress/python-Flask-Compress.changes
2025-05-06 16:42:41.239355872 +0200
+++
/work/SRC/openSUSE:Factory/.python-Flask-Compress.new.11940/python-Flask-Compress.changes
2026-04-28 11:57:33.112445062 +0200
@@ -1,0 +2,41 @@
+Mon Apr 6 20:04:10 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.24:
+ * add mypy annotations and mark it as checkable, #76 by
+ * add `gzip` to supported algorithms for streaming responses,
+ but not in the `COMPRESS_ALGORITHM_STREAMING` default values,
+ so users have to explicitly enable it
+ * fix possible `RuntimeError` when applying compression to a
+ streaming endpoint
+ * no longer apply `make_conditional` to streaming responses, as
+ it had the effect of buffering the entire response, which
+ defeats the purpose of streaming responses, unless the
+ `request.endpoint` is in a new
+ `COMPRESS_STREAMING_ENDPOINT_CONDITIONAL` config option,
+ which defaults to `["static"]`
+ * the new `COMPRESS_EVALUATE_CONDITIONAL_REQUEST` config option
+ is now `True` by default
+ * Use `backports.zstd` instead of `pyzstd`, #63 by
+ * Add new behaviours to improve Etag compatibility, #67, by
+ * weak etags are no longer modified by flask-compress
+ * add new `COMPRESS_EVALUATE_CONDITIONAL_REQUEST` config option
+ to call `response.make_conditional(request)` after
+ compression, this ensures that 304 Not Modified responses are
+ correctly generated when the client sends conditional
+ requests with `If-None-Match` (defaults to `False`)
+ * Support, and test against, Python 3.14, see #61 by @kurtmckee
+ * Migrate from `zstandard` to `pyzstd`, which is now included
+ in the Python 3.14 standard library, also part of #61
+ * Restore `flask_compress.DictCache()` that is needed to
+ configure Flask-Compress with caching, without relying on
+ Flask-Caching
+ * Add support for Python 3.13 in tox and classifiers
+ * Expand mimetype defaults, see #57
+ * Minor performance improvements, cache the algorithm selection
+ logic
+ * Drop support for Python 3.8 and lower, see #46
+ * Fix cache pollution caused by caching compression results for
+ different compression algorithms, see #53
+ * Add support of Zstandard compression.
+
+-------------------------------------------------------------------
Old:
----
Flask-Compress-1.14.tar.gz
New:
----
flask_compress-1.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-Compress.spec ++++++
--- /var/tmp/diff_new_pack.tYoyLL/_old 2026-04-28 11:57:33.752471661 +0200
+++ /var/tmp/diff_new_pack.tYoyLL/_new 2026-04-28 11:57:33.756471826 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Compress
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2016, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -19,14 +19,15 @@
%{?sle15_python_module_pythons}
Name: python-Flask-Compress
-Version: 1.14
+Version: 1.24
Release: 0
Summary: Compress responses in Flask apps with gzip
License: MIT
URL: https://github.com/colour-science/flask-compress
-Source:
https://files.pythonhosted.org/packages/source/F/Flask-Compress/Flask-Compress-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/f/flask_compress/flask_compress-%{version}.tar.gz
BuildRequires: %{python_module Brotli}
-BuildRequires: %{python_module importlib-metadata}
+BuildRequires: %{python_module Flask-Caching}
+BuildRequires: %{python_module backports.zstd if %python-base < 3.14}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
@@ -36,6 +37,9 @@
BuildRequires: python-rpm-macros
Requires: python-Brotli
Requires: python-Flask
+%if 0%{?python_version_nodots} < 314
+Requires: python-backports.zstd
+%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Flask}
@@ -51,7 +55,7 @@
Flask-Compress can solve the problem.
%prep
-%setup -q -n Flask-Compress-%{version}
+%setup -q -n flask_compress-%{version}
%build
%pyproject_wheel
@@ -68,5 +72,4 @@
%license LICENSE.txt
%{python_sitelib}/flask_compress
%{python_sitelib}/[Ff]lask[_-][Cc]ompress-%{version}.dist-info
-%pycache_only %{python_sitelib}/flask_compress/__pycache__