Sat Apr 20 06:04:10 UTC 2024 I: starting to build djangorestframework-filters/unstable/i386 on jenkins on '2024-04-20 06:03' Sat Apr 20 06:04:10 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_2/21109/console.log Sat Apr 20 06:04:10 UTC 2024 I: Downloading source for unstable/djangorestframework-filters=1.0.0.dev2-2 --2024-04-20 06:04:10-- http://deb.debian.org/debian/pool/main/d/djangorestframework-filters/djangorestframework-filters_1.0.0.dev2-2.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2477 (2.4K) [text/prs.lines.tag] Saving to: ‘djangorestframework-filters_1.0.0.dev2-2.dsc’ 0K .. 100% 270M=0s 2024-04-20 06:04:10 (270 MB/s) - ‘djangorestframework-filters_1.0.0.dev2-2.dsc’ saved [2477/2477] Sat Apr 20 06:04:10 UTC 2024 I: djangorestframework-filters_1.0.0.dev2-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: djangorestframework-filters Binary: python3-djangorestframework-filters Architecture: all Version: 1.0.0.dev2-2 Maintainer: Debian Python Team Uploaders: Wookey Homepage: https://github.com/philipn/django-rest-framework-filters Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/python-team/packages/djangorestframework-filters Vcs-Git: https://salsa.debian.org/python-team/packages/djangorestframework-filters.git Testsuite: autopkgtest Testsuite-Triggers: python3-django-crispy-forms, python3-pytest, python3-pytest-django Build-Depends: debhelper-compat (= 13), dh-python, python3-all, python3-pytest, python3-pytest-django, python3-django, python3-django-crispy-forms, python3-django-filters, python3-djangorestframework, python3-setuptools Package-List: python3-djangorestframework-filters deb python optional arch=all Checksums-Sha1: 722eae21d2f26d245413d80a3d85c215d9780e99 41398 djangorestframework-filters_1.0.0.dev2.orig.tar.gz abf7dbedd4e72e93e4f6a3922418920cfa6654d3 2720 djangorestframework-filters_1.0.0.dev2-2.debian.tar.xz Checksums-Sha256: 45aba40ae3dabc5e332543a09d2abbb6f3d661cd615264c4089956f4e70ab19f 41398 djangorestframework-filters_1.0.0.dev2.orig.tar.gz 8987a4d78e43c7ef8f2876ca42678a2be065932ac6409d35de0dcca3aa3920f0 2720 djangorestframework-filters_1.0.0.dev2-2.debian.tar.xz Files: d6f91053d6bd876316e365d168652f66 41398 djangorestframework-filters_1.0.0.dev2.orig.tar.gz 39fd7014a6905a218ea6db0f47bd34e7 2720 djangorestframework-filters_1.0.0.dev2-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEsjhixBXWVlpOhsvXV5wWDUyeI+gFAmODsmkACgkQV5wWDUye I+hjEBAArOaF4moyYB0uoF34O0hmWvKF2GY5oFYCYqzxYxTtVYkTezLhnn6vfGil MLjanYPM1EcOsWaj9mmCD4WbnbzHLNsCc8OSIsuEBVPxl/h5wzcRdTr8OX14IxHr 4eWa4qUHaeVCV4UOnubkuUj/iz7lehZ1HsOql8eWyR/i3D3VmqVQmeOslgUveIqz I5lNBwUz3TYkQRZkYC9S+BSUEQWjBuZvmPGtP0ozMMBNycaEyHPkYKQcd+0sx8Q8 oC1R/cg8+gG4gG49tvyY/olLtH/LwaMwlc7X3JeFM4xXoKeVGxYOG6IF56E9KUa/ HSopoDBAvL6Y4oAmOD91t8DaKuY7TS2jVL0AUDrPxI5YNwdhXv/ylv9t2LdqCid6 EJqpF+rFAue2H6FfKvgJkU/UOSK58xJaDch4Gtdr26AL1yi9g4SVQSIdLohO9Bzs 8l/UH4pbFPK8agXFtlB7hWe25fv0QTE+YYp570xSgybgd7CtnmE1eV48WTWAeDcT v/jgMQbFgUcHHxkWwPOuCDq+vlv0KuvZaQEfJb7xK35DvJYyB0ZYZjfM/5OAdFbr ffDq5tfzfuo7IoKLlQx2r+nk94reDhIa63hm+QbfZMl2+ysnbYnHLsVoi9YbAdg7 HcT4CyF8pvg5F7RqawXokFy5rQs0+Ozh/AS6yFT+7aKKF2PE2mM= =HukT -----END PGP SIGNATURE----- Sat Apr 20 06:04:10 UTC 2024 I: Checking whether the package is not for us Sat Apr 20 06:04:10 UTC 2024 I: Starting 1st build on remote node ionos6-i386.debian.net. Sat Apr 20 06:04:10 UTC 2024 I: Preparing to do remote build '1' on ionos6-i386.debian.net. Sat Apr 20 06:04:57 UTC 2024 I: Deleting $TMPDIR on ionos6-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Fri May 23 00:27:12 -12 2025 I: pbuilder-time-stamp: 1748003232 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 [djangorestframework-filters_1.0.0.dev2-2.dsc] I: copying [./djangorestframework-filters_1.0.0.dev2.orig.tar.gz] I: copying [./djangorestframework-filters_1.0.0.dev2-2.debian.tar.xz] I: Extracting source gpgv: Signature made Sun Nov 27 18:54:33 2022 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./djangorestframework-filters_1.0.0.dev2-2.dsc: no acceptable signature found dpkg-source: info: extracting djangorestframework-filters in djangorestframework-filters-1.0.0.dev2 dpkg-source: info: unpacking djangorestframework-filters_1.0.0.dev2.orig.tar.gz dpkg-source: info: unpacking djangorestframework-filters_1.0.0.dev2-2.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/125474/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=22 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='ea6e828e60d048ce921d7b29f393e070' 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='125474' 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.j9TVffTS/pbuilderrc_ZsAI --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.j9TVffTS/b1 --logfile b1/build.log djangorestframework-filters_1.0.0.dev2-2.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://85.184.249.68:3128' I: uname -a Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 22 14:05 /bin -> usr/bin I: user script /srv/workspace/pbuilder/125474/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-all, python3-pytest, python3-pytest-django, python3-django, python3-django-crispy-forms, python3-django-filters, python3-djangorestframework, python3-setuptools dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19681 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-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-django; however: Package python3-pytest-django is not installed. pbuilder-satisfydepends-dummy depends on python3-django; however: Package python3-django is not installed. pbuilder-satisfydepends-dummy depends on python3-django-crispy-forms; however: Package python3-django-crispy-forms is not installed. pbuilder-satisfydepends-dummy depends on python3-django-filters; however: Package python3-django-filters is not installed. pbuilder-satisfydepends-dummy depends on python3-djangorestframework; however: Package python3-djangorestframework is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools 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} fonts-font-awesome{a} fonts-glyphicons-halflings{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libjs-bootstrap{a} libjs-jquery{a} libjs-prettify{a} libmagic-mgc{a} libmagic1t64{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-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} po-debconf{a} python3{a} python3-all{a} python3-asgiref{a} python3-distutils{a} python3-django{a} python3-django-crispy-forms{a} python3-django-filters{a} python3-djangorestframework{a} python3-iniconfig{a} python3-lib2to3{a} python3-minimal{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-pytest{a} python3-pytest-django{a} python3-setuptools{a} python3-sqlparse{a} python3-tz{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-coreapi python3-coreschema python3-django-guardian python3-markdown python3-psycopg2 python3-pygments python3-yaml wget 0 packages upgraded, 70 newly installed, 0 to remove and 0 not upgraded. Need to get 36.8 MB of archives. After unpacking 160 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 libpython3.11-minimal i386 3.11.9-1 [817 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libexpat1 i386 2.6.2-1 [107 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 python3.11-minimal i386 3.11.9-1 [1918 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 python3-minimal i386 3.11.8-1 [26.3 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 media-types all 10.1.0 [26.9 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 tzdata all 2024a-3 [255 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 readline-common all 8.2-4 [69.3 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 libreadline8t64 i386 8.2-4 [171 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 libpython3.11-stdlib i386 3.11.9-1 [1795 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 python3.11 i386 3.11.9-1 [602 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 libpython3-stdlib i386 3.11.8-1 [9336 B] Get: 13 http://deb.debian.org/debian unstable/main i386 python3 i386 3.11.8-1 [27.4 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 libpython3.12-minimal i386 3.12.3-1 [809 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 python3.12-minimal i386 3.12.3-1 [2224 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.22 [22.4 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3 [314 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3 [114 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3 [42.9 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.21-14+b1 [162 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b1 [69.1 kB] Get: 22 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-3+b1 [1195 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40-6 [96.7 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.7-2 [39.7 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 man-db i386 2.12.1-1 [1421 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 autoconf all 2.71-3 [332 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 autopoint all 0.21-14 [496 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.15.3 [88.0 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-7 [517 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 34 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 libsub-override-perl all 0.10-1 [10.6 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 38 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.191-1+b1 [194 kB] Get: 39 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 40 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-4+b1 [9549 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.9.14+dfsg-1.3+b2 [727 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 gettext i386 0.21-14+b1 [1311 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 45 http://deb.debian.org/debian unstable/main i386 debhelper all 13.15.3 [901 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 python3-pkg-resources all 68.1.2-2 [241 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 python3-lib2to3 all 3.12.3-1 [77.6 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 python3-distutils all 3.12.3-1 [131 kB] Get: 49 http://deb.debian.org/debian unstable/main i386 python3-setuptools all 68.1.2-2 [468 kB] Get: 50 http://deb.debian.org/debian unstable/main i386 dh-python all 6.20240401 [107 kB] Get: 51 http://deb.debian.org/debian unstable/main i386 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [517 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [162 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 libjs-bootstrap all 3.4.1+dfsg-3 [172 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 55 http://deb.debian.org/debian unstable/main i386 libjs-prettify all 2015.12.04+dfsg-1.1 [41.7 kB] Get: 56 http://deb.debian.org/debian unstable/main i386 libpython3.12-stdlib i386 3.12.3-1 [1945 kB] Get: 57 http://deb.debian.org/debian unstable/main i386 python3.12 i386 3.12.3-1 [659 kB] Get: 58 http://deb.debian.org/debian unstable/main i386 python3-all i386 3.11.8-1 [1056 B] Get: 59 http://deb.debian.org/debian unstable/main i386 python3-asgiref all 3.8.1-1 [28.8 kB] Get: 60 http://deb.debian.org/debian unstable/main i386 python3-sqlparse all 0.4.4-1 [37.6 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 python3-django all 3:4.2.11-1 [2736 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 python3-django-crispy-forms all 2.1-2 [40.0 kB] Get: 63 http://deb.debian.org/debian unstable/main i386 python3-django-filters all 24.2-1 [51.8 kB] Get: 64 http://deb.debian.org/debian unstable/main i386 python3-tz all 2024.1-2 [30.9 kB] Get: 65 http://deb.debian.org/debian unstable/main i386 python3-djangorestframework all 3.15.1-1 [457 kB] Get: 66 http://deb.debian.org/debian unstable/main i386 python3-iniconfig all 1.1.1-2 [6396 B] Get: 67 http://deb.debian.org/debian unstable/main i386 python3-packaging all 24.0-1 [45.5 kB] Get: 68 http://deb.debian.org/debian unstable/main i386 python3-pluggy all 1.4.0-1 [26.2 kB] Get: 69 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.1.1-1 [245 kB] Get: 70 http://deb.debian.org/debian unstable/main i386 python3-pytest-django all 4.5.2-3 [27.0 kB] Fetched 36.8 MB in 1s (53.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19681 files and directories currently installed.) 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 ... 19997 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-3_all.deb ... Unpacking tzdata (2024a-3) ... 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 ... 20989 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-3+b1_i386.deb ... Unpacking groff-base (1.23.0-3+b1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.40-6_i386.deb ... Unpacking bsdextrautils (2.40-6) ... 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 libsub-override-perl. Preparing to unpack .../22-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-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 .../24-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 .../25-libelf1t64_0.191-1+b1_i386.deb ... Unpacking libelf1t64:i386 (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../27-libicu72_72.1-4+b1_i386.deb ... Unpacking libicu72:i386 (72.1-4+b1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../28-libxml2_2.9.14+dfsg-1.3+b2_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.21-14+b1_i386.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-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 .../31-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../33-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 .../34-python3-lib2to3_3.12.3-1_all.deb ... Unpacking python3-lib2to3 (3.12.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../35-python3-distutils_3.12.3-1_all.deb ... Unpacking python3-distutils (3.12.3-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../36-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../37-dh-python_6.20240401_all.deb ... Unpacking dh-python (6.20240401) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../38-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Selecting previously unselected package fonts-glyphicons-halflings. Preparing to unpack .../39-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ... Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... Selecting previously unselected package libjs-bootstrap. Preparing to unpack .../40-libjs-bootstrap_3.4.1+dfsg-3_all.deb ... Unpacking libjs-bootstrap (3.4.1+dfsg-3) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../41-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-prettify. Preparing to unpack .../42-libjs-prettify_2015.12.04+dfsg-1.1_all.deb ... Unpacking libjs-prettify (2015.12.04+dfsg-1.1) ... Selecting previously unselected package libpython3.12-stdlib:i386. Preparing to unpack .../43-libpython3.12-stdlib_3.12.3-1_i386.deb ... Unpacking libpython3.12-stdlib:i386 (3.12.3-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../44-python3.12_3.12.3-1_i386.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../45-python3-all_3.11.8-1_i386.deb ... Unpacking python3-all (3.11.8-1) ... Selecting previously unselected package python3-asgiref. Preparing to unpack .../46-python3-asgiref_3.8.1-1_all.deb ... Unpacking python3-asgiref (3.8.1-1) ... Selecting previously unselected package python3-sqlparse. Preparing to unpack .../47-python3-sqlparse_0.4.4-1_all.deb ... Unpacking python3-sqlparse (0.4.4-1) ... Selecting previously unselected package python3-django. Preparing to unpack .../48-python3-django_3%3a4.2.11-1_all.deb ... Unpacking python3-django (3:4.2.11-1) ... Selecting previously unselected package python3-django-crispy-forms. Preparing to unpack .../49-python3-django-crispy-forms_2.1-2_all.deb ... Unpacking python3-django-crispy-forms (2.1-2) ... Selecting previously unselected package python3-django-filters. Preparing to unpack .../50-python3-django-filters_24.2-1_all.deb ... Unpacking python3-django-filters (24.2-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../51-python3-tz_2024.1-2_all.deb ... Unpacking python3-tz (2024.1-2) ... Selecting previously unselected package python3-djangorestframework. Preparing to unpack .../52-python3-djangorestframework_3.15.1-1_all.deb ... Unpacking python3-djangorestframework (3.15.1-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../53-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../54-python3-packaging_24.0-1_all.deb ... Unpacking python3-packaging (24.0-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../55-python3-pluggy_1.4.0-1_all.deb ... Unpacking python3-pluggy (1.4.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../56-python3-pytest_8.1.1-1_all.deb ... Unpacking python3-pytest (8.1.1-1) ... Selecting previously unselected package python3-pytest-django. Preparing to unpack .../57-python3-pytest-django_4.5.2-3_all.deb ... Unpacking python3-pytest-django (4.5.2-3) ... 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-6) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ... 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 libelf1t64:i386 (0.191-1+b1) ... Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' Local time is now: Fri May 23 12:27:31 UTC 2025. Universal Time is now: Fri May 23 12:27:31 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 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 libsub-override-perl (0.10-1) ... Setting up netbase (6.4) ... Setting up libjs-prettify (2015.12.04+dfsg-1.1) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:i386 (2.9.14+dfsg-1.3+b2) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Setting up libjs-bootstrap (3.4.1+dfsg-3) ... 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 libfile-stripnondeterminism-perl (1.13.1-1) ... 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 libreadline8t64:i386 (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-3+b1) ... 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 man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:i386 (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up python3-tz (2024.1-2) ... Setting up python3-packaging (24.0-1) ... Setting up python3-sqlparse (0.4.4-1) ... Setting up python3-pluggy (1.4.0-1) ... Setting up python3-lib2to3 (3.12.3-1) ... Setting up python3-asgiref (3.8.1-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-django (3:4.2.11-1) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3-pytest (8.1.1-1) ... Setting up python3-all (3.11.8-1) ... Setting up python3-pytest-django (4.5.2-3) ... Setting up python3-djangorestframework (3.15.1-1) ... Setting up python3-django-crispy-forms (2.1-2) ... Setting up python3-django-filters (24.2-1) ... Setting up dh-python (6.20240401) ... Processing triggers for libc-bin (2.37-18) ... 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/djangorestframework-filters-1.0.0.dev2/ && 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 > ../djangorestframework-filters_1.0.0.dev2-2_source.changes dpkg-buildpackage: info: source package djangorestframework-filters dpkg-buildpackage: info: source version 1.0.0.dev2-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jelmer Vernooij dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild pybuild --clean -i python{version} -p "3.12 3.11" I: pybuild base:311: python3.12 setup.py clean /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running clean removing '/build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/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 /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running clean removing '/build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/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 rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-djangorestframework-filters.substvars debian/files rm -fr -- debian/python3-djangorestframework-filters/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) 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 pybuild --configure -i python{version} -p "3.12 3.11" I: pybuild base:311: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running config I: pybuild base:311: python3.11 setup.py config /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running config dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p "3.12 3.11" I: pybuild base:311: /usr/bin/python3.12 setup.py build /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running build running build_py creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/complex_ops.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/utils.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/filters.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/__init__.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/filterset.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/backends.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templatetags copying rest_framework_filters/templatetags/__init__.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templatetags copying rest_framework_filters/templatetags/rest_framework_filters.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templatetags running egg_info creating djangorestframework_filters.egg-info writing djangorestframework_filters.egg-info/PKG-INFO writing dependency_links to djangorestframework_filters.egg-info/dependency_links.txt writing requirements to djangorestframework_filters.egg-info/requires.txt writing top-level names to djangorestframework_filters.egg-info/top_level.txt writing manifest file 'djangorestframework_filters.egg-info/SOURCES.txt' reading manifest file 'djangorestframework_filters.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'djangorestframework_filters.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'rest_framework_filters.templates.rest_framework_filters' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'rest_framework_filters.templates.rest_framework_filters' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'rest_framework_filters.templates.rest_framework_filters' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'rest_framework_filters.templates.rest_framework_filters' to be distributed and are already explicitly excluding 'rest_framework_filters.templates.rest_framework_filters' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templates creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters copying rest_framework_filters/templates/rest_framework_filters/crispy_form.html -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters copying rest_framework_filters/templates/rest_framework_filters/form.html -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running build running build_py creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/complex_ops.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/utils.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/filters.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/__init__.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/filterset.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters copying rest_framework_filters/backends.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templatetags copying rest_framework_filters/templatetags/__init__.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templatetags copying rest_framework_filters/templatetags/rest_framework_filters.py -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templatetags running egg_info writing djangorestframework_filters.egg-info/PKG-INFO writing dependency_links to djangorestframework_filters.egg-info/dependency_links.txt writing requirements to djangorestframework_filters.egg-info/requires.txt writing top-level names to djangorestframework_filters.egg-info/top_level.txt reading manifest file 'djangorestframework_filters.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'djangorestframework_filters.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'rest_framework_filters.templates.rest_framework_filters' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'rest_framework_filters.templates.rest_framework_filters' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'rest_framework_filters.templates.rest_framework_filters' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'rest_framework_filters.templates.rest_framework_filters' to be distributed and are already explicitly excluding 'rest_framework_filters.templates.rest_framework_filters' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templates creating /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters copying rest_framework_filters/templates/rest_framework_filters/crispy_form.html -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters copying rest_framework_filters/templates/rest_framework_filters/form.html -> /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters dh_auto_test -O--buildsystem=pybuild pybuild --test --test-pytest -i python{version} -p "3.12 3.11" I: pybuild base:311: cd /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build; python3.12 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 django: settings: tests.settings (from env) rootdir: /build/reproducible-path/djangorestframework-filters-1.0.0.dev2 plugins: django-4.5.2 collected 151 items tests/related/test_exclude.py ....... [ 4%] tests/related/test_filter.py ..... [ 7%] tests/test_backends.py .F.F........FFFFFF [ 19%] tests/test_complex_ops.py ................ [ 30%] tests/test_filtering.py .......................... [ 47%] tests/test_filters.py ... [ 49%] tests/test_filterset.py ................................................ [ 81%] ....... [ 86%] tests/test_forms.py ...... [ 90%] tests/test_regressions.py ........ [ 95%] tests/test_utils.py ....... [100%] =================================== FAILURES =================================== ________________ BackendTests.test_django_filter_compatibility _________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_django_filter_compatibility(self): > response = self.client.get('/df-users/', {'username': 'user1'}) tests/test_backends.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :995: in exec_module ??? :488: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError ________________ BackendTests.test_filterset_fields_reusability ________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_filterset_fields_reusability(self): # Ensure auto-generated FilterSet is reusable w/ filterset_fields. See: # https://github.com/philipn/django-rest-framework-filters/issues/81 # Ensure that the filterset_fields aren't altered self.assertDictEqual( views.FilterFieldsUserViewSet.filterset_fields, {'username': '__all__'}, ) > response = self.client.get('/ff-users/', {'username': 'user1'}) tests/test_backends.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :995: in exec_module ??? :488: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError __ BackendCrispyFormsRenderingTests.test_crispy_forms_filterset_compatibility __ self = def test_crispy_forms_filterset_compatibility(self): class SimpleCrispyFilterSet(FilterSet): class Meta: model = models.User fields = ['username'] class SimpleViewSet(views.FilterFieldsUserViewSet): filterset_class = SimpleCrispyFilterSet > self.assertHTMLEqual(self.render(SimpleViewSet), """

