I've described the failure in the upstream bug report and I am opening this bugzilla to track it. https://github.com/pallets/jinja/issues/1900 In https://copr.fedorainfracloud.org/coprs/g/python/python3.13 I built the package without tests for now, so I don't want to forget that it is not fixed yet.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
Reported to CPython, considering Jinja closed my issue: https://github.com/python/cpython/issues/117536
Fix in https://src.fedoraproject.org/rpms/python-jinja2/pull-request/27
Manually closing as there was a typo in the changelog preventing autoclosure. Sorry about that.