Your message dated Sun, 15 Dec 2024 06:49:11 +0000
with message-id <e1tmird-00bz9a...@fasolo.debian.org>
and subject line Bug#1088325: fixed in jinja2 3.1.3-1.1
has caused the Debian Bug report #1088325,
regarding jinja2: autopkgtest failure with Python 3.13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1088325: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088325
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: jinja2
Version: 3.1.3-1
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.13

Hi Maintainer

The autopkgtests of this package fail with Python 3.13 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/j/jinja2/testing/amd64/


51s =================================== FAILURES
===================================
51s ______________________ TestAsyncForLoop.test_loop_errors
_______________________
51s
51s cls = <class '_pytest.runner.CallInfo'>
51s func = <function call_and_report.<locals>.<lambda> at 0x7fcfbba3d6c0>
51s when = 'call'
51s reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
51s
51s @classmethod
51s def from_call(
51s cls,
51s func: Callable[[], TResult],
51s when: Literal["collect", "setup", "call", "teardown"],
51s reraise: type[BaseException] | tuple[type[BaseException], ...] |
None = None,
51s ) -> CallInfo[TResult]:
51s """Call func, wrapping the result in a CallInfo.
51s
51s :param func:
51s The function to call. Called without arguments.
51s :type func: Callable[[], _pytest.runner.TResult]
51s :param when:
51s The phase in which the function is called.
51s :param reraise:
51s Exception or exceptions that shall propagate if raised by the
51s function, instead of being wrapped in the CallInfo.
51s """
51s excinfo = None
51s start = timing.time()
51s precise_start = timing.perf_counter()
51s try:
51s > result: TResult | None = func()
51s
51s /usr/lib/python3/dist-packages/_pytest/runner.py:341:
51s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
51s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda>
51s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
51s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__
51s return self._hookexec(self.name, self._hookimpls.copy(), kwargs,
firstresult)
51s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
51s return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
51s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in
pytest_runtest_call
51s yield from thread_exception_runtest_hook()
51s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in
thread_exception_runtest_hook
51s yield
51s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95:
in pytest_runtest_call
51s yield from unraisable_exception_runtest_hook()
51s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
51s
51s def unraisable_exception_runtest_hook() -> Generator[None]:
51s with catch_unraisable_exception() as cm:
51s try:
51s yield
51s finally:
51s if cm.unraisable:
51s if cm.unraisable.err_msg is not None:
51s err_msg = cm.unraisable.err_msg
51s else:
51s err_msg = "Exception ignored in"
51s msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
51s msg += "".join(
51s traceback.format_exception(
51s cm.unraisable.exc_type,
51s cm.unraisable.exc_value,
51s cm.unraisable.exc_traceback,
51s )
51s )
51s > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
51s E pytest.PytestUnraisableExceptionWarning: Exception ignored in:
<async_generator object auto_aiter at 0x7fcfbba90790>
51s E
51s E Traceback (most recent call last):
51s E File "/usr/lib/python3/dist-packages/_pytest/python_api.py",
line 968, in raises
51s E func(*args[1:], **kwargs)
51s E ~~~~^^^^^^^^^^^^^^^^^^^^^
51s E File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 1291, in render
51s E return loop.run_until_complete(self.render_async(*args, **kwargs))
51s E ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51s E File "/usr/lib/python3.13/asyncio/base_events.py", line 720, in
run_until_complete
51s E return future.result()
51s E ~~~~~~~~~~~~~^^
51s E File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 1324, in render_async
51s E return self.environment.handle_exception()
51s E ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
51s E File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 936, in handle_exception
51s E raise rewrite_traceback_stack(source=source)
51s E File "<template>", line 1, in top-level template code
51s E File "<template>", line 2, in template
51s E File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 485, in getattr
51s E return getattr(obj, attribute)
51s E jinja2.exceptions.UndefinedError: 'loop' is undefined
51s E
51s E During handling of the above exception, another exception occurred:
51s E
51s E Traceback (most recent call last):
51s E File "/usr/lib/python3.13/asyncio/base_events.py", line 745, in close
51s E self._ready.clear()
51s E ~~~~~~~~~~~~~~~~~^^
51s E RuntimeWarning: coroutine method 'aclose' of 'auto_aiter' was
never awaited
51s
51s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85:
PytestUnraisableExceptionWarning