Field filters

""") tests/test_backends.py:346: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_backends.py:24: in render return backend().to_html(request, view.get_queryset(), view) rest_framework_filters/backends.py:50: in to_html return super().to_html(request, queryset, view) /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html template = loader.get_template(self.template) /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template return engine.get_template(template_name) /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template return Template(self.engine.get_template(template_name), self) /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template template, origin = self.find_template(template_name) /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template template = loader.get_template(name, skip=skip) /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template template = super().get_template(template_name, skip) /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template return Template( /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ self.nodelist = self.compile_nodelist() /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist return parser.parse() /usr/lib/python3/dist-packages/django/template/base.py:513: in parse raise self.error(token, e) /usr/lib/python3/dist-packages/django/template/base.py:511: in parse compiled_result = compile_func(self, token) /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form template_pack = "'%s'" % get_template_pack() /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack return getattr(settings, "CRISPY_TEMPLATE_PACK") /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ val = getattr(_wrapped, name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , name = 'CRISPY_TEMPLATE_PACK' def __getattr__(self, name): if not name.isupper() or name in self._deleted: raise AttributeError > return getattr(self.default_settings, name) E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError _____ BackendCrispyFormsRenderingTests.test_related_filterset_crispy_forms _____ self = def test_related_filterset_crispy_forms(self): class UserFilter(FilterSet): username = filters.CharFilter() class NoteFilter(FilterSet): author = filters.RelatedFilter( filterset=UserFilter, queryset=models.User.objects.all(), label='Writer', ) class RelatedViewSet(views.NoteViewSet): filterset_class = NoteFilter > self.assertHTMLEqual(self.render(RelatedViewSet), """

