Wed May 22 19:47:56 UTC 2024 I: starting to build aiohttp-jinja2/unstable/i386 on jenkins on '2024-05-22 19:47' Wed May 22 19:47:56 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_14/22673/console.log Wed May 22 19:47:56 UTC 2024 I: Downloading source for unstable/aiohttp-jinja2=1.5.1-1 --2024-05-22 19:47:56-- http://deb.debian.org/debian/pool/main/a/aiohttp-jinja2/aiohttp-jinja2_1.5.1-1.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2180 (2.1K) [text/prs.lines.tag] Saving to: ‘aiohttp-jinja2_1.5.1-1.dsc’ 0K .. 100% 292M=0s 2024-05-22 19:47:56 (292 MB/s) - ‘aiohttp-jinja2_1.5.1-1.dsc’ saved [2180/2180] Wed May 22 19:47:56 UTC 2024 I: aiohttp-jinja2_1.5.1-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: aiohttp-jinja2 Binary: python3-aiohttp-jinja2 Architecture: all Version: 1.5.1-1 Maintainer: Piotr Ożarowski Uploaders: Debian Python Team Homepage: https://github.com/aio-libs/aiohttp_jinja2/ Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/python-team/packages/aiohttp-jinja2 Vcs-Git: https://salsa.debian.org/python-team/packages/aiohttp-jinja2.git Build-Depends: debhelper-compat (= 13), dh-python, python3-aiohttp, python3-all, python3-jinja2, python3-setuptools, python3-pytest, python3-pytest-aiohttp, python3-pytest-cov, python3-anyio, python3-pytest-asyncio Package-List: python3-aiohttp-jinja2 deb python optional arch=all Checksums-Sha1: 28f492633459121888be889119e45d7140f22026 52741 aiohttp-jinja2_1.5.1.orig.tar.gz 95f39c4e1e90f8342df2b277f5ae95336afbad08 1900 aiohttp-jinja2_1.5.1-1.debian.tar.xz Checksums-Sha256: 8d149b2a57d91f794b33a394ea5bc66b567f38c74a5a6a9477afc2450f105c01 52741 aiohttp-jinja2_1.5.1.orig.tar.gz 12d9e003e8b374d04f93d04b6dab84fa42ba2cb81b75e913b1cd3a0bf3dc6fb8 1900 aiohttp-jinja2_1.5.1-1.debian.tar.xz Files: 8f72451a7da006b4b91ef18ec6f75885 52741 aiohttp-jinja2_1.5.1.orig.tar.gz 47ea9d9bbc2b3a3166299550c9b6767b 1900 aiohttp-jinja2_1.5.1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHS+omFjar2IXhi33rvbxoqdFdkUFAmPa0IAACgkQrvbxoqdF dkUoExAAqILyY17Ks1N3GjFMlP+npol1u73TG/kVloor0lQ0qcwqDS1uZY6bK12U 9rpV2v5snOaksMoqPLvG8PqDRGAXcYegSTnxQNZ+ilgnjyslPxx/uMSMTfnsh3WO Ypz59RN4hSvNFzhAssjzQ8ddB9u6hOORgStJziNmp/O5U4FKZtOpM2xf5rFY5XWT /we0INKHddII7No1bWJkMf13w3A5vRc/KTdgMM1VGa71+lo4aSyhjmk1u54PYNe8 w7a6xnHhVa0sNggzssgUdtxQVWwgki4VwkWgmZ9VNKRw6+csxz3hDcm/2sqD9w2H bpgHeIP0YoKs/ZmhZBh5ykZrqsHAcKJPN6KuNO4GtyVe751ZVLwNJso3H0eqx9wb B9wOJnGTl6D8Qta6sb8HT8mHz9s77V2VEql7PHmqwHJVb6VtHzbiG+V/hpYDpwkB +NSLQm39Lw/167e23OOStywarrkmEbwxKRIdTl0pqruRbIKkE2rdYRqVClTUR3Xu 9HXMLeEyc+/2IQFWJ+ku7R/G9yZLC07e67tekcDtW9vVoEmB3H1P+Pkk7gMKuV9P QB/c6iqgInaEwIKjgxfXKJd8JuWAEw4m5+g14bbIOtS3h3VanHbNahHGtc8PAgzG UEjBJfVLtKT+K78xpyf/k3eb2UzB40EyuRoiXOa/XCqqQ/CrdNI= =Mrvq -----END PGP SIGNATURE----- Wed May 22 19:47:56 UTC 2024 I: Checking whether the package is not for us Wed May 22 19:47:56 UTC 2024 I: Starting 1st build on remote node infom08-i386.debian.net. Wed May 22 19:47:56 UTC 2024 I: Preparing to do remote build '1' on infom08-i386.debian.net. Wed May 22 19:48:28 UTC 2024 I: Deleting $TMPDIR on infom08-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Tue Jun 24 14:10:57 -12 2025 I: pbuilder-time-stamp: 1750817457 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [aiohttp-jinja2_1.5.1-1.dsc] I: copying [./aiohttp-jinja2_1.5.1.orig.tar.gz] I: copying [./aiohttp-jinja2_1.5.1-1.debian.tar.xz] I: Extracting source gpgv: Signature made Wed Feb 1 20:50:08 2023 gpgv: using RSA key 1D2FA89858DAAF6217862DF7AEF6F1A2A7457645 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./aiohttp-jinja2_1.5.1-1.dsc: no acceptable signature found dpkg-source: info: extracting aiohttp-jinja2 in aiohttp-jinja2-1.5.1 dpkg-source: info: unpacking aiohttp-jinja2_1.5.1.orig.tar.gz dpkg-source: info: unpacking aiohttp-jinja2_1.5.1-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/11591/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='e9128ddc326249af9da0b7dac80798c2' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='11591' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gP2uK4kF/pbuilderrc_K1kN --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gP2uK4kF/b1 --logfile b1/build.log aiohttp-jinja2_1.5.1-1.dsc' SUDO_GID='111' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' I: uname -a Linux infom08-i386 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 24 14:05 /bin -> usr/bin I: user script /srv/workspace/pbuilder/11591/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-python, python3-aiohttp, python3-all, python3-jinja2, python3-setuptools, python3-pytest, python3-pytest-aiohttp, python3-pytest-cov, python3-anyio, python3-pytest-asyncio dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19703 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on python3-aiohttp; however: Package python3-aiohttp is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-jinja2; however: Package python3-jinja2 is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-aiohttp; however: Package python3-pytest-aiohttp is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-cov; however: Package python3-pytest-cov is not installed. pbuilder-satisfydepends-dummy depends on python3-anyio; however: Package python3-anyio is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-asyncio; however: Package python3-pytest-asyncio is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdata-optlist-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libjs-jquery{a} libjs-jquery-hotkeys{a} libjs-jquery-isonscreen{a} libjs-jquery-metadata{a} libjs-jquery-tablesorter{a} libjs-jquery-throttle-debounce{a} libmagic-mgc{a} libmagic1t64{a} libparams-util-perl{a} libpipeline1{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8t64{a} libsub-exporter-perl{a} libsub-install-perl{a} libsub-override-perl{a} libsub-prototype-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} po-debconf{a} python3{a} python3-aiohttp{a} python3-aiosignal{a} python3-all{a} python3-anyio{a} python3-async-generator{a} python3-async-timeout{a} python3-attr{a} python3-coverage{a} python3-distutils{a} python3-frozenlist{a} python3-idna{a} python3-iniconfig{a} python3-jinja2{a} python3-lib2to3{a} python3-markupsafe{a} python3-minimal{a} python3-multidict{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-pytest{a} python3-pytest-aiohttp{a} python3-pytest-asyncio{a} python3-pytest-cov{a} python3-setuptools{a} python3-sniffio{a} python3-yarl{a} python3.11{a} python3.11-minimal{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx python3-aiodns python3-babel python3-pygments wget 0 packages upgraded, 85 newly installed, 0 to remove and 0 not upgraded. Need to get 33.9 MB of archives. After unpacking 135 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 libpython3.11-minimal i386 3.11.9-1 [817 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 libexpat1 i386 2.6.2-1 [107 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 python3.11-minimal i386 3.11.9-1 [1918 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 python3-minimal i386 3.11.8-1 [26.3 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 media-types all 10.1.0 [26.9 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 netbase all 6.4 [12.8 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 tzdata all 2024a-4 [255 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 readline-common all 8.2-4 [69.3 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 libreadline8t64 i386 8.2-4 [171 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 libpython3.11-stdlib i386 3.11.9-1 [1795 kB] Get: 13 http://deb.debian.org/debian unstable/main i386 python3.11 i386 3.11.9-1 [602 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 libpython3-stdlib i386 3.11.8-1 [9336 B] Get: 15 http://deb.debian.org/debian unstable/main i386 python3 i386 3.11.8-1 [27.4 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 libpython3.12-minimal i386 3.12.3-1 [809 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 python3.12-minimal i386 3.12.3-1 [2224 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.22 [22.4 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3 [314 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3 [114 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3 [42.9 kB] Get: 22 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.21-14+b1 [162 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b1 [69.1 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-4 [1194 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.1-1 [98.5 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.7-2 [39.7 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 man-db i386 2.12.1-1 [1421 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 autoconf all 2.71-3 [332 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 autopoint all 0.21-14 [496 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 34 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-7 [517 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 libparams-util-perl i386 1.102-3 [24.4 kB] Get: 38 http://deb.debian.org/debian unstable/main i386 libsub-install-perl all 0.929-1 [10.5 kB] Get: 39 http://deb.debian.org/debian unstable/main i386 libdata-optlist-perl all 0.114-1 [10.6 kB] Get: 40 http://deb.debian.org/debian unstable/main i386 libsub-exporter-perl all 0.990-1 [50.6 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 libsub-prototype-perl i386 0.03-2+b2 [9756 B] Get: 42 http://deb.debian.org/debian unstable/main i386 libsub-override-perl all 0.11-1 [10.4 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 45 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.191-1+b1 [194 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-4+b1 [9549 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.9.14+dfsg-1.3+b3 [727 kB] Get: 49 http://deb.debian.org/debian unstable/main i386 gettext i386 0.21-14+b1 [1311 kB] Get: 50 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 51 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 debhelper all 13.15.3 [901 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 python3-pkg-resources all 68.1.2-2 [241 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 python3-lib2to3 all 3.12.3-1 [77.6 kB] Get: 55 http://deb.debian.org/debian unstable/main i386 python3-distutils all 3.12.3-1 [131 kB] Get: 56 http://deb.debian.org/debian unstable/main i386 python3-setuptools all 68.1.2-2 [468 kB] Get: 57 http://deb.debian.org/debian unstable/main i386 dh-python all 6.20240422 [107 kB] Get: 58 http://deb.debian.org/debian unstable/main i386 libjs-jquery-isonscreen all 1.2.0-1.1 [3196 B] Get: 59 http://deb.debian.org/debian unstable/main i386 libjs-jquery-metadata all 12-4 [6532 B] Get: 60 http://deb.debian.org/debian unstable/main i386 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [184 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.2 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 libpython3.12-stdlib i386 3.12.3-1 [1945 kB] Get: 63 http://deb.debian.org/debian unstable/main i386 python3-idna all 3.6-2 [37.0 kB] Get: 64 http://deb.debian.org/debian unstable/main i386 python3-multidict i386 6.0.4-1.1 [46.8 kB] Get: 65 http://deb.debian.org/debian unstable/main i386 python3-yarl i386 1.9.4-1 [108 kB] Get: 66 http://deb.debian.org/debian unstable/main i386 python3-async-timeout all 4.0.3-1 [7660 B] Get: 67 http://deb.debian.org/debian unstable/main i386 python3-frozenlist i386 1.4.0-1+b1 [61.2 kB] Get: 68 http://deb.debian.org/debian unstable/main i386 python3-aiosignal all 1.3.1-1 [6016 B] Get: 69 http://deb.debian.org/debian unstable/main i386 python3-attr all 23.2.0-2 [65.5 kB] Get: 70 http://deb.debian.org/debian unstable/main i386 python3-aiohttp i386 3.9.1-1 [377 kB] Get: 71 http://deb.debian.org/debian unstable/main i386 python3.12 i386 3.12.3-1 [659 kB] Get: 72 http://deb.debian.org/debian unstable/main i386 python3-all i386 3.11.8-1 [1056 B] Get: 73 http://deb.debian.org/debian unstable/main i386 python3-sniffio all 1.3.0-2 [7076 B] Get: 74 http://deb.debian.org/debian unstable/main i386 python3-anyio all 4.3.0-1 [56.5 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 python3-async-generator all 1.10-4 [17.4 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 python3-coverage i386 7.2.7+dfsg1-1+b1 [170 kB] Get: 77 http://deb.debian.org/debian unstable/main i386 python3-iniconfig all 1.1.1-2 [6396 B] Get: 78 http://deb.debian.org/debian unstable/main i386 python3-markupsafe i386 2.1.5-1 [14.4 kB] Get: 79 http://deb.debian.org/debian unstable/main i386 python3-jinja2 all 3.1.3-1 [119 kB] Get: 80 http://deb.debian.org/debian unstable/main i386 python3-packaging all 24.0-1 [45.5 kB] Get: 81 http://deb.debian.org/debian unstable/main i386 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 82 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.1.2-1 [246 kB] Get: 83 http://deb.debian.org/debian unstable/main i386 python3-pytest-asyncio all 0.20.3-1.2 [13.3 kB] Get: 84 http://deb.debian.org/debian unstable/main i386 python3-pytest-aiohttp all 1.0.5-1 [5676 B] Get: 85 http://deb.debian.org/debian unstable/main i386 python3-pytest-cov all 5.0.0-1 [26.8 kB] Fetched 33.9 MB in 0s (81.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libjs-jquery. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19703 files and directories currently installed.) Preparing to unpack .../libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-jquery-hotkeys. Preparing to unpack .../libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... Selecting previously unselected package libpython3.11-minimal:i386. Preparing to unpack .../libpython3.11-minimal_3.11.9-1_i386.deb ... Unpacking libpython3.11-minimal:i386 (3.11.9-1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../libexpat1_2.6.2-1_i386.deb ... Unpacking libexpat1:i386 (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.9-1_i386.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:i386 (3.11.9-1) ... Setting up libexpat1:i386 (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20045 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_i386.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-4_all.deb ... Unpacking tzdata (2024a-4) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:i386. Preparing to unpack .../5-libreadline8t64_8.2-4_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8 to /lib/i386-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8.2 to /lib/i386-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8 to /lib/i386-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8.2 to /lib/i386-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:i386 (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:i386. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_i386.deb ... Unpacking libpython3.11-stdlib:i386 (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_i386.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.11.8-1) ... Setting up python3-minimal (3.11.8-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21037 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_i386.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:i386. Preparing to unpack .../01-libpython3.12-minimal_3.12.3-1_i386.deb ... Unpacking libpython3.12-minimal:i386 (3.12.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.3-1_i386.deb ... Unpacking python3.12-minimal (3.12.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3_i386.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3_i386.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14+b1_i386.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../08-libuchardet0_0.0.8-1+b1_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-4_i386.deb ... Unpacking groff-base (1.23.0-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40.1-1_i386.deb ... Unpacking bsdextrautils (2.40.1-1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../11-libpipeline1_1.5.7-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.1-1_i386.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_i386.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../18-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libparams-util-perl. Preparing to unpack .../22-libparams-util-perl_1.102-3_i386.deb ... Unpacking libparams-util-perl (1.102-3) ... Selecting previously unselected package libsub-install-perl. Preparing to unpack .../23-libsub-install-perl_0.929-1_all.deb ... Unpacking libsub-install-perl (0.929-1) ... Selecting previously unselected package libdata-optlist-perl. Preparing to unpack .../24-libdata-optlist-perl_0.114-1_all.deb ... Unpacking libdata-optlist-perl (0.114-1) ... Selecting previously unselected package libsub-exporter-perl. Preparing to unpack .../25-libsub-exporter-perl_0.990-1_all.deb ... Unpacking libsub-exporter-perl (0.990-1) ... Selecting previously unselected package libsub-prototype-perl. Preparing to unpack .../26-libsub-prototype-perl_0.03-2+b2_i386.deb ... Unpacking libsub-prototype-perl (0.03-2+b2) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../27-libsub-override-perl_0.11-1_all.deb ... Unpacking libsub-override-perl (0.11-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../28-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../29-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1t64:i386. Preparing to unpack .../30-libelf1t64_0.191-1+b1_i386.deb ... Unpacking libelf1t64:i386 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../31-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../32-libicu72_72.1-4+b1_i386.deb ... Unpacking libicu72:i386 (72.1-4+b1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../33-libxml2_2.9.14+dfsg-1.3+b3_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.3+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../34-gettext_0.21-14+b1_i386.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../35-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../36-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../37-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../38-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../39-python3-lib2to3_3.12.3-1_all.deb ... Unpacking python3-lib2to3 (3.12.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../40-python3-distutils_3.12.3-1_all.deb ... Unpacking python3-distutils (3.12.3-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../41-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../42-dh-python_6.20240422_all.deb ... Unpacking dh-python (6.20240422) ... Selecting previously unselected package libjs-jquery-isonscreen. Preparing to unpack .../43-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... Selecting previously unselected package libjs-jquery-metadata. Preparing to unpack .../44-libjs-jquery-metadata_12-4_all.deb ... Unpacking libjs-jquery-metadata (12-4) ... Selecting previously unselected package libjs-jquery-tablesorter. Preparing to unpack .../45-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Selecting previously unselected package libjs-jquery-throttle-debounce. Preparing to unpack .../46-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Selecting previously unselected package libpython3.12-stdlib:i386. Preparing to unpack .../47-libpython3.12-stdlib_3.12.3-1_i386.deb ... Unpacking libpython3.12-stdlib:i386 (3.12.3-1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../48-python3-idna_3.6-2_all.deb ... Unpacking python3-idna (3.6-2) ... Selecting previously unselected package python3-multidict. Preparing to unpack .../49-python3-multidict_6.0.4-1.1_i386.deb ... Unpacking python3-multidict (6.0.4-1.1) ... Selecting previously unselected package python3-yarl. Preparing to unpack .../50-python3-yarl_1.9.4-1_i386.deb ... Unpacking python3-yarl (1.9.4-1) ... Selecting previously unselected package python3-async-timeout. Preparing to unpack .../51-python3-async-timeout_4.0.3-1_all.deb ... Unpacking python3-async-timeout (4.0.3-1) ... Selecting previously unselected package python3-frozenlist. Preparing to unpack .../52-python3-frozenlist_1.4.0-1+b1_i386.deb ... Unpacking python3-frozenlist (1.4.0-1+b1) ... Selecting previously unselected package python3-aiosignal. Preparing to unpack .../53-python3-aiosignal_1.3.1-1_all.deb ... Unpacking python3-aiosignal (1.3.1-1) ... Selecting previously unselected package python3-attr. Preparing to unpack .../54-python3-attr_23.2.0-2_all.deb ... Unpacking python3-attr (23.2.0-2) ... Selecting previously unselected package python3-aiohttp. Preparing to unpack .../55-python3-aiohttp_3.9.1-1_i386.deb ... Unpacking python3-aiohttp (3.9.1-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../56-python3.12_3.12.3-1_i386.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../57-python3-all_3.11.8-1_i386.deb ... Unpacking python3-all (3.11.8-1) ... Selecting previously unselected package python3-sniffio. Preparing to unpack .../58-python3-sniffio_1.3.0-2_all.deb ... Unpacking python3-sniffio (1.3.0-2) ... Selecting previously unselected package python3-anyio. Preparing to unpack .../59-python3-anyio_4.3.0-1_all.deb ... Unpacking python3-anyio (4.3.0-1) ... Selecting previously unselected package python3-async-generator. Preparing to unpack .../60-python3-async-generator_1.10-4_all.deb ... Unpacking python3-async-generator (1.10-4) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../61-python3-coverage_7.2.7+dfsg1-1+b1_i386.deb ... Unpacking python3-coverage (7.2.7+dfsg1-1+b1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../62-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../63-python3-markupsafe_2.1.5-1_i386.deb ... Unpacking python3-markupsafe (2.1.5-1) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../64-python3-jinja2_3.1.3-1_all.deb ... Unpacking python3-jinja2 (3.1.3-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../65-python3-packaging_24.0-1_all.deb ... Unpacking python3-packaging (24.0-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../66-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../67-python3-pytest_8.1.2-1_all.deb ... Unpacking python3-pytest (8.1.2-1) ... Selecting previously unselected package python3-pytest-asyncio. Preparing to unpack .../68-python3-pytest-asyncio_0.20.3-1.2_all.deb ... Unpacking python3-pytest-asyncio (0.20.3-1.2) ... Selecting previously unselected package python3-pytest-aiohttp. Preparing to unpack .../69-python3-pytest-aiohttp_1.0.5-1_all.deb ... Unpacking python3-pytest-aiohttp (1.0.5-1) ... Selecting previously unselected package python3-pytest-cov. Preparing to unpack .../70-python3-pytest-cov_5.0.0-1_all.deb ... Unpacking python3-pytest-cov (5.0.0-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:i386 (1.5.7-2) ... Setting up libicu72:i386 (72.1-4+b1) ... Setting up bsdextrautils (2.40.1-1) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:i386 (1:5.45-3) ... Setting up libpython3.12-minimal:i386 (3.12.3-1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Setting up libsub-install-perl (0.929-1) ... Setting up libelf1t64:i386 (0.191-1+b1) ... Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' Local time is now: Wed Jun 25 02:11:11 UTC 2025. Universal Time is now: Wed Jun 25 02:11:11 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-14) ... Setting up libparams-util-perl (1.102-3) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:i386 (0.0.8-1+b1) ... Setting up netbase (6.4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:i386 (2.9.14+dfsg-1.3+b3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.12-minimal (3.12.3-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libjs-jquery-metadata (12-4) ... Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... Setting up libdata-optlist-perl (0.114-1) ... Setting up libreadline8t64:i386 (8.2-4) ... Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Setting up groff-base (1.23.0-4) ... Setting up libsub-exporter-perl (0.990-1) ... Setting up libpython3.12-stdlib:i386 (3.12.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:i386 (3.11.9-1) ... Setting up python3.12 (3.12.3-1) ... Setting up libsub-prototype-perl (0.03-2+b2) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libsub-override-perl (0.11-1) ... Setting up libpython3-stdlib:i386 (3.11.8-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.11 (3.11.9-1) ... Setting up python3 (3.11.8-1) ... Setting up python3-markupsafe (2.1.5-1) ... Setting up python3-multidict (6.0.4-1.1) ... Setting up python3-frozenlist (1.4.0-1+b1) ... Setting up python3-aiosignal (1.3.1-1) ... Setting up python3-async-timeout (4.0.3-1) ... Setting up python3-jinja2 (3.1.3-1) ... Setting up python3-packaging (24.0-1) ... Setting up python3-idna (3.6-2) ... Setting up python3-pluggy (1.5.0-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up python3-lib2to3 (3.12.3-1) ... Setting up python3-yarl (1.9.4-1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.3-1) ... python3.12: can't get files for byte-compilation Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-sniffio (1.3.0-2) ... Setting up python3-attr (23.2.0-2) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3-async-generator (1.10-4) ... Setting up python3-anyio (4.3.0-1) ... Setting up python3-pytest (8.1.2-1) ... Setting up python3-aiohttp (3.9.1-1) ... Setting up python3-all (3.11.8-1) ... Setting up python3-coverage (7.2.7+dfsg1-1+b1) ... Setting up debhelper (13.15.3) ... Setting up python3-pytest-cov (5.0.0-1) ... Setting up python3-pytest-asyncio (0.20.3-1.2) ... Setting up dh-python (6.20240422) ... Setting up python3-pytest-aiohttp (1.0.5-1) ... Processing triggers for libc-bin (2.38-11) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/aiohttp-jinja2-1.5.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../aiohttp-jinja2_1.5.1-1_source.changes dpkg-buildpackage: info: source package aiohttp-jinja2 dpkg-buildpackage: info: source version 1.5.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Piotr Ożarowski dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 dpkg-source: info: using options from aiohttp-jinja2-1.5.1/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ fakeroot debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:311: python3.12 setup.py clean running clean removing '/build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build' (and everything under it) 'build/bdist.linux-i686' does not exist -- can't clean it 'build/scripts-3.12' does not exist -- can't clean it I: pybuild base:311: python3.11 setup.py clean running clean removing '/build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build' (and everything under it) 'build/bdist.linux-i686' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules build dh build --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:311: python3.12 setup.py config running config I: pybuild base:311: python3.11 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.12 setup.py build running build running build_py creating /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build/aiohttp_jinja2 copying aiohttp_jinja2/typedefs.py -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build/aiohttp_jinja2 copying aiohttp_jinja2/__init__.py -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build/aiohttp_jinja2 copying aiohttp_jinja2/helpers.py -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_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 files found matching 'pytest.ini' 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 -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build/aiohttp_jinja2 I: pybuild base:311: /usr/bin/python3 setup.py build running build running build_py creating /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build/aiohttp_jinja2 copying aiohttp_jinja2/typedefs.py -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build/aiohttp_jinja2 copying aiohttp_jinja2/__init__.py -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build/aiohttp_jinja2 copying aiohttp_jinja2/helpers.py -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_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 files found matching 'pytest.ini' 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 -> /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build/aiohttp_jinja2 dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build; python3.12 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.5.0 rootdir: /build/reproducible-path/aiohttp-jinja2-1.5.1 configfile: setup.cfg plugins: anyio-4.3.0, cov-5.0.0, aiohttp-1.0.5, asyncio-0.20.3 asyncio: mode=Mode.AUTO collected 30 items tests/test_context_processors.py FFFFF [ 16%] tests/test_jinja_filters.py F [ 20%] tests/test_jinja_globals.py FFFFFFFF [ 46%] tests/test_simple_renderer.py FFFFF.FFFFFFFFFF [100%] =================================== FAILURES =================================== ___________________________ test_context_processors ____________________________ aiohttp_client = .go at 0xf60b8168> 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 }}"} ), ) tests/test_context_processors.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ________________________ test_nested_context_processors ________________________ aiohttp_client = .go at 0xf6093d48> async def test_nested_context_processors(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"bar": 2} subapp = web.Application(middlewares=[aiohttp_jinja2.context_processors_middleware]) > aiohttp_jinja2.setup( subapp, loader=jinja2.DictLoader( { "tmpl.jinja2": "foo: {{ foo }}, bar: {{ bar }}, " "baz: {{ baz }}, path: {{ request.path }}" } ), ) tests/test_context_processors.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_context_is_response ___________________________ aiohttp_client = .go at 0xf60b8488> async def test_context_is_response(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): raise web.HTTPForbidden() app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "template"})) tests/test_context_processors.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________ test_context_processors_new_setup_style ____________________ aiohttp_client = .go at 0xf60d4bb8> async def test_context_processors_new_setup_style(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"bar": 2} async def processor(request): return {"foo": 1, "bar": "should be overwriten"} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader( { "tmpl.jinja2": "foo: {{ foo }}, bar: {{ bar }}, " "path: {{ request.path }}" } ), context_processors=(aiohttp_jinja2.request_processor, processor), ) tests/test_context_processors.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_context_not_tainted ___________________________ aiohttp_client = .go at 0xf60d4438> async def test_context_not_tainted(aiohttp_client): global_context = {"version": 1} @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return global_context async def processor(request): return {"foo": 1} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "foo: {{ foo }}"}), context_processors=[processor], ) tests/test_context_processors.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________________ test_jinja_filters ______________________________ aiohttp_client = .go at 0xf60d4578> async def test_jinja_filters(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} def add_2(value): return value + 2 app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ 5|add_2 }}"}), filters={"add_2": add_2}, ) tests/test_jinja_filters.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________________ test_get_env _________________________________ def test_get_env(): app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "tmpl"})) tests/test_jinja_globals.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________________ test_url ___________________________________ aiohttp_client = .go at 0xf60d47f8> async def test_url(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} async def other(request): return app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('other', name='John_Doe')}}"}), ) tests/test_jinja_globals.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _____________________________ test_url_with_query ______________________________ aiohttp_client = .go at 0xf60d45c8> async def test_url_with_query(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader( {"tmpl.jinja2": "{{ url('index', query_={'foo': 'bar'})}}"} ), ) tests/test_jinja_globals.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________________ test_url_int_param ______________________________ aiohttp_client = .go at 0xf60d4b68> async def test_url_int_param(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} async def other(request): return app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('other', arg=1)}}"}) ) tests/test_jinja_globals.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ________________________ test_url_param_forbidden_type _________________________ aiohttp_client = .go at 0xf6075168> async def test_url_param_forbidden_type(aiohttp_client): async def index(request): with pytest.raises( TypeError, match=( r"argument value should be str or int, " r"got arg -> \[\] True" ), ): aiohttp_jinja2.render_template("tmpl.jinja2", request, {}) return web.Response() async def other(request): return app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('other', arg=True)}}"}) ) tests/test_jinja_globals.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ____________________________ test_helpers_disabled _____________________________ aiohttp_client = .go at 0xf60d4258> async def test_helpers_disabled(aiohttp_client): async def index(request): with pytest.raises(jinja2.UndefinedError, match="'url' is undefined"): aiohttp_jinja2.render_template("tmpl.jinja2", request, {}) return web.Response() app = web.Application() > aiohttp_jinja2.setup( app, default_helpers=False, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('index')}}"}), ) tests/test_jinja_globals.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________________ test_static __________________________________ aiohttp_client = .go at 0xf6075b18> async def test_static(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ static('whatever.js') }}"}) ) tests/test_jinja_globals.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_static_var_missing ____________________________ aiohttp_client = .go at 0xf6075e38> caplog = <_pytest.logging.LogCaptureFixture object at 0xf609ec78> async def test_static_var_missing(aiohttp_client, caplog): async def index(request): with pytest.raises(RuntimeError, match="static_root_url"): aiohttp_jinja2.render_template("tmpl.jinja2", request, {}) return web.Response() app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ static('whatever.js') }}"}) ) tests/test_jinja_globals.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _______________________________ test_func[False] _______________________________ aiohttp_client = .go at 0xf6075898> enable_async = False @pytest.mark.parametrize("enable_async", (False, True)) async def test_func(aiohttp_client, enable_async): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request: web.Request) -> Dict[str, str]: return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup( app, enable_async=enable_async, loader=jinja2.DictLoader({"tmpl.jinja2": template}), ) tests/test_simple_renderer.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _______________________________ test_func[True] ________________________________ aiohttp_client = .go at 0xf60d4b68> enable_async = True @pytest.mark.parametrize("enable_async", (False, True)) async def test_func(aiohttp_client, enable_async): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request: web.Request) -> Dict[str, str]: return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup( app, enable_async=enable_async, loader=jinja2.DictLoader({"tmpl.jinja2": template}), ) tests/test_simple_renderer.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________ test_render_class_based_view _________________________ aiohttp_client = .go at 0xf609fb68> async def test_render_class_based_view(aiohttp_client): class MyView(web.View): @aiohttp_jinja2.template("tmpl.jinja2") async def get(self) -> Dict[str, str]: return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning __________________________________ test_meth ___________________________________ aiohttp_client = .go at 0xf609fed8> async def test_meth(aiohttp_client): class Handler: @aiohttp_jinja2.template("tmpl.jinja2") async def meth(self, request): return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" handler = Handler() app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ________________________ test_convert_func_to_coroutine ________________________ aiohttp_client = .go at 0xf609f4d8> async def test_convert_func_to_coroutine(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _______________________________ test_set_status ________________________________ aiohttp_client = .go at 0xf609f208> async def test_set_status(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2", status=201) async def func(request): return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _____________________________ test_render_template _____________________________ aiohttp_client = .go at 0xf609f898> async def test_render_template(aiohttp_client): async def func(request): return aiohttp_jinja2.render_template( "tmpl.jinja2", request, {"head": "HEAD", "text": "text"} ) > await _test_render_template(func, aiohttp_client, enable_async=False) tests/test_simple_renderer.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_simple_renderer.py:147: in _test_render_template aiohttp_jinja2.setup( aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning __________________________ test_render_template_async __________________________ aiohttp_client = .go at 0xf6021118> async def test_render_template_async(aiohttp_client): async def func(request): return await aiohttp_jinja2.render_template_async( "tmpl.jinja2", request, {"head": "HEAD", "text": "text"} ) > await _test_render_template(func, aiohttp_client, enable_async=True) tests/test_simple_renderer.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_simple_renderer.py:147: in _test_render_template aiohttp_jinja2.setup( aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________ test_render_template_custom_status ______________________ aiohttp_client = .go at 0xf6021ca8> async def test_render_template_custom_status(aiohttp_client): async def func(request): return aiohttp_jinja2.render_template( "tmpl.jinja2", request, {"head": "HEAD", "text": "text"}, status=404 ) template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_template_not_found ____________________________ async def test_template_not_found(): async def func(request: web.Request) -> web.Response: return aiohttp_jinja2.render_template("template", request, {}) app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({})) tests/test_simple_renderer.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_render_not_mapping ____________________________ async def test_render_not_mapping(): @aiohttp_jinja2.template("tmpl.jinja2") # type: ignore[arg-type] async def func(request: web.Request) -> int: return 123 app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "tmpl"})) tests/test_simple_renderer.py:229: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________ test_render_without_context __________________________ aiohttp_client = .go at 0xf6021e88> async def test_render_without_context(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): pass template = "