--- End Message ---
--- Begin Message ---
Source: jinja2
Source-Version: 3.1.3-1.1
Done: Adrian Bunk <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
jinja2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <b...@debian.org> (supplier of updated jinja2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 08 Dec 2024 07:59:01 +0200
Source: jinja2
Architecture: source
Version: 3.1.3-1.1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <pi...@debian.org>
Changed-By: Adrian Bunk <b...@debian.org>
Closes: 1070712 1088325
Changes:
 jinja2 (3.1.3-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport fixes for FTBFS with Python 3.13. (Closes: #1088325)
   * CVE-2024-34064: HTML attribute injection (Closes: #1070712)
Checksums-Sha1:
 1fe4976256e3e9f165aeca5c2d2e35b696f2028c 2248 jinja2_3.1.3-1.1.dsc
 a9db54d91b53f76f546afa1414dd015c0574ebeb 268261 jinja2_3.1.3.orig.tar.gz
 39d3b12ab125f8c33dbb7531c1024a59a61080b1 16096 jinja2_3.1.3-1.1.debian.tar.xz
Checksums-Sha256:
 d59b9c6a2c05ed52b5124b7a8bc4a8909bb653f082821f235f8005de9ab2811c 2248 
jinja2_3.1.3-1.1.dsc
 ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90 268261 
jinja2_3.1.3.orig.tar.gz
 e36aeb0b0eea0a7b0679812822e2a7a35417b745c7d98c676cf5b252a3f70f93 16096 
jinja2_3.1.3-1.1.debian.tar.xz
Files:
 4d30bbba145681b06dc0a3ed132a29b2 2248 python optional jinja2_3.1.3-1.1.dsc
 caf5418c851eac59e70a78d9730d4cea 268261 python optional 
jinja2_3.1.3.orig.tar.gz
 3c81d5cc1ab0dae65ff70757fd21965d 16096 python optional 
jinja2_3.1.3-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmdVNxMACgkQiNJCh6LY
mLFPoQ//W6pQrMh+xWjPhIsshEXk3ZeSDDc2mnHCxObP2TIk6nTxuM00HIb+3bxF
c3lqtyMNMv9eV6riqK/XcNqa1K2IpEo6lCHmDYf+sfOvc/StOB/X0lSsfkgiopyS
FwaK4jJ6j7mIrzs6QFLakMKw/0Fs5S+7o+nZ3Aq89ia/TWiXAvqSI0UwIQ7V5+Is
PPOUf+fy5iGmE7bE3bRXwX26GsTG+Bd3vAkq+Jo9l1HOsUKwgXHSQlQZAdqV2Cp0
ZIgBGiE1i+GTrm+Exr7g49MgS4lZlmqbSncusCiyJm1hb5sjF2EAlYCxN+8ysVdn
dgzckSPPvUvXrSlt6iuHiZ42tfvKtBnG5PUxVlmo8UqJFgOyVF49CRhkYpBZx28T
y6KizcWGqD0VwbLS2WKSXWQFAqWxzlKhHBqjtB5Z+8+54AkiTmsItRca/mGCJAQZ
Yt+Yo7Rvf3tHx6UMt8yy7XClw8kOPgDxk8iajSd8G8R+wwlFozbrFo9z1lY606G4
sdB8d0+VIrOXPTswuOwp7pW41wsiStktjbcrGFbV3F655xWqw/rTKlC/wmK6WxnN
SVjV3yhfU6uiNsKw/2kiDvzc29GYqutCXP7hxS4ASyImvqTqsBkiSVleg0BzskN7
0sj9KFbX9c8kDXNwzpYzy3gb8EubR5rgNawY1wyIRRHCZ1buSKs=
=+9e/
-----END PGP SIGNATURE-----

Attachment: pgpHDzvMA47U2.pgp
Description: PGP signature


--- End Message ---

Reply via email to