Package: src:aiohttp-jinja2
Version: 1.6-1
Severity: serious
Tags: ftbfs forky sid
User: [email protected]
Usertags: aiohttp-3.14

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:aiohttp-jinja2, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:385: python3.14 setup.py clean 
/<<PKGBUILDDIR>>/setup.py:10: DeprecationWarning: codecs.open() is deprecated. 
Use open() instead.
  with codecs.open(PATH_TO_INIT_PY, "r", "latin1") as fp:
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:385: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:385: python3.14 setup.py config 
/<<PKGBUILDDIR>>/setup.py:10: DeprecationWarning: codecs.open() is deprecated. 
Use open() instead.
  with codecs.open(PATH_TO_INIT_PY, "r", "latin1") as fp:
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:385: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:385: /usr/bin/python3.14 setup.py build 
/<<PKGBUILDDIR>>/setup.py:10: DeprecationWarning: codecs.open() is deprecated. 
Use open() instead.
  with codecs.open(PATH_TO_INIT_PY, "r", "latin1") as fp:
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build/aiohttp_jinja2
copying aiohttp_jinja2/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build/aiohttp_jinja2
copying aiohttp_jinja2/helpers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build/aiohttp_jinja2
copying aiohttp_jinja2/typedefs.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build/aiohttp_jinja2
running egg_info
creating aiohttp_jinja2.egg-info
writing aiohttp_jinja2.egg-info/PKG-INFO
writing dependency_links to aiohttp_jinja2.egg-info/dependency_links.txt
writing requirements to aiohttp_jinja2.egg-info/requires.txt
writing top-level names to aiohttp_jinja2.egg-info/top_level.txt
writing manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt'
reading manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'examples'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt'
copying aiohttp_jinja2/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build/aiohttp_jinja2
I: pybuild base:385: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build/aiohttp_jinja2
copying aiohttp_jinja2/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build/aiohttp_jinja2
copying aiohttp_jinja2/helpers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build/aiohttp_jinja2
copying aiohttp_jinja2/typedefs.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build/aiohttp_jinja2
running egg_info
writing aiohttp_jinja2.egg-info/PKG-INFO
writing dependency_links to aiohttp_jinja2.egg-info/dependency_links.txt
writing requirements to aiohttp_jinja2.egg-info/requires.txt
writing top-level names to aiohttp_jinja2.egg-info/top_level.txt
reading manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'examples'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt'
copying aiohttp_jinja2/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build/aiohttp_jinja2
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build; python3.14 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0 -- 
/usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build
configfile: pytest.ini
plugins: anyio-4.12.1, asyncio-1.4.0, aiohttp-1.1.0, cov-5.0.0, typeguard-4.4.4
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collecting ... collected 30 items

tests/test_context_processors.py::test_context_processors FAILED         [  3%]
tests/test_context_processors.py::test_nested_context_processors PASSED  [  6%]
tests/test_context_processors.py::test_context_is_response PASSED        [ 10%]
tests/test_context_processors.py::test_context_processors_new_setup_style 
PASSED [ 13%]
tests/test_context_processors.py::test_context_not_tainted PASSED        [ 16%]
tests/test_jinja_filters.py::test_jinja_filters PASSED                   [ 20%]
tests/test_jinja_globals.py::test_get_env PASSED                         [ 23%]
tests/test_jinja_globals.py::test_url PASSED                             [ 26%]
tests/test_jinja_globals.py::test_url_with_query PASSED                  [ 30%]
tests/test_jinja_globals.py::test_url_int_param PASSED                   [ 33%]
tests/test_jinja_globals.py::test_url_param_forbidden_type PASSED        [ 36%]
tests/test_jinja_globals.py::test_helpers_disabled PASSED                [ 40%]
tests/test_jinja_globals.py::test_static PASSED                          [ 43%]
tests/test_jinja_globals.py::test_static_var_missing PASSED              [ 46%]
tests/test_simple_renderer.py::test_func[False] PASSED                   [ 50%]
tests/test_simple_renderer.py::test_func[True] PASSED                    [ 53%]
tests/test_simple_renderer.py::test_render_class_based_view PASSED       [ 56%]
tests/test_simple_renderer.py::test_meth PASSED                          [ 60%]
tests/test_simple_renderer.py::test_convert_func_to_coroutine PASSED     [ 63%]
tests/test_simple_renderer.py::test_render_not_initialized PASSED        [ 66%]
tests/test_simple_renderer.py::test_set_status PASSED                    [ 70%]
tests/test_simple_renderer.py::test_render_template PASSED               [ 73%]
tests/test_simple_renderer.py::test_render_template_async PASSED         [ 76%]
tests/test_simple_renderer.py::test_render_template_custom_status PASSED [ 80%]
tests/test_simple_renderer.py::test_template_not_found PASSED            [ 83%]
tests/test_simple_renderer.py::test_render_not_mapping PASSED            [ 86%]
tests/test_simple_renderer.py::test_render_without_context PASSED        [ 90%]
tests/test_simple_renderer.py::test_render_default_is_autoescaped PASSED [ 93%]
tests/test_simple_renderer.py::test_render_can_disable_autoescape PASSED [ 96%]
tests/test_simple_renderer.py::test_skip_render_for_response_from_handler 
PASSED [100%]