{{text}}

" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________ test_render_default_is_autoescaped ______________________ aiohttp_client = .go at 0xf6021a78> async def test_render_default_is_autoescaped(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"text": ""} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{text}}"}) ) tests/test_simple_renderer.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________ test_render_can_disable_autoescape ______________________ aiohttp_client = .go at 0xf6021618> async def test_render_can_disable_autoescape(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"text": ""} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{text}}"}), autoescape=False, ) tests/test_simple_renderer.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning __________________ test_skip_render_for_response_from_handler __________________ aiohttp_client = .go at 0xf6021e88> async def test_skip_render_for_response_from_handler(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return web.Response(text="OK") app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{text}}"})) tests/test_simple_renderer.py:309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ---------- coverage: platform linux, python 3.12.3-final-0 ----------- Name Stmts Miss Cover ------------------------------------------------ aiohttp_jinja2/__init__.py 119 50 58% aiohttp_jinja2/helpers.py 35 21 40% aiohttp_jinja2/typedefs.py 3 0 100% ------------------------------------------------ TOTAL 157 71 55% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml =========================== short test summary info ============================ FAILED tests/test_context_processors.py::test_context_processors - aiohttp.we... FAILED tests/test_context_processors.py::test_nested_context_processors - aio... FAILED tests/test_context_processors.py::test_context_is_response - aiohttp.w... FAILED tests/test_context_processors.py::test_context_processors_new_setup_style FAILED tests/test_context_processors.py::test_context_not_tainted - aiohttp.w... FAILED tests/test_jinja_filters.py::test_jinja_filters - aiohttp.web_exceptio... FAILED tests/test_jinja_globals.py::test_get_env - aiohttp.web_exceptions.Not... FAILED tests/test_jinja_globals.py::test_url - aiohttp.web_exceptions.NotAppK... FAILED tests/test_jinja_globals.py::test_url_with_query - aiohttp.web_excepti... FAILED tests/test_jinja_globals.py::test_url_int_param - aiohttp.web_exceptio... FAILED tests/test_jinja_globals.py::test_url_param_forbidden_type - aiohttp.w... FAILED tests/test_jinja_globals.py::test_helpers_disabled - aiohttp.web_excep... FAILED tests/test_jinja_globals.py::test_static - aiohttp.web_exceptions.NotA... FAILED tests/test_jinja_globals.py::test_static_var_missing - aiohttp.web_exc... FAILED tests/test_simple_renderer.py::test_func[False] - aiohttp.web_exceptio... FAILED tests/test_simple_renderer.py::test_func[True] - aiohttp.web_exception... FAILED tests/test_simple_renderer.py::test_render_class_based_view - aiohttp.... FAILED tests/test_simple_renderer.py::test_meth - aiohttp.web_exceptions.NotA... FAILED tests/test_simple_renderer.py::test_convert_func_to_coroutine - aiohtt... FAILED tests/test_simple_renderer.py::test_set_status - aiohttp.web_exception... FAILED tests/test_simple_renderer.py::test_render_template - aiohttp.web_exce... FAILED tests/test_simple_renderer.py::test_render_template_async - aiohttp.we... FAILED tests/test_simple_renderer.py::test_render_template_custom_status - ai... FAILED tests/test_simple_renderer.py::test_template_not_found - aiohttp.web_e... FAILED tests/test_simple_renderer.py::test_render_not_mapping - aiohttp.web_e... FAILED tests/test_simple_renderer.py::test_render_without_context - aiohttp.w... FAILED tests/test_simple_renderer.py::test_render_default_is_autoescaped - ai... FAILED tests/test_simple_renderer.py::test_render_can_disable_autoescape - ai... FAILED tests/test_simple_renderer.py::test_skip_render_for_response_from_handler ========================= 29 failed, 1 passed in 1.03s ========================= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.12_aiohttp-jinja2/build; python3.12 -m pytest tests I: pybuild base:311: cd /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build; python3.11 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-8.1.2, pluggy-1.5.0 rootdir: /build/reproducible-path/aiohttp-jinja2-1.5.1 configfile: setup.cfg plugins: anyio-4.3.0, cov-5.0.0, aiohttp-1.0.5, asyncio-0.20.3 asyncio: mode=Mode.AUTO collected 30 items tests/test_context_processors.py FFFFF [ 16%] tests/test_jinja_filters.py F [ 20%] tests/test_jinja_globals.py FFFFFFFF [ 46%] tests/test_simple_renderer.py FFFFF.FFFFFFFFFF [100%] =================================== FAILURES =================================== ___________________________ test_context_processors ____________________________ aiohttp_client = .go at 0xf6154618> 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 }}"} ), ) tests/test_context_processors.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ________________________ test_nested_context_processors ________________________ aiohttp_client = .go at 0xf609e6b8> async def test_nested_context_processors(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"bar": 2} subapp = web.Application(middlewares=[aiohttp_jinja2.context_processors_middleware]) > aiohttp_jinja2.setup( subapp, loader=jinja2.DictLoader( { "tmpl.jinja2": "foo: {{ foo }}, bar: {{ bar }}, " "baz: {{ baz }}, path: {{ request.path }}" } ), ) tests/test_context_processors.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_context_is_response ___________________________ aiohttp_client = .go at 0xf609e898> async def test_context_is_response(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): raise web.HTTPForbidden() app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "template"})) tests/test_context_processors.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________ test_context_processors_new_setup_style ____________________ aiohttp_client = .go at 0xf609eed8> async def test_context_processors_new_setup_style(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"bar": 2} async def processor(request): return {"foo": 1, "bar": "should be overwriten"} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader( { "tmpl.jinja2": "foo: {{ foo }}, bar: {{ bar }}, " "path: {{ request.path }}" } ), context_processors=(aiohttp_jinja2.request_processor, processor), ) tests/test_context_processors.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_context_not_tainted ___________________________ aiohttp_client = .go at 0xf60eb2a8> async def test_context_not_tainted(aiohttp_client): global_context = {"version": 1} @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return global_context async def processor(request): return {"foo": 1} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "foo: {{ foo }}"}), context_processors=[processor], ) tests/test_context_processors.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________________ test_jinja_filters ______________________________ aiohttp_client = .go at 0xf60eb708> async def test_jinja_filters(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} def add_2(value): return value + 2 app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ 5|add_2 }}"}), filters={"add_2": add_2}, ) tests/test_jinja_filters.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________________ test_get_env _________________________________ def test_get_env(): app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "tmpl"})) tests/test_jinja_globals.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________________ test_url ___________________________________ aiohttp_client = .go at 0xf60ebb68> async def test_url(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} async def other(request): return app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('other', name='John_Doe')}}"}), ) tests/test_jinja_globals.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _____________________________ test_url_with_query ______________________________ aiohttp_client = .go at 0xf60ebf78> async def test_url_with_query(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader( {"tmpl.jinja2": "{{ url('index', query_={'foo': 'bar'})}}"} ), ) tests/test_jinja_globals.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________________ test_url_int_param ______________________________ aiohttp_client = .go at 0xf60ebb68> async def test_url_int_param(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} async def other(request): return app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('other', arg=1)}}"}) ) tests/test_jinja_globals.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ________________________ test_url_param_forbidden_type _________________________ aiohttp_client = .go at 0xf609ebb8> async def test_url_param_forbidden_type(aiohttp_client): async def index(request): with pytest.raises( TypeError, match=( r"argument value should be str or int, " r"got arg -> \[\] True" ), ): aiohttp_jinja2.render_template("tmpl.jinja2", request, {}) return web.Response() async def other(request): return app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('other', arg=True)}}"}) ) tests/test_jinja_globals.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ____________________________ test_helpers_disabled _____________________________ aiohttp_client = .go at 0xf61549d8> async def test_helpers_disabled(aiohttp_client): async def index(request): with pytest.raises(jinja2.UndefinedError, match="'url' is undefined"): aiohttp_jinja2.render_template("tmpl.jinja2", request, {}) return web.Response() app = web.Application() > aiohttp_jinja2.setup( app, default_helpers=False, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ url('index')}}"}), ) tests/test_jinja_globals.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________________ test_static __________________________________ aiohttp_client = .go at 0xf60eeac8> async def test_static(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def index(request): return {} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ static('whatever.js') }}"}) ) tests/test_jinja_globals.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_static_var_missing ____________________________ aiohttp_client = .go at 0xf60eef78> caplog = <_pytest.logging.LogCaptureFixture object at 0xf6188d30> async def test_static_var_missing(aiohttp_client, caplog): async def index(request): with pytest.raises(RuntimeError, match="static_root_url"): aiohttp_jinja2.render_template("tmpl.jinja2", request, {}) return web.Response() app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{ static('whatever.js') }}"}) ) tests/test_jinja_globals.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _______________________________ test_func[False] _______________________________ aiohttp_client = .go at 0xf60ee438> enable_async = False @pytest.mark.parametrize("enable_async", (False, True)) async def test_func(aiohttp_client, enable_async): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request: web.Request) -> Dict[str, str]: return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup( app, enable_async=enable_async, loader=jinja2.DictLoader({"tmpl.jinja2": template}), ) tests/test_simple_renderer.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _______________________________ test_func[True] ________________________________ aiohttp_client = .go at 0xf60e8988> enable_async = True @pytest.mark.parametrize("enable_async", (False, True)) async def test_func(aiohttp_client, enable_async): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request: web.Request) -> Dict[str, str]: return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup( app, enable_async=enable_async, loader=jinja2.DictLoader({"tmpl.jinja2": template}), ) tests/test_simple_renderer.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________ test_render_class_based_view _________________________ aiohttp_client = .go at 0xf60e8de8> async def test_render_class_based_view(aiohttp_client): class MyView(web.View): @aiohttp_jinja2.template("tmpl.jinja2") async def get(self) -> Dict[str, str]: return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning __________________________________ test_meth ___________________________________ aiohttp_client = .go at 0xf60e8c08> async def test_meth(aiohttp_client): class Handler: @aiohttp_jinja2.template("tmpl.jinja2") async def meth(self, request): return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" handler = Handler() app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ________________________ test_convert_func_to_coroutine ________________________ aiohttp_client = .go at 0xf609dde8> async def test_convert_func_to_coroutine(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _______________________________ test_set_status ________________________________ aiohttp_client = .go at 0xf609dac8> async def test_set_status(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2", status=201) async def func(request): return {"head": "HEAD", "text": "text"} template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _____________________________ test_render_template _____________________________ aiohttp_client = .go at 0xf609da28> async def test_render_template(aiohttp_client): async def func(request): return aiohttp_jinja2.render_template( "tmpl.jinja2", request, {"head": "HEAD", "text": "text"} ) > await _test_render_template(func, aiohttp_client, enable_async=False) tests/test_simple_renderer.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_simple_renderer.py:147: in _test_render_template aiohttp_jinja2.setup( aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning __________________________ test_render_template_async __________________________ aiohttp_client = .go at 0xf61508e8> async def test_render_template_async(aiohttp_client): async def func(request): return await aiohttp_jinja2.render_template_async( "tmpl.jinja2", request, {"head": "HEAD", "text": "text"} ) > await _test_render_template(func, aiohttp_client, enable_async=True) tests/test_simple_renderer.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_simple_renderer.py:147: in _test_render_template aiohttp_jinja2.setup( aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________ test_render_template_custom_status ______________________ aiohttp_client = .go at 0xf60e8ac8> async def test_render_template_custom_status(aiohttp_client): async def func(request): return aiohttp_jinja2.render_template( "tmpl.jinja2", request, {"head": "HEAD", "text": "text"}, status=404 ) template = "

{{head}}

{{text}}" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_template_not_found ____________________________ async def test_template_not_found(): async def func(request: web.Request) -> web.Response: return aiohttp_jinja2.render_template("template", request, {}) app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({})) tests/test_simple_renderer.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ___________________________ test_render_not_mapping ____________________________ async def test_render_not_mapping(): @aiohttp_jinja2.template("tmpl.jinja2") # type: ignore[arg-type] async def func(request: web.Request) -> int: return 123 app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "tmpl"})) tests/test_simple_renderer.py:229: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning _________________________ test_render_without_context __________________________ aiohttp_client = .go at 0xf60ebf78> async def test_render_without_context(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): pass template = "

{{text}}

" app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": template})) tests/test_simple_renderer.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________ test_render_default_is_autoescaped ______________________ aiohttp_client = .go at 0xf60b7c58> async def test_render_default_is_autoescaped(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"text": ""} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{text}}"}) ) tests/test_simple_renderer.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ______________________ test_render_can_disable_autoescape ______________________ aiohttp_client = .go at 0xf60b7e38> async def test_render_can_disable_autoescape(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return {"text": ""} app = web.Application() > aiohttp_jinja2.setup( app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{text}}"}), autoescape=False, ) tests/test_simple_renderer.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning __________________ test_skip_render_for_response_from_handler __________________ aiohttp_client = .go at 0xf60b7988> async def test_skip_render_for_response_from_handler(aiohttp_client): @aiohttp_jinja2.template("tmpl.jinja2") async def func(request): return web.Response(text="OK") app = web.Application() > aiohttp_jinja2.setup(app, loader=jinja2.DictLoader({"tmpl.jinja2": "{{text}}"})) tests/test_simple_renderer.py:309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiohttp_jinja2/__init__.py:82: in setup app[app_key] = env _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , key = 'aiohttp_jinja2_environment' value = def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: self._check_frozen() if not isinstance(key, AppKey): > warnings.warn( "It is recommended to use web.AppKey instances for keys.\n" + "https://docs.aiohttp.org/en/stable/web_advanced.html" + "#application-s-config", category=NotAppKeyWarning, stacklevel=2, ) E aiohttp.web_exceptions.NotAppKeyWarning: It is recommended to use web.AppKey instances for keys. E https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config /usr/lib/python3/dist-packages/aiohttp/web_app.py:215: NotAppKeyWarning ---------- coverage: platform linux, python 3.11.9-final-0 ----------- Name Stmts Miss Cover ------------------------------------------------ aiohttp_jinja2/__init__.py 119 50 58% aiohttp_jinja2/helpers.py 35 21 40% aiohttp_jinja2/typedefs.py 3 0 100% ------------------------------------------------ TOTAL 157 71 55% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml =========================== short test summary info ============================ FAILED tests/test_context_processors.py::test_context_processors - aiohttp.we... FAILED tests/test_context_processors.py::test_nested_context_processors - aio... FAILED tests/test_context_processors.py::test_context_is_response - aiohttp.w... FAILED tests/test_context_processors.py::test_context_processors_new_setup_style FAILED tests/test_context_processors.py::test_context_not_tainted - aiohttp.w... FAILED tests/test_jinja_filters.py::test_jinja_filters - aiohttp.web_exceptio... FAILED tests/test_jinja_globals.py::test_get_env - aiohttp.web_exceptions.Not... FAILED tests/test_jinja_globals.py::test_url - aiohttp.web_exceptions.NotAppK... FAILED tests/test_jinja_globals.py::test_url_with_query - aiohttp.web_excepti... FAILED tests/test_jinja_globals.py::test_url_int_param - aiohttp.web_exceptio... FAILED tests/test_jinja_globals.py::test_url_param_forbidden_type - aiohttp.w... FAILED tests/test_jinja_globals.py::test_helpers_disabled - aiohttp.web_excep... FAILED tests/test_jinja_globals.py::test_static - aiohttp.web_exceptions.NotA... FAILED tests/test_jinja_globals.py::test_static_var_missing - aiohttp.web_exc... FAILED tests/test_simple_renderer.py::test_func[False] - aiohttp.web_exceptio... FAILED tests/test_simple_renderer.py::test_func[True] - aiohttp.web_exception... FAILED tests/test_simple_renderer.py::test_render_class_based_view - aiohttp.... FAILED tests/test_simple_renderer.py::test_meth - aiohttp.web_exceptions.NotA... FAILED tests/test_simple_renderer.py::test_convert_func_to_coroutine - aiohtt... FAILED tests/test_simple_renderer.py::test_set_status - aiohttp.web_exception... FAILED tests/test_simple_renderer.py::test_render_template - aiohttp.web_exce... FAILED tests/test_simple_renderer.py::test_render_template_async - aiohttp.we... FAILED tests/test_simple_renderer.py::test_render_template_custom_status - ai... FAILED tests/test_simple_renderer.py::test_template_not_found - aiohttp.web_e... FAILED tests/test_simple_renderer.py::test_render_not_mapping - aiohttp.web_e... FAILED tests/test_simple_renderer.py::test_render_without_context - aiohttp.w... FAILED tests/test_simple_renderer.py::test_render_default_is_autoescaped - ai... FAILED tests/test_simple_renderer.py::test_render_can_disable_autoescape - ai... FAILED tests/test_simple_renderer.py::test_skip_render_for_response_from_handler ========================= 29 failed, 1 passed in 1.01s ========================= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/aiohttp-jinja2-1.5.1/.pybuild/cpython3_3.11_aiohttp-jinja2/build; python3.11 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 make: *** [debian/rules:5: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/11591 and its subdirectories Wed May 22 19:48:30 UTC 2024 W: No second build log, what happened?