Field filters

Writer
""") tests/test_backends.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_backends.py:24: in render return backend().to_html(request, view.get_queryset(), view) rest_framework_filters/backends.py:50: in to_html return super().to_html(request, queryset, view) /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html template = loader.get_template(self.template) /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template return engine.get_template(template_name) /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template return Template(self.engine.get_template(template_name), self) /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template template, origin = self.find_template(template_name) /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template template = loader.get_template(name, skip=skip) /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template template = super().get_template(template_name, skip) /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template return Template( /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ self.nodelist = self.compile_nodelist() /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist return parser.parse() /usr/lib/python3/dist-packages/django/template/base.py:513: in parse raise self.error(token, e) /usr/lib/python3/dist-packages/django/template/base.py:511: in parse compiled_result = compile_func(self, token) /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form template_pack = "'%s'" % get_template_pack() /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack return getattr(settings, "CRISPY_TEMPLATE_PACK") /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ val = getattr(_wrapped, name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , name = 'CRISPY_TEMPLATE_PACK' def __getattr__(self, name): if not name.isupper() or name in self._deleted: raise AttributeError > return getattr(self.default_settings, name) E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError ____________________ ComplexFilterBackendTests.test_invalid ____________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_invalid(self): readable = quote('(username%3Duser1)asdf(email__contains%3Dexample.org)') > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :995: in exec_module ??? :488: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError ___________ ComplexFilterBackendTests.test_invalid_filterset_errors ____________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_invalid_filterset_errors(self): readable = quote('(id%3Dfoo) | (id%3Dbar)') > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:437: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :995: in exec_module ??? :488: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError ___________ ComplexFilterBackendTests.test_pagination_compatibility ____________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_pagination_compatibility(self): # Ensure that complex-filtering does not affect additional query param processing. readable = quote('(email__contains%3Dexample.org)') # sanity check w/o pagination > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:456: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :995: in exec_module ??? :488: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError _____________________ ComplexFilterBackendTests.test_valid _____________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_valid(self): readable = quote('(username%3Duser1)|(email__contains%3Dexample.org)') > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :995: in exec_module ??? :488: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean: 'urls'? tests/testapp/urls.py:2: ImportError =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior. warnings.warn( .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/related/test_exclude.py: 11 warnings .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/related/test_filter.py: 7 warnings /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/related/data.py:105: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(qs, expected, attrgetter('pk'), False) .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_AND /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py:202: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_OR /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py:217: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_negation /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py:232: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_single /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_complex_ops.py:187: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py:256: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f1.qs, [3], lambda p: p.pk) .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py:257: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f2.qs, [4], lambda p: p.pk) .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py:258: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f3.qs, [], lambda p: p.pk) .pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build/tests/test_filtering.py:259: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f4.qs, [], lambda p: p.pk) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_backends.py::BackendTests::test_django_filter_compatibility FAILED tests/test_backends.py::BackendTests::test_filterset_fields_reusability FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_crispy_forms_filterset_compatibility FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_related_filterset_crispy_forms FAILED tests/test_backends.py::ComplexFilterBackendTests::test_invalid - Impo... FAILED tests/test_backends.py::ComplexFilterBackendTests::test_invalid_filterset_errors FAILED tests/test_backends.py::ComplexFilterBackendTests::test_pagination_compatibility FAILED tests/test_backends.py::ComplexFilterBackendTests::test_valid - Import... ================== 8 failed, 143 passed, 27 warnings in 2.08s ================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.12_djangorestframework-filters/build; python3.12 -m pytest tests I: pybuild base:311: cd /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build; python3.11 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0 django: settings: tests.settings (from env) rootdir: /build/reproducible-path/djangorestframework-filters-1.0.0.dev2 plugins: django-4.5.2 collected 151 items tests/related/test_exclude.py ....... [ 4%] tests/related/test_filter.py ..... [ 7%] tests/test_backends.py .F.F........FFFFFF [ 19%] tests/test_complex_ops.py ................ [ 30%] tests/test_filtering.py .......................... [ 47%] tests/test_filters.py ... [ 49%] tests/test_filterset.py ................................................ [ 81%] ....... [ 86%] tests/test_forms.py ...... [ 90%] tests/test_regressions.py ........ [ 95%] tests/test_utils.py ....... [100%] =================================== FAILURES =================================== ________________ BackendTests.test_django_filter_compatibility _________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_django_filter_compatibility(self): > response = self.client.get('/df-users/', {'username': 'user1'}) tests/test_backends.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? :940: in exec_module ??? :241: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError ________________ BackendTests.test_filterset_fields_reusability ________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_filterset_fields_reusability(self): # Ensure auto-generated FilterSet is reusable w/ filterset_fields. See: # https://github.com/philipn/django-rest-framework-filters/issues/81 # Ensure that the filterset_fields aren't altered self.assertDictEqual( views.FilterFieldsUserViewSet.filterset_fields, {'username': '__all__'}, ) > response = self.client.get('/ff-users/', {'username': 'user1'}) tests/test_backends.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? :940: in exec_module ??? :241: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError __ BackendCrispyFormsRenderingTests.test_crispy_forms_filterset_compatibility __ self = def test_crispy_forms_filterset_compatibility(self): class SimpleCrispyFilterSet(FilterSet): class Meta: model = models.User fields = ['username'] class SimpleViewSet(views.FilterFieldsUserViewSet): filterset_class = SimpleCrispyFilterSet > self.assertHTMLEqual(self.render(SimpleViewSet), """