=================================== FAILURES ===================================
___________________________ test_context_processors ____________________________

aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f1f3f19f8a0>

    async def test_context_processors(aiohttp_client):
        @aiohttp_jinja2.template("tmpl.jinja2")
        async def func(request):
            return {"bar": 2}
    
        app = 
web.Application(middlewares=[aiohttp_jinja2.context_processors_middleware])
        aiohttp_jinja2.setup(
            app,
            loader=jinja2.DictLoader(
                {"tmpl.jinja2": "foo: {{ foo }}, bar: {{ bar }}, path: {{ 
request.path }}"}
            ),
        )
    
        async def processor(request: web.Request) -> Dict[str, Union[str, int]]:
            return {"foo": 1, "bar": "should be overwriten"}
    
        f: Tuple[aiohttp_jinja2._ContextProcessor, ...] = (
            aiohttp_jinja2.request_processor,
            processor,
        )
        app[aiohttp_jinja2.APP_CONTEXT_PROCESSORS_KEY] = f
    
        app.router.add_get("/", func)
    
        client = await aiohttp_client(app)
    
        resp = await client.get("/")
>       assert 200 == resp.status
E       AssertionError: assert 200 == 500
E        +  where 500 = <ClientResponse(http://127.0.0.1:40119/) [500 Internal 
Server Error]>\n<CIMultiDictProxy('Content-Type': 'text/plain; charset=utf-8', 
'Content-Length': '55', 'Date': 'Mon, 08 Jun 2026 22:08:05 GMT', 'Server': 
'Python/3.14 aiohttp/3.14.1', 'Connection': 'close')>\n.status

aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f1f3f19f8a0>
app        = <Application 0x7f1f3f4a2e40>
client     = <aiohttp.test_utils.TestClient object at 0x7f1f3f0a02f0>
f          = (<function request_processor at 0x7f1f3f162f00>, <function 
test_context_processors.<locals>.processor at 0x7f1f3f098250>)
func       = <function test_context_processors.<locals>.func at 0x7f1f3f098300>
processor  = <function test_context_processors.<locals>.processor at 
0x7f1f3f098250>
resp       = <ClientResponse(http://127.0.0.1:40119/) [500 Internal Server 
Error]>
<CIMultiDictProxy('Content-Type': 'text/plain; c...ength': '55', 'Date': 'Mon, 
08 Jun 2026 22:08:05 GMT', 'Server': 'Python/3.14 aiohttp/3.14.1', 
'Connection': 'close')>


tests/test_context_processors.py:36: AssertionError
------------------------------ Captured log call -------------------------------
ERROR    aiohttp.server:web_protocol.py:546 Error handling request from 
127.0.0.1
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 575, in 
_handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/web_middlewares.py", line 117, 
in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build/aiohttp_jinja2/__init__.py",
 line 261, in context_processors_middleware
    request[REQUEST_CONTEXT_KEY] = {}
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/web_request.py", line 314, in 
__setitem__
    warnings.warn(
    ~~~~~~~~~~~~~^
        "It is recommended to use web.RequestKey instances for keys.\n"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        stacklevel=2,
        ^^^^^^^^^^^^^
    )
    ^
aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use 
web.RequestKey instances for keys.
https://docs.aiohttp.org/en/stable/web_advanced.html#request-s-storage

---------- coverage: platform linux, python 3.14.5-final-0 -----------
Name                               Stmts   Miss  Cover
------------------------------------------------------
aiohttp_jinja2/__init__.py           118      8    93%
aiohttp_jinja2/helpers.py             36      1    97%
aiohttp_jinja2/typedefs.py             3      0   100%
tests/__init__.py                      0      0   100%
tests/conftest.py                      0      0   100%
tests/test_context_processors.py      81      4    95%
tests/test_jinja_filters.py           17      0   100%
tests/test_jinja_globals.py           98      0   100%
tests/test_simple_renderer.py        187      0   100%
------------------------------------------------------
TOTAL                                540     13    98%

============================= slowest 10 durations =============================
0.01s call     tests/test_context_processors.py::test_context_processors
0.01s call     tests/test_context_processors.py::test_nested_context_processors

(8 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED tests/test_context_processors.py::test_context_processors - AssertionE...
========================= 1 failed, 29 passed in 0.24s =========================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiohttp-jinja2/build; python3.14 -m 
pytest tests
I: pybuild base:385: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build; python3.13 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build
configfile: pytest.ini
plugins: anyio-4.12.1, asyncio-1.4.0, aiohttp-1.1.0, cov-5.0.0, typeguard-4.4.4
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collecting ... collected 30 items

tests/test_context_processors.py::test_context_processors FAILED         [  3%]
tests/test_context_processors.py::test_nested_context_processors PASSED  [  6%]
tests/test_context_processors.py::test_context_is_response PASSED        [ 10%]
tests/test_context_processors.py::test_context_processors_new_setup_style 
PASSED [ 13%]
tests/test_context_processors.py::test_context_not_tainted PASSED        [ 16%]
tests/test_jinja_filters.py::test_jinja_filters PASSED                   [ 20%]
tests/test_jinja_globals.py::test_get_env PASSED                         [ 23%]
tests/test_jinja_globals.py::test_url PASSED                             [ 26%]
tests/test_jinja_globals.py::test_url_with_query PASSED                  [ 30%]
tests/test_jinja_globals.py::test_url_int_param PASSED                   [ 33%]
tests/test_jinja_globals.py::test_url_param_forbidden_type PASSED        [ 36%]
tests/test_jinja_globals.py::test_helpers_disabled PASSED                [ 40%]
tests/test_jinja_globals.py::test_static PASSED                          [ 43%]
tests/test_jinja_globals.py::test_static_var_missing PASSED              [ 46%]
tests/test_simple_renderer.py::test_func[False] PASSED                   [ 50%]
tests/test_simple_renderer.py::test_func[True] PASSED                    [ 53%]
tests/test_simple_renderer.py::test_render_class_based_view PASSED       [ 56%]
tests/test_simple_renderer.py::test_meth PASSED                          [ 60%]
tests/test_simple_renderer.py::test_convert_func_to_coroutine PASSED     [ 63%]
tests/test_simple_renderer.py::test_render_not_initialized PASSED        [ 66%]
tests/test_simple_renderer.py::test_set_status PASSED                    [ 70%]
tests/test_simple_renderer.py::test_render_template PASSED               [ 73%]
tests/test_simple_renderer.py::test_render_template_async PASSED         [ 76%]
tests/test_simple_renderer.py::test_render_template_custom_status PASSED [ 80%]
tests/test_simple_renderer.py::test_template_not_found PASSED            [ 83%]
tests/test_simple_renderer.py::test_render_not_mapping PASSED            [ 86%]
tests/test_simple_renderer.py::test_render_without_context PASSED        [ 90%]
tests/test_simple_renderer.py::test_render_default_is_autoescaped PASSED [ 93%]
tests/test_simple_renderer.py::test_render_can_disable_autoescape PASSED [ 96%]
tests/test_simple_renderer.py::test_skip_render_for_response_from_handler 
PASSED [100%]

=================================== FAILURES ===================================
___________________________ test_context_processors ____________________________

aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f90f28880e0>

    async def test_context_processors(aiohttp_client):
        @aiohttp_jinja2.template("tmpl.jinja2")
        async def func(request):
            return {"bar": 2}
    
        app = 
web.Application(middlewares=[aiohttp_jinja2.context_processors_middleware])
        aiohttp_jinja2.setup(
            app,
            loader=jinja2.DictLoader(
                {"tmpl.jinja2": "foo: {{ foo }}, bar: {{ bar }}, path: {{ 
request.path }}"}
            ),
        )
    
        async def processor(request: web.Request) -> Dict[str, Union[str, int]]:
            return {"foo": 1, "bar": "should be overwriten"}
    
        f: Tuple[aiohttp_jinja2._ContextProcessor, ...] = (
            aiohttp_jinja2.request_processor,
            processor,
        )
        app[aiohttp_jinja2.APP_CONTEXT_PROCESSORS_KEY] = f
    
        app.router.add_get("/", func)
    
        client = await aiohttp_client(app)
    
        resp = await client.get("/")
