Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aiohttp-jinja2 for
openSUSE:Factory checked in at 2026-06-04 18:55:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiohttp-jinja2 (Old)
and /work/SRC/openSUSE:Factory/.python-aiohttp-jinja2.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp-jinja2"
Thu Jun 4 18:55:13 2026 rev:8 rq:1357045 version:1.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-aiohttp-jinja2/python-aiohttp-jinja2.changes
2025-05-13 20:07:33.020081553 +0200
+++
/work/SRC/openSUSE:Factory/.python-aiohttp-jinja2.new.2375/python-aiohttp-jinja2.changes
2026-06-04 18:57:10.375953066 +0200
@@ -1,0 +2,6 @@
+Thu Jun 4 02:40:42 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-aiohttp-3.14.patch:
+ * Support aiohttp 3.14 by using web.RequestKey.
+
+-------------------------------------------------------------------
New:
----
support-aiohttp-3.14.patch
----------(New B)----------
New:
- Add patch support-aiohttp-3.14.patch:
* Support aiohttp 3.14 by using web.RequestKey.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aiohttp-jinja2.spec ++++++
--- /var/tmp/diff_new_pack.qLzBTy/_old 2026-06-04 18:57:11.163985615 +0200
+++ /var/tmp/diff_new_pack.qLzBTy/_new 2026-06-04 18:57:11.167985780 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-aiohttp-jinja2
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,9 +22,10 @@
Release: 0
Summary: Jinja2 template renderer for aiohttp.web
License: Apache-2.0
-Group: Development/Languages/Python
URL: https://github.com/aio-libs/aiohttp-jinja2
Source:
https://github.com/aio-libs/aiohttp-jinja2/archive/v%{version}.tar.gz#/aiohttp-jinja2-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#aio-libs/aiohttp-jinja2#1025
+Patch0: support-aiohttp-3.14.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -64,5 +65,5 @@
%doc README.rst
%license LICENSE
%{python_sitelib}/aiohttp_jinja2
-%{python_sitelib}/aiohttp_jinja2-%{version}*-info
+%{python_sitelib}/aiohttp_jinja2-%{version}.dist-info
++++++ support-aiohttp-3.14.patch ++++++
>From 6a33cd91f54a030e75cc4b6a02ebb73397a8f17b Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Thu, 4 Jun 2026 12:33:10 +1000
Subject: [PATCH] Support aiohttp 3.14 by using web.RequestKey
aiohttp 3.14 has added web.RequestKey, much like AppKey, and will throw
a warning if it isn't used. If warnings are treated as exceptions, like
this project does, it will cause a test failure. Support both, since
it's easy, and doesn't require us to pin aiohttp to an incredibly recent
version.
---
aiohttp_jinja2/__init__.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/aiohttp_jinja2/__init__.py b/aiohttp_jinja2/__init__.py
index da6f946b..e2bdd584 100644
--- a/aiohttp_jinja2/__init__.py
+++ b/aiohttp_jinja2/__init__.py
@@ -41,7 +41,10 @@
"APP_CONTEXT_PROCESSORS_KEY"
)
APP_KEY: Final = web.AppKey[jinja2.Environment]("APP_KEY")
-REQUEST_CONTEXT_KEY: Final = "aiohttp_jinja2_context"
+if hasattr(web, "RequestKey"):
+ REQUEST_CONTEXT_KEY: Final = web.RequestKey("aiohttp_jinja2_context", dict)
+else:
+ REQUEST_CONTEXT_KEY: Final = "aiohttp_jinja2_context"
_T = TypeVar("_T")
_AbstractView = TypeVar("_AbstractView", bound=AbstractView)