Field filters

""") tests/test_backends.py:346: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_backends.py:24: in render return backend().to_html(request, view.get_queryset(), view) rest_framework_filters/backends.py:50: in to_html return super().to_html(request, queryset, view) /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html template = loader.get_template(self.template) /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template return engine.get_template(template_name) /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template return Template(self.engine.get_template(template_name), self) /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template template, origin = self.find_template(template_name) /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template template = loader.get_template(name, skip=skip) /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template template = super().get_template(template_name, skip) /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template return Template( /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ self.nodelist = self.compile_nodelist() /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist return parser.parse() /usr/lib/python3/dist-packages/django/template/base.py:513: in parse raise self.error(token, e) /usr/lib/python3/dist-packages/django/template/base.py:511: in parse compiled_result = compile_func(self, token) /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form template_pack = "'%s'" % get_template_pack() /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack return getattr(settings, "CRISPY_TEMPLATE_PACK") /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ val = getattr(_wrapped, name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , name = 'CRISPY_TEMPLATE_PACK' def __getattr__(self, name): if not name.isupper() or name in self._deleted: raise AttributeError > return getattr(self.default_settings, name) E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError _____ BackendCrispyFormsRenderingTests.test_related_filterset_crispy_forms _____ self = def test_related_filterset_crispy_forms(self): class UserFilter(FilterSet): username = filters.CharFilter() class NoteFilter(FilterSet): author = filters.RelatedFilter( filterset=UserFilter, queryset=models.User.objects.all(), label='Writer', ) class RelatedViewSet(views.NoteViewSet): filterset_class = NoteFilter > self.assertHTMLEqual(self.render(RelatedViewSet), """