>       assert 200 == resp.status
E       AssertionError: assert 200 == 500
E        +  where 500 = <ClientResponse(http://127.0.0.1:46341/) [500 Internal 
Server Error]>\n<CIMultiDictProxy('Content-Type': 'text/plain; charset=utf-8', 
'Content-Length': '55', 'Date': 'Mon, 08 Jun 2026 22:08:06 GMT', 'Server': 
'Python/3.13 aiohttp/3.14.1', 'Connection': 'close')>\n.status

aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f90f28880e0>
app        = <Application 0x7f90f2c05d30>
client     = <aiohttp.test_utils.TestClient object at 0x7f90f2c067b0>
f          = (<function request_processor at 0x7f90f2c0be20>, <function 
test_context_processors.<locals>.processor at 0x7f90f28885e0>)
func       = <function test_context_processors.<locals>.func at 0x7f90f28884a0>
processor  = <function test_context_processors.<locals>.processor at 
0x7f90f28885e0>
resp       = <ClientResponse(http://127.0.0.1:46341/) [500 Internal Server 
Error]>
<CIMultiDictProxy('Content-Type': 'text/plain; c...ength': '55', 'Date': 'Mon, 
08 Jun 2026 22:08:06 GMT', 'Server': 'Python/3.13 aiohttp/3.14.1', 
'Connection': 'close')>


tests/test_context_processors.py:36: AssertionError
------------------------------ Captured log call -------------------------------
ERROR    aiohttp.server:web_protocol.py:546 Error handling request from 
127.0.0.1
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 575, in 
_handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/web_middlewares.py", line 117, 
in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build/aiohttp_jinja2/__init__.py",
 line 261, in context_processors_middleware
    request[REQUEST_CONTEXT_KEY] = {}
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/web_request.py", line 314, in 
__setitem__
    warnings.warn(
    ~~~~~~~~~~~~~^
        "It is recommended to use web.RequestKey instances for keys.\n"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        stacklevel=2,
        ^^^^^^^^^^^^^
    )
    ^
aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use 
web.RequestKey instances for keys.
https://docs.aiohttp.org/en/stable/web_advanced.html#request-s-storage

---------- coverage: platform linux, python 3.13.12-final-0 ----------
Name                               Stmts   Miss  Cover
------------------------------------------------------
aiohttp_jinja2/__init__.py           118      8    93%
aiohttp_jinja2/helpers.py             37      1    97%
aiohttp_jinja2/typedefs.py             3      0   100%
tests/__init__.py                      0      0   100%
tests/conftest.py                      0      0   100%
tests/test_context_processors.py      81      4    95%
tests/test_jinja_filters.py           17      0   100%
tests/test_jinja_globals.py           98      0   100%
tests/test_simple_renderer.py        187      0   100%
------------------------------------------------------
TOTAL                                541     13    98%

============================= slowest 10 durations =============================
0.01s call     tests/test_context_processors.py::test_context_processors
0.01s call     tests/test_context_processors.py::test_nested_context_processors

(8 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED tests/test_context_processors.py::test_context_processors - AssertionE...
========================= 1 failed, 29 passed in 0.24s =========================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiohttp-jinja2/build; python3.13 -m 
pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to