Field filters

Writer
""") tests/test_backends.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_backends.py:24: in render return backend().to_html(request, view.get_queryset(), view) rest_framework_filters/backends.py:50: in to_html return super().to_html(request, queryset, view) /usr/lib/python3/dist-packages/django_filters/rest_framework/backends.py:81: in to_html template = loader.get_template(self.template) /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template return engine.get_template(template_name) /usr/lib/python3/dist-packages/django/template/backends/django.py:33: in get_template return Template(self.engine.get_template(template_name), self) /usr/lib/python3/dist-packages/django/template/engine.py:175: in get_template template, origin = self.find_template(template_name) /usr/lib/python3/dist-packages/django/template/engine.py:157: in find_template template = loader.get_template(name, skip=skip) /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template template = super().get_template(template_name, skip) /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template return Template( /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ self.nodelist = self.compile_nodelist() /usr/lib/python3/dist-packages/django/template/base.py:200: in compile_nodelist return parser.parse() /usr/lib/python3/dist-packages/django/template/base.py:513: in parse raise self.error(token, e) /usr/lib/python3/dist-packages/django/template/base.py:511: in parse compiled_result = compile_func(self, token) /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:238: in do_uni_form template_pack = "'%s'" % get_template_pack() /usr/lib/python3/dist-packages/crispy_forms/utils.py:16: in get_template_pack return getattr(settings, "CRISPY_TEMPLATE_PACK") /usr/lib/python3/dist-packages/django/conf/__init__.py:104: in __getattr__ val = getattr(_wrapped, name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , name = 'CRISPY_TEMPLATE_PACK' def __getattr__(self, name): if not name.isupper() or name in self._deleted: raise AttributeError > return getattr(self.default_settings, name) E AttributeError: 'Settings' object has no attribute 'CRISPY_TEMPLATE_PACK' /usr/lib/python3/dist-packages/django/conf/__init__.py:331: AttributeError ____________________ ComplexFilterBackendTests.test_invalid ____________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_invalid(self): readable = quote('(username%3Duser1)asdf(email__contains%3Dexample.org)') > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? :940: in exec_module ??? :241: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError ___________ ComplexFilterBackendTests.test_invalid_filterset_errors ____________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_invalid_filterset_errors(self): readable = quote('(id%3Dfoo) | (id%3Dbar)') > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:437: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? :940: in exec_module ??? :241: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError ___________ ComplexFilterBackendTests.test_pagination_compatibility ____________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_pagination_compatibility(self): # Ensure that complex-filtering does not affect additional query param processing. readable = quote('(email__contains%3Dexample.org)') # sanity check w/o pagination > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:456: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? :940: in exec_module ??? :241: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError _____________________ ComplexFilterBackendTests.test_valid _____________________ request = @wraps(get_response) def inner(request): try: > response = get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/core/handlers/base.py:181: in _get_response callback, callback_args, callback_kwargs = self.resolve_request(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:313: in resolve_request resolver_match = resolver.resolve(request.path_info) /usr/lib/python3/dist-packages/django/urls/resolvers.py:663: in resolve for pattern in self.url_patterns: /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:715: in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError During handling of the above exception, another exception occurred: self = def test_valid(self): readable = quote('(username%3Duser1)|(email__contains%3Dexample.org)') > response = self.client.get('/ffcomplex-users/?filters=' + readable) tests/test_backends.py:418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/rest_framework/test.py:289: in get response = super().get(path, data=data, **extra) /usr/lib/python3/dist-packages/rest_framework/test.py:206: in get return self.generic('GET', path, **r) /usr/lib/python3/dist-packages/rest_framework/test.py:234: in generic return super().generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) /usr/lib/python3/dist-packages/rest_framework/test.py:286: in request return super().request(**kwargs) /usr/lib/python3/dist-packages/rest_framework/test.py:238: in request request = super().request(**kwargs) /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) /usr/lib/python3/dist-packages/rest_framework/test.py:258: in get_response return super().get_response(request) /usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response response = self._middleware_chain(request) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) /usr/lib/python3/dist-packages/django/core/handlers/exception.py:140: in response_for_exception response = handle_uncaught_exception( /usr/lib/python3/dist-packages/django/core/handlers/exception.py:184: in handle_uncaught_exception callback = resolver.resolve_error_handler(500) /usr/lib/python3/dist-packages/django/urls/resolvers.py:729: in resolve_error_handler callback = getattr(self.urlconf_module, "handler%s" % view_type, None) /usr/lib/python3/dist-packages/django/utils/functional.py:57: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/urls/resolvers.py:708: in urlconf_module return import_module(self.urlconf_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? :940: in exec_module ??? :241: in _call_with_frames_removed ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > from django.conf.urls import include, url E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) tests/testapp/urls.py:2: ImportError =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior. warnings.warn( .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/related/test_exclude.py: 11 warnings .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/related/test_filter.py: 7 warnings /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/related/data.py:105: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(qs, expected, attrgetter('pk'), False) .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_AND /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py:202: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_OR /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py:217: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_negation /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py:232: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py::CombineComplexQuerysetTests::test_single /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_complex_ops.py:187: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual( .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py:256: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f1.qs, [3], lambda p: p.pk) .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py:257: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f2.qs, [4], lambda p: p.pk) .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py:258: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f3.qs, [], lambda p: p.pk) .pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py::RelatedFilterTests::test_relatedfilter_for_aliased_nested_relationships /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build/tests/test_filtering.py:259: RemovedInDjango51Warning: assertQuerysetEqual() is deprecated in favor of assertQuerySetEqual(). self.assertQuerysetEqual(f4.qs, [], lambda p: p.pk) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_backends.py::BackendTests::test_django_filter_compatibility FAILED tests/test_backends.py::BackendTests::test_filterset_fields_reusability FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_crispy_forms_filterset_compatibility FAILED tests/test_backends.py::BackendCrispyFormsRenderingTests::test_related_filterset_crispy_forms FAILED tests/test_backends.py::ComplexFilterBackendTests::test_invalid - Impo... FAILED tests/test_backends.py::ComplexFilterBackendTests::test_invalid_filterset_errors FAILED tests/test_backends.py::ComplexFilterBackendTests::test_pagination_compatibility FAILED tests/test_backends.py::ComplexFilterBackendTests::test_valid - Import... ================== 8 failed, 143 passed, 27 warnings in 2.14s ================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/djangorestframework-filters-1.0.0.dev2/.pybuild/cpython3_3.11_djangorestframework-filters/build; python3.11 -m pytest tests rm -fr -- /tmp/dh-xdg-rundir-i1sCVZI0 dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 make: *** [debian/rules:10: 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/125474 and its subdirectories Sat Apr 20 06:04:58 UTC 2024 W: No second build log, what happened?