Fri Nov 15 06:02:33 UTC 2024 I: starting to build sqlalchemy-i18n/unstable/i386 on jenkins on '2024-11-15 06:02' Fri Nov 15 06:02:33 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_18/30789/console.log Fri Nov 15 06:02:33 UTC 2024 I: Downloading source for unstable/sqlalchemy-i18n=1.1.0-2 --2024-11-15 06:02:33-- http://deb.debian.org/debian/pool/main/s/sqlalchemy-i18n/sqlalchemy-i18n_1.1.0-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2330 (2.3K) [text/prs.lines.tag] Saving to: ‘sqlalchemy-i18n_1.1.0-2.dsc’ 0K .. 100% 227M=0s 2024-11-15 06:02:33 (227 MB/s) - ‘sqlalchemy-i18n_1.1.0-2.dsc’ saved [2330/2330] Fri Nov 15 06:02:33 UTC 2024 I: sqlalchemy-i18n_1.1.0-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: sqlalchemy-i18n Binary: python3-sqlalchemy-i18n Architecture: all Version: 1.1.0-2 Maintainer: Debian Python Team Uploaders: Edward Betts Homepage: https://github.com/kvesteri/sqlalchemy-i18n Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/python-team/packages/sqlalchemy-i18n Vcs-Git: https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git Testsuite: autopkgtest Testsuite-Triggers: postgresql, python3-psycopg2, python3-pytest, python3-sqlalchemy Build-Depends: debhelper-compat (= 13), dh-sequence-python3, dh-sequence-sphinxdoc, postgresql, python3-all, python3-psycopg2, python3-pytest, python3-setuptools, python3-sphinx, python3-sqlalchemy, python3-sqlalchemy-utils Package-List: python3-sqlalchemy-i18n deb python optional arch=all Checksums-Sha1: 492155e3a91eecfaf8263fe94f600515942bfaf5 28197 sqlalchemy-i18n_1.1.0.orig.tar.gz 8dd5712479e0bcca1bccce7e7f9e57fb705f0f4f 4360 sqlalchemy-i18n_1.1.0-2.debian.tar.xz Checksums-Sha256: de33376483a581ca14218d8f57a114466c5f72b674a95839b6c4564a6e67796f 28197 sqlalchemy-i18n_1.1.0.orig.tar.gz f58b838416126ec244a3042ab20034fb7fde8df96092cb2138d5446b321ff0e1 4360 sqlalchemy-i18n_1.1.0-2.debian.tar.xz Files: dfc1f61aff59cb684a655a31073687b8 28197 sqlalchemy-i18n_1.1.0.orig.tar.gz b38580d5b43e2c55f6a0c60e1d5d7102 4360 sqlalchemy-i18n_1.1.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmc1loYRHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBpqURAAj9GlB+35GHlNh7zFrZluqJTYdemna96o CjHO1X0jQ2uRejUs/3QzbfZ+A/DICdmN4vfSiTw3U9LPjOk3p04cF83WQzqcdR4v FTsJ72QSy9Ua9BvZr6UQYj6j2xyce1Fjrs6l6PqQ6kj/o1G4nmxudvb25YH8lzp/ 8zVp2KOgvvQXY6NPAKDqOHrukOkA1iQc4JckkpS9gtCIcGjRmvkBN+om4ExwvANy Hynaqcmy8O/k4Mv2itW6l4qUe53RvrEwdmPmZgkDgJR5v5m7cBSvVYCYwGPWXJU9 F10glnZag/6uhAs4nsEkIsCMehsHnF1UaYCiXnyZb+eBfpKnMCISN4LVSHth+44r AfRvqyQz/6Aue/3ekT/jmcngVy41sXJFuK4CBWozsNjW+OynbzVY1Q8Y8hDGezg3 yIUJkv4/+LuLergXQx/wKRn7wGg3koZ8Busb9CS+eg4y/cFww5tHYgIH5Oimdupw Vdad5bYJHZy93MY9a5Q5glBXmocwWMV0czeO50oq9QDSnSI8Z7Pg4xaXtzqXzVl/ E5QEztnm1bftj8lUrStsOERm9ZBv3p8Dq6XEq5M1/iHe6VynqECEi6kgYlNA67fT t+nC5pvxxIEr4329asFked9W3XU/7FXw6VwHUbhsbMT6XwMI/Km3r3adKJHkqzNs 8Mzzj06SGUs= =LMRn -----END PGP SIGNATURE----- Fri Nov 15 06:02:33 UTC 2024 I: Checking whether the package is not for us Fri Nov 15 06:02:34 UTC 2024 I: Starting 1st build on remote node infom08-i386.debian.net. Fri Nov 15 06:02:34 UTC 2024 I: Preparing to do remote build '1' on infom08-i386.debian.net. Fri Nov 15 06:04:17 UTC 2024 I: Deleting $TMPDIR on infom08-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Dec 18 00:25:35 -12 2025 I: pbuilder-time-stamp: 1766060735 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 [sqlalchemy-i18n_1.1.0-2.dsc] I: copying [./sqlalchemy-i18n_1.1.0.orig.tar.gz] I: copying [./sqlalchemy-i18n_1.1.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Nov 14 06:19:50 2024 gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A gpgv: issuer "tchet@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./sqlalchemy-i18n_1.1.0-2.dsc: no acceptable signature found dpkg-source: info: extracting sqlalchemy-i18n in sqlalchemy-i18n-1.1.0 dpkg-source: info: unpacking sqlalchemy-i18n_1.1.0.orig.tar.gz dpkg-source: info: unpacking sqlalchemy-i18n_1.1.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying remove-six.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/17781/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='b9c11ccb0f804e1fb3bbce361920b53b' 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='17781' 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.Qq6mmYtq/pbuilderrc_LcW4 --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.Qq6mmYtq/b1 --logfile b1/build.log sqlalchemy-i18n_1.1.0-2.dsc' SUDO_GID='111' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' I: uname -a Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/17781/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-sequence-python3, dh-sequence-sphinxdoc, postgresql, python3-all, python3-psycopg2, python3-pytest, python3-setuptools, python3-sphinx, python3-sqlalchemy, python3-sqlalchemy-utils dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19953 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-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-sphinxdoc; however: Package dh-sequence-sphinxdoc is not installed. pbuilder-satisfydepends-dummy depends on postgresql; however: Package postgresql is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-psycopg2; however: Package python3-psycopg2 is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx; however: Package python3-sphinx is not installed. pbuilder-satisfydepends-dummy depends on python3-sqlalchemy; however: Package python3-sqlalchemy is not installed. pbuilder-satisfydepends-dummy depends on python3-sqlalchemy-utils; however: Package python3-sqlalchemy-utils 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} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docutils-common{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libcom-err2{a} libdebhelper-perl{a} libedit2{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libio-pty-perl{a} libipc-run-perl{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libjson-perl{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libldap-2.5-0{a} libllvm19{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpq5{a} libpython3-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libsasl2-2{a} libsasl2-modules-db{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libxml2{a} libxslt1.1{a} libz3-4{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} po-debconf{a} postgresql{a} postgresql-17{a} postgresql-client-17{a} postgresql-client-common{a} postgresql-common{a} python-babel-localedata{a} python3{a} python3-alabaster{a} python3-all{a} python3-arrow{a} python3-autocommand{a} python3-babel{a} python3-certifi{a} python3-chardet{a} python3-charset-normalizer{a} python3-dateutil{a} python3-defusedxml{a} python3-docutils{a} python3-greenlet{a} python3-idna{a} python3-imagesize{a} python3-infinity{a} python3-inflect{a} python3-iniconfig{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-jinja2{a} python3-markupsafe{a} python3-minimal{a} python3-more-itertools{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-psycopg2{a} python3-pygments{a} python3-pytest{a} python3-requests{a} python3-roman{a} python3-setuptools{a} python3-snowballstemmer{a} python3-sphinx{a} python3-sqlalchemy{a} python3-sqlalchemy-utils{a} python3-typeguard{a} python3-typeshed{a} python3-typing-extensions{a} python3-urllib3{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sphinx-common{a} ssl-cert{a} tzdata{a} ucf{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl e2fsprogs javascript-common krb5-locales libarchive-cpio-perl libjson-xs-perl libldap-common libltdl-dev libmail-sendmail-perl libpaper-utils libsasl2-modules logrotate lynx python3-pil python3-sqlalchemy-ext sysstat wget 0 packages upgraded, 125 newly installed, 0 to remove and 0 not upgraded. Need to get 109 MB of archives. After unpacking 458 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 libjson-perl all 4.10000-1 [87.5 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libio-pty-perl i386 1:1.20-1+b2 [35.8 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 libipc-run-perl all 20231003.0-2 [101 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 netbase all 6.4 [12.8 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 postgresql-client-common all 266 [36.5 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 openssl i386 3.3.2-2 [1387 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 ssl-cert all 1.1.3 [16.8 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.24 [24.8 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 ucf all 3.0043+nmu1 [55.2 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 postgresql-common all 266 [169 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 libpython3.12-minimal i386 3.12.7-3 [814 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 libexpat1 i386 2.6.4-1 [107 kB] Get: 13 http://deb.debian.org/debian unstable/main i386 python3.12-minimal i386 3.12.7-3 [2236 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 python3-minimal i386 3.12.7-1 [26.8 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 media-types all 10.1.0 [26.9 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 tzdata all 2024b-3 [255 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 libkrb5support0 i386 1.21.3-3 [34.9 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 libcom-err2 i386 1.47.1-1+b1 [23.4 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 libk5crypto3 i386 1.21.3-3 [83.6 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 libkeyutils1 i386 1.6.3-4 [9600 B] Get: 21 http://deb.debian.org/debian unstable/main i386 libkrb5-3 i386 1.21.3-3 [350 kB] Get: 22 http://deb.debian.org/debian unstable/main i386 libgssapi-krb5-2 i386 1.21.3-3 [146 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libtirpc3t64 i386 1.3.4+ds-1.3+b1 [90.5 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 libnsl2 i386 1.3.0-3+b3 [42.7 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 readline-common all 8.2-5 [69.3 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 libreadline8t64 i386 8.2-5 [173 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 libpython3.12-stdlib i386 3.12.7-3 [1964 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 python3.12 i386 3.12.7-3 [671 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 libpython3-stdlib i386 3.12.7-1 [9712 B] Get: 31 http://deb.debian.org/debian unstable/main i386 python3 i386 3.12.7-1 [27.8 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 libpython3.13-minimal i386 3.13.0-2 [856 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 python3.13-minimal i386 3.13.0-2 [2112 kB] Get: 34 http://deb.debian.org/debian unstable/main i386 sgml-base all 1.31 [15.4 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 ca-certificates all 20240203 [158 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3+b1 [314 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3+b1 [115 kB] Get: 38 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3+b1 [43.2 kB] Get: 39 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.22.5-2 [201 kB] Get: 40 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b2 [69.2 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-5 [1196 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.2-11 [95.6 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.8-1 [41.2 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 man-db i386 2.13.0-1 [1428 kB] Get: 45 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 autoconf all 2.72-3 [493 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 49 http://deb.debian.org/debian unstable/main i386 autopoint all 0.22.5-2 [723 kB] Get: 50 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.20 [89.7 kB] Get: 51 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-8 [517 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 55 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 56 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.192-4 [195 kB] Get: 57 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 58 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-5+b1 [9583 kB] Get: 59 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.12.7+dfsg+really2.9.14-0.2+b1 [734 kB] Get: 60 http://deb.debian.org/debian unstable/main i386 gettext i386 0.22.5-2 [1631 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 63 http://deb.debian.org/debian unstable/main i386 debhelper all 13.20 [915 kB] Get: 64 http://deb.debian.org/debian unstable/main i386 python3-autocommand all 2.2.2-3 [13.6 kB] Get: 65 http://deb.debian.org/debian unstable/main i386 python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 66 http://deb.debian.org/debian unstable/main i386 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 67 http://deb.debian.org/debian unstable/main i386 python3-typeguard all 4.4.1-1 [37.0 kB] Get: 68 http://deb.debian.org/debian unstable/main i386 python3-inflect all 7.3.1-2 [32.4 kB] Get: 69 http://deb.debian.org/debian unstable/main i386 python3-jaraco.context all 6.0.0-1 [7984 B] Get: 70 http://deb.debian.org/debian unstable/main i386 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 71 http://deb.debian.org/debian unstable/main i386 python3-pkg-resources all 75.2.0-1 [213 kB] Get: 72 http://deb.debian.org/debian unstable/main i386 python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 73 http://deb.debian.org/debian unstable/main i386 python3-zipp all 3.21.0-1 [10.6 kB] Get: 74 http://deb.debian.org/debian unstable/main i386 python3-setuptools all 75.2.0-1 [731 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 dh-python all 6.20241024 [109 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 xml-core all 0.19 [20.1 kB] Get: 77 http://deb.debian.org/debian unstable/main i386 docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 78 http://deb.debian.org/debian unstable/main i386 libedit2 i386 3.1-20240808-1 [98.0 kB] Get: 79 http://deb.debian.org/debian unstable/main i386 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 80 http://deb.debian.org/debian unstable/main i386 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 81 http://deb.debian.org/debian unstable/main i386 libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 82 http://deb.debian.org/debian unstable/main i386 libsasl2-modules-db i386 2.1.28+dfsg1-8 [20.6 kB] Get: 83 http://deb.debian.org/debian unstable/main i386 libsasl2-2 i386 2.1.28+dfsg1-8 [61.0 kB] Get: 84 http://deb.debian.org/debian unstable/main i386 libldap-2.5-0 i386 2.5.18+dfsg-3+b1 [200 kB] Get: 85 http://deb.debian.org/debian unstable/main i386 libz3-4 i386 4.13.3-1 [9211 kB] Get: 86 http://deb.debian.org/debian unstable/main i386 libllvm19 i386 1:19.1.3-2 [30.4 MB] Get: 87 http://deb.debian.org/debian unstable/main i386 libpq5 i386 17.1-1 [233 kB] Get: 88 http://deb.debian.org/debian unstable/main i386 libpython3.13-stdlib i386 3.13.0-2 [2002 kB] Get: 89 http://deb.debian.org/debian unstable/main i386 libxslt1.1 i386 1.1.35-1.1+b1 [243 kB] Get: 90 http://deb.debian.org/debian unstable/main i386 postgresql-client-17 i386 17.1-1 [2039 kB] Get: 91 http://deb.debian.org/debian unstable/main i386 postgresql-17 i386 17.1-1 [16.8 MB] Get: 92 http://deb.debian.org/debian unstable/main i386 postgresql all 17+266 [12.3 kB] Get: 93 http://deb.debian.org/debian unstable/main i386 python-babel-localedata all 2.16.0-1 [5696 kB] Get: 94 http://deb.debian.org/debian unstable/main i386 python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 95 http://deb.debian.org/debian unstable/main i386 python3.13 i386 3.13.0-2 [730 kB] Get: 96 http://deb.debian.org/debian unstable/main i386 python3-all i386 3.12.7-1 [1052 B] Get: 97 http://deb.debian.org/debian unstable/main i386 python3-dateutil all 2.9.0-3 [79.3 kB] Get: 98 http://deb.debian.org/debian unstable/main i386 python3-typeshed all 0.0~git20231111.6764465-3 [1258 kB] Get: 99 http://deb.debian.org/debian unstable/main i386 python3-arrow all 1.3.0-1.1 [64.7 kB] Get: 100 http://deb.debian.org/debian unstable/main i386 python3-babel all 2.16.0-1 [114 kB] Get: 101 http://deb.debian.org/debian unstable/main i386 python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 102 http://deb.debian.org/debian unstable/main i386 python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 103 http://deb.debian.org/debian unstable/main i386 python3-charset-normalizer i386 3.4.0-1+b1 [139 kB] Get: 104 http://deb.debian.org/debian unstable/main i386 python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 105 http://deb.debian.org/debian unstable/main i386 python3-roman all 4.2-1 [10.4 kB] Get: 106 http://deb.debian.org/debian unstable/main i386 python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 107 http://deb.debian.org/debian unstable/main i386 python3-greenlet i386 3.1.0-1+b1 [183 kB] Get: 108 http://deb.debian.org/debian unstable/main i386 python3-idna all 3.8-2 [41.6 kB] Get: 109 http://deb.debian.org/debian unstable/main i386 python3-imagesize all 1.4.1-1 [6688 B] Get: 110 http://deb.debian.org/debian unstable/main i386 python3-infinity all 1.5-3 [4384 B] Get: 111 http://deb.debian.org/debian unstable/main i386 python3-iniconfig all 1.1.1-2 [6396 B] Get: 112 http://deb.debian.org/debian unstable/main i386 python3-markupsafe i386 2.1.5-1+b2 [13.9 kB] Get: 113 http://deb.debian.org/debian unstable/main i386 python3-jinja2 all 3.1.3-1 [119 kB] Get: 114 http://deb.debian.org/debian unstable/main i386 python3-packaging all 24.1-1 [45.8 kB] Get: 115 http://deb.debian.org/debian unstable/main i386 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 116 http://deb.debian.org/debian unstable/main i386 python3-psycopg2 i386 2.9.9-2+b1 [134 kB] Get: 117 http://deb.debian.org/debian unstable/main i386 python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 118 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.3.3-1 [249 kB] Get: 119 http://deb.debian.org/debian unstable/main i386 python3-urllib3 all 2.0.7-2 [111 kB] Get: 120 http://deb.debian.org/debian unstable/main i386 python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 121 http://deb.debian.org/debian unstable/main i386 python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 122 http://deb.debian.org/debian unstable/main i386 sphinx-common all 7.4.7-4 [731 kB] Get: 123 http://deb.debian.org/debian unstable/main i386 python3-sphinx all 7.4.7-4 [588 kB] Get: 124 http://deb.debian.org/debian unstable/main i386 python3-sqlalchemy all 2.0.32+ds1-1 [1196 kB] Get: 125 http://deb.debian.org/debian unstable/main i386 python3-sqlalchemy-utils all 0.41.0-4 [67.6 kB] Fetched 109 MB in 1s (108 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libjson-perl. (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 ... 19953 files and directories currently installed.) Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../01-libio-pty-perl_1%3a1.20-1+b2_i386.deb ... Unpacking libio-pty-perl (1:1.20-1+b2) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../02-libipc-run-perl_20231003.0-2_all.deb ... Unpacking libipc-run-perl (20231003.0-2) ... Selecting previously unselected package netbase. Preparing to unpack .../03-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../04-postgresql-client-common_266_all.deb ... Unpacking postgresql-client-common (266) ... Selecting previously unselected package openssl. Preparing to unpack .../05-openssl_3.3.2-2_i386.deb ... Unpacking openssl (3.3.2-2) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../06-ssl-cert_1.1.3_all.deb ... Unpacking ssl-cert (1.1.3) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../07-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package ucf. Preparing to unpack .../08-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../09-postgresql-common_266_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (266) ... Selecting previously unselected package libpython3.12-minimal:i386. Preparing to unpack .../10-libpython3.12-minimal_3.12.7-3_i386.deb ... Unpacking libpython3.12-minimal:i386 (3.12.7-3) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../11-libexpat1_2.6.4-1_i386.deb ... Unpacking libexpat1:i386 (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../12-python3.12-minimal_3.12.7-3_i386.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:i386 (3.12.7-3) ... Setting up libexpat1:i386 (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... 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 ... 20937 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_i386.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package tzdata. Preparing to unpack .../02-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:i386. Preparing to unpack .../03-libkrb5support0_1.21.3-3_i386.deb ... Unpacking libkrb5support0:i386 (1.21.3-3) ... Selecting previously unselected package libcom-err2:i386. Preparing to unpack .../04-libcom-err2_1.47.1-1+b1_i386.deb ... Unpacking libcom-err2:i386 (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:i386. Preparing to unpack .../05-libk5crypto3_1.21.3-3_i386.deb ... Unpacking libk5crypto3:i386 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:i386. Preparing to unpack .../06-libkeyutils1_1.6.3-4_i386.deb ... Unpacking libkeyutils1:i386 (1.6.3-4) ... Selecting previously unselected package libkrb5-3:i386. Preparing to unpack .../07-libkrb5-3_1.21.3-3_i386.deb ... Unpacking libkrb5-3:i386 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:i386. Preparing to unpack .../08-libgssapi-krb5-2_1.21.3-3_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../09-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:i386. Preparing to unpack .../10-libtirpc3t64_1.3.4+ds-1.3+b1_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libtirpc.so.3 to /lib/i386-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/i386-linux-gnu/libtirpc.so.3.0.0 to /lib/i386-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:i386 (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:i386. Preparing to unpack .../11-libnsl2_1.3.0-3+b3_i386.deb ... Unpacking libnsl2:i386 (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../12-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:i386. Preparing to unpack .../13-libreadline8t64_8.2-5_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-5) ... Selecting previously unselected package libpython3.12-stdlib:i386. Preparing to unpack .../14-libpython3.12-stdlib_3.12.7-3_i386.deb ... Unpacking libpython3.12-stdlib:i386 (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../15-python3.12_3.12.7-3_i386.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../16-libpython3-stdlib_3.12.7-1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.12.7-1) ... Setting up python3-minimal (3.12.7-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 ... 21992 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_i386.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:i386. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_i386.deb ... Unpacking libpython3.13-minimal:i386 (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_i386.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sgml-base. Preparing to unpack .../03-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../04-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../05-libmagic-mgc_1%3a5.45-3+b1_i386.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../06-libmagic1t64_1%3a5.45-3+b1_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.45-3+b1_i386.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.22.5-2_i386.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../09-libuchardet0_0.0.8-1+b2_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../10-groff-base_1.23.0-5_i386.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../11-bsdextrautils_2.40.2-11_i386.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../12-libpipeline1_1.5.8-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../13-man-db_2.13.0-1_i386.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.19-4_i386.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../15-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../16-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../17-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 .../18-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../19-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../21-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../22-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:i386. Preparing to unpack .../25-libelf1t64_0.192-4_i386.deb ... Unpacking libelf1t64:i386 (0.192-4) ... 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-5+b1_i386.deb ... Unpacking libicu72:i386 (72.1-5+b1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_i386.deb ... Unpacking libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_i386.deb ... Unpacking gettext (0.22.5-2) ... 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.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../33-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../34-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../35-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../36-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../37-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../38-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../39-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../40-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../41-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../42-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../43-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../44-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package xml-core. Preparing to unpack .../45-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package docutils-common. Preparing to unpack .../46-docutils-common_0.21.2+dfsg-2_all.deb ... Unpacking docutils-common (0.21.2+dfsg-2) ... Selecting previously unselected package libedit2:i386. Preparing to unpack .../47-libedit2_3.1-20240808-1_i386.deb ... Unpacking libedit2:i386 (3.1-20240808-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../48-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-underscore. Preparing to unpack .../49-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../50-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package libsasl2-modules-db:i386. Preparing to unpack .../51-libsasl2-modules-db_2.1.28+dfsg1-8_i386.deb ... Unpacking libsasl2-modules-db:i386 (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:i386. Preparing to unpack .../52-libsasl2-2_2.1.28+dfsg1-8_i386.deb ... Unpacking libsasl2-2:i386 (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:i386. Preparing to unpack .../53-libldap-2.5-0_2.5.18+dfsg-3+b1_i386.deb ... Unpacking libldap-2.5-0:i386 (2.5.18+dfsg-3+b1) ... Selecting previously unselected package libz3-4:i386. Preparing to unpack .../54-libz3-4_4.13.3-1_i386.deb ... Unpacking libz3-4:i386 (4.13.3-1) ... Selecting previously unselected package libllvm19:i386. Preparing to unpack .../55-libllvm19_1%3a19.1.3-2_i386.deb ... Unpacking libllvm19:i386 (1:19.1.3-2) ... Selecting previously unselected package libpq5:i386. Preparing to unpack .../56-libpq5_17.1-1_i386.deb ... Unpacking libpq5:i386 (17.1-1) ... Selecting previously unselected package libpython3.13-stdlib:i386. Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_i386.deb ... Unpacking libpython3.13-stdlib:i386 (3.13.0-2) ... Selecting previously unselected package libxslt1.1:i386. Preparing to unpack .../58-libxslt1.1_1.1.35-1.1+b1_i386.deb ... Unpacking libxslt1.1:i386 (1.1.35-1.1+b1) ... Selecting previously unselected package postgresql-client-17. Preparing to unpack .../59-postgresql-client-17_17.1-1_i386.deb ... Unpacking postgresql-client-17 (17.1-1) ... Selecting previously unselected package postgresql-17. Preparing to unpack .../60-postgresql-17_17.1-1_i386.deb ... Unpacking postgresql-17 (17.1-1) ... Selecting previously unselected package postgresql. Preparing to unpack .../61-postgresql_17+266_all.deb ... Unpacking postgresql (17+266) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../62-python-babel-localedata_2.16.0-1_all.deb ... Unpacking python-babel-localedata (2.16.0-1) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../63-python3-alabaster_0.7.16-0.1_all.deb ... Unpacking python3-alabaster (0.7.16-0.1) ... Selecting previously unselected package python3.13. Preparing to unpack .../64-python3.13_3.13.0-2_i386.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../65-python3-all_3.12.7-1_i386.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../66-python3-dateutil_2.9.0-3_all.deb ... Unpacking python3-dateutil (2.9.0-3) ... Selecting previously unselected package python3-typeshed. Preparing to unpack .../67-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... Selecting previously unselected package python3-arrow. Preparing to unpack .../68-python3-arrow_1.3.0-1.1_all.deb ... Unpacking python3-arrow (1.3.0-1.1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../69-python3-babel_2.16.0-1_all.deb ... Unpacking python3-babel (2.16.0-1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../70-python3-certifi_2024.8.30+dfsg-1_all.deb ... Unpacking python3-certifi (2024.8.30+dfsg-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../71-python3-chardet_5.2.0+dfsg-1_all.deb ... Unpacking python3-chardet (5.2.0+dfsg-1) ... Selecting previously unselected package python3-charset-normalizer. Preparing to unpack .../72-python3-charset-normalizer_3.4.0-1+b1_i386.deb ... Unpacking python3-charset-normalizer (3.4.0-1+b1) ... Selecting previously unselected package python3-defusedxml. Preparing to unpack .../73-python3-defusedxml_0.7.1-2_all.deb ... Unpacking python3-defusedxml (0.7.1-2) ... Selecting previously unselected package python3-roman. Preparing to unpack .../74-python3-roman_4.2-1_all.deb ... Unpacking python3-roman (4.2-1) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../75-python3-docutils_0.21.2+dfsg-2_all.deb ... Unpacking python3-docutils (0.21.2+dfsg-2) ... Selecting previously unselected package python3-greenlet. Preparing to unpack .../76-python3-greenlet_3.1.0-1+b1_i386.deb ... Unpacking python3-greenlet (3.1.0-1+b1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../77-python3-idna_3.8-2_all.deb ... Unpacking python3-idna (3.8-2) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../78-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-infinity. Preparing to unpack .../79-python3-infinity_1.5-3_all.deb ... Unpacking python3-infinity (1.5-3) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../80-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../81-python3-markupsafe_2.1.5-1+b2_i386.deb ... Unpacking python3-markupsafe (2.1.5-1+b2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../82-python3-jinja2_3.1.3-1_all.deb ... Unpacking python3-jinja2 (3.1.3-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../83-python3-packaging_24.1-1_all.deb ... Unpacking python3-packaging (24.1-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../84-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-psycopg2. Preparing to unpack .../85-python3-psycopg2_2.9.9-2+b1_i386.deb ... Unpacking python3-psycopg2 (2.9.9-2+b1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../86-python3-pygments_2.18.0+dfsg-1_all.deb ... Unpacking python3-pygments (2.18.0+dfsg-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../87-python3-pytest_8.3.3-1_all.deb ... Unpacking python3-pytest (8.3.3-1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../88-python3-urllib3_2.0.7-2_all.deb ... Unpacking python3-urllib3 (2.0.7-2) ... Selecting previously unselected package python3-requests. Preparing to unpack .../89-python3-requests_2.32.3+dfsg-1_all.deb ... Unpacking python3-requests (2.32.3+dfsg-1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../90-python3-snowballstemmer_2.2.0-4_all.deb ... Unpacking python3-snowballstemmer (2.2.0-4) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../91-sphinx-common_7.4.7-4_all.deb ... Unpacking sphinx-common (7.4.7-4) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../92-python3-sphinx_7.4.7-4_all.deb ... Unpacking python3-sphinx (7.4.7-4) ... Selecting previously unselected package python3-sqlalchemy. Preparing to unpack .../93-python3-sqlalchemy_2.0.32+ds1-1_all.deb ... Unpacking python3-sqlalchemy (2.0.32+ds1-1) ... Selecting previously unselected package python3-sqlalchemy-utils. Preparing to unpack .../94-python3-sqlalchemy-utils_0.41.0-4_all.deb ... Unpacking python3-sqlalchemy-utils (0.41.0-4) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:i386 (1.5.8-1) ... Setting up libkeyutils1:i386 (1.6.3-4) ... Setting up libicu72:i386 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libio-pty-perl (1:1.20-1+b2) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libdebhelper-perl (13.20) ... Setting up libedit2:i386 (3.1-20240808-1) ... Setting up libmagic1t64:i386 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:i386 (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:i386 (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:i386 (1.21.3-3) ... Setting up libsasl2-modules-db:i386 (2.1.28+dfsg1-8) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Dec 18 12:26:06 UTC 2025. Universal Time is now: Thu Dec 18 12:26:06 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:i386 (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libz3-4:i386 (4.13.3-1) ... Setting up autopoint (0.22.5-2) ... Setting up libipc-run-perl (20231003.0-2) ... Setting up libk5crypto3:i386 (1.21.3-3) ... Setting up libsasl2-2:i386 (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:i386 (0.0.8-1+b2) ... Setting up libjson-perl (4.10000-1) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libkrb5-3:i386 (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up openssl (3.3.2-2) ... Setting up readline-common (8.2-5) ... Setting up libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-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 postgresql-client-common (266) ... Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up libllvm19:i386 (1:19.1.3-2) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up libldap-2.5-0:i386 (2.5.18+dfsg-3+b1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up ssl-cert (1.1.3) ... hostname: Name or service not known make-ssl-cert: Could not get FQDN, using 'infom08-i386'. make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run make-ssl-cert: 'make-ssl-cert generate-default-snakeoil --force-overwrite' make-ssl-cert: again. Setting up libgssapi-krb5-2:i386 (1.21.3-3) ... Setting up ucf (3.0043+nmu1) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:i386 (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up xml-core (0.19) ... Setting up libxslt1.1:i386 (1.1.35-1.1+b1) ... Setting up libpython3.13-stdlib:i386 (3.13.0-2) ... Setting up libtirpc3t64:i386 (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpq5:i386 (17.1-1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up sphinx-common (7.4.7-4) ... Setting up postgresql-common (266) ... Creating config file /etc/postgresql-common/createcluster.conf with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up libnsl2:i386 (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:i386 (3.12.7-3) ... Setting up postgresql-client-17 (17.1-1) ... update-alternatives: using /usr/share/postgresql/17/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3-stdlib:i386 (3.12.7-1) ... Setting up postgresql-17 (17.1-1) ... Creating new PostgreSQL cluster 17/main ... /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/17/main ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... /usr/share/zoneinfo/Etc/GMT+12 creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up python3 (3.12.7-1) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-markupsafe (2.1.5-1+b2) ... Setting up python3-roman (4.2-1) ... Setting up python3-jinja2 (3.1.3-1) ... Setting up python3-packaging (24.1-1) ... Setting up python3-certifi (2024.8.30+dfsg-1) ... Setting up python3-typeshed (0.0~git20231111.6764465-3) ... Setting up python3-snowballstemmer (2.2.0-4) ... Setting up python3-greenlet (3.1.0-1+b1) ... Setting up python3-idna (3.8-2) ... Setting up python3-psycopg2 (2.9.9-2+b1) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-urllib3 (2.0.7-2) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-infinity (1.5-3) ... Setting up python3-dateutil (2.9.0-3) ... Setting up postgresql (17+266) ... Setting up python3-imagesize (1.4.1-1) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-arrow (1.3.0-1.1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-defusedxml (0.7.1-2) ... Setting up python3-charset-normalizer (3.4.0-1+b1) ... Setting up python3-pytest (8.3.3-1) ... Setting up python3-alabaster (0.7.16-0.1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-sqlalchemy (2.0.32+ds1-1) ... Setting up python3-inflect (7.3.1-2) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-babel (2.16.0-1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3-pygments (2.18.0+dfsg-1) ... Setting up python3-chardet (5.2.0+dfsg-1) ... Setting up python3-requests (2.32.3+dfsg-1) ... Setting up dh-python (6.20241024) ... Setting up python3-sqlalchemy-utils (0.41.0-4) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.21.2+dfsg-2) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.21.2+dfsg-2) ... Setting up python3-sphinx (7.4.7-4) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. 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 I: Building the package I: Running cd /build/reproducible-path/sqlalchemy-i18n-1.1.0/ && 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 > ../sqlalchemy-i18n_1.1.0-2_source.changes dpkg-buildpackage: info: source package sqlalchemy-i18n dpkg-buildpackage: info: source version 1.1.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Alexandre Detiste dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py clean running clean removing '/build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build' (and everything under it) 'build/bdist.linux-i686' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it I: pybuild base:311: python3.12 setup.py clean running clean removing '/build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/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 dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py config running config I: pybuild base:311: python3.12 setup.py config running config debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' dh_auto_build I: pybuild base:311: /usr/bin/python3.13 setup.py build running build running build_py creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/exc.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n running egg_info creating SQLAlchemy_i18n.egg-info writing SQLAlchemy_i18n.egg-info/PKG-INFO writing dependency_links to SQLAlchemy_i18n.egg-info/dependency_links.txt writing requirements to SQLAlchemy_i18n.egg-info/requires.txt writing top-level names to SQLAlchemy_i18n.egg-info/top_level.txt writing manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' reading manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'docs' no previously-included directories found matching 'docs/_build' warning: no previously-included files found matching 'docs/_themes/.git' adding license file 'LICENSE' writing manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' I: pybuild base:311: /usr/bin/python3 setup.py build running build running build_py creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n copying sqlalchemy_i18n/exc.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n running egg_info writing SQLAlchemy_i18n.egg-info/PKG-INFO writing dependency_links to SQLAlchemy_i18n.egg-info/dependency_links.txt writing requirements to SQLAlchemy_i18n.egg-info/requires.txt writing top-level names to SQLAlchemy_i18n.egg-info/top_level.txt reading manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'docs' no previously-included directories found matching 'docs/_build' warning: no previously-included files found matching 'docs/_themes/.git' adding license file 'LICENSE' writing manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx docs docs/_build/html Running Sphinx v7.4.7 loading translations [en]... done making output directory... done WARNING: html_static_path entry '_static' does not exist Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: `intersphinx_mapping = {'': ('http://docs.python.org/', None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping loading intersphinx inventory 'main_inventory' from http://docs.python.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to : HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://docs.python.org/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 7 source files that are out of date updating environment: [new config] 7 added, 0 changed, 0 removed reading sources... [ 14%] basic reading sources... [ 29%] config reading sources... [ 43%] index reading sources... [ 57%] installation reading sources... [ 71%] license reading sources... [ 86%] queries reading sources... [100%] quickstart /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:84: WARNING: Literal block expected; none found. /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:87: ERROR: Unexpected indentation. /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:89: ERROR: Unexpected indentation. /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:90: WARNING: Block quote ends without a blank line; unexpected unindent. /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:91: WARNING: Block quote ends without a blank line; unexpected unindent. looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [ 14%] basic writing output... [ 29%] config writing output... [ 43%] index writing output... [ 57%] installation writing output... [ 71%] license writing output... [ 86%] queries writing output... [100%] quickstart generating indices... genindex done highlighting module code... writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 8 warnings. The HTML pages are in docs/_build/html. make[1]: Leaving directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' cp -r tests /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build python3 /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/tests/setup-db-and-run-tests.py The files belonging to this database system will be owned by user "pbuilder1". This user must also own the server process. The database cluster will be initialized with locale "C". The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/tmppjropzeq/data ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... /usr/share/zoneinfo/Etc/GMT+12 creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: /usr/lib/postgresql/17/bin/pg_ctl -D /tmp/tmppjropzeq/data -l logfile start 2025-12-18 00:26:45.008 /USR/SHARE/ZONEINFO/ETC/GMT [28630] LOG: starting PostgreSQL 17.1 (Debian 17.1-1) on i686-pc-linux-gnu, compiled by gcc (Debian 14.2.0-8) 14.2.0, 32-bit 2025-12-18 00:26:45.008 /USR/SHARE/ZONEINFO/ETC/GMT [28630] LOG: listening on IPv4 address "127.0.0.1", port 56033 2025-12-18 00:26:45.009 /USR/SHARE/ZONEINFO/ETC/GMT [28630] LOG: listening on Unix socket "/tmp/tmppjropzeq/tmp/.s.PGSQL.56033" 2025-12-18 00:26:45.014 /USR/SHARE/ZONEINFO/ETC/GMT [28638] LOG: database system was shut down at 2025-12-18 00:26:43 /USR/SHARE/ZONEINFO/ETC/GMT 2025-12-18 00:26:45.023 /USR/SHARE/ZONEINFO/ETC/GMT [28630] LOG: database system is ready to accept connections running initdb starting server ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/sqlalchemy-i18n-1.1.0 plugins: typeguard-4.4.1 collected 119 items tests/test_common_base_class.py EE [ 1%] tests/test_comparator.py EEEE [ 5%] tests/test_composite_primary_key.py EE [ 6%] tests/test_configuration.py EE [ 8%] tests/test_current_translation_property.py EEEEEE [ 13%] tests/test_current_translation_property_with_locale.py EE [ 15%] tests/test_custom_base_class.py E [ 15%] tests/test_expressions.py . [ 16%] tests/test_fallback_locale_as_callable.py EEEE [ 20%] tests/test_fallback_locale_without_class_default.py EEEE [ 23%] tests/test_fallback_translation.py EEEEEE [ 28%] tests/test_find_translations.py EEEE [ 31%] tests/test_hybrid_property_as_dynamic_source_locale.py EE [ 33%] tests/test_hybrid_property_exclusion.py FE [ 35%] tests/test_join_expressions.py EEEEEEEE [ 42%] tests/test_joined_loading.py EEEEEEEEEE [ 50%] tests/test_joined_table_inheritance.py EEEEEEEEEEEEEEEE [ 63%] tests/test_property_collision.py . [ 64%] tests/test_relationships.py EE [ 66%] tests/test_translatable.py EEEEEEEEEEEEEEEE [ 79%] tests/test_translation_auto_creation.py EE [ 81%] tests/test_translation_auto_creation_with_non_nullables.py EE [ 83%] tests/test_translation_mapping.py EEEE2025-12-18 00:26:59.439 /USR/SHARE/ZONEINFO/ETC/GMT [29679] FATAL: sorry, too many clients already E2025-12-18 00:26:59.775 /USR/SHARE/ZONEINFO/ETC/GMT [29683] FATAL: sorry, too many clients already E2025-12-18 00:27:00.015 /USR/SHARE/ZONEINFO/ETC/GMT [29687] FATAL: sorry, too many clients already E2025-12-18 00:27:00.253 /USR/SHARE/ZONEINFO/ETC/GMT [29688] FATAL: sorry, too many clients already E2025-12-18 00:27:00.506 /USR/SHARE/ZONEINFO/ETC/GMT [29689] FATAL: sorry, too many clients already E2025-12-18 00:27:00.739 /USR/SHARE/ZONEINFO/ETC/GMT [29691] FATAL: sorry, too many clients already E2025-12-18 00:27:00.972 /USR/SHARE/ZONEINFO/ETC/GMT [29702] FATAL: sorry, too many clients already E2025-12-18 00:27:01.205 /USR/SHARE/ZONEINFO/ETC/GMT [29739] FATAL: sorry, too many clients already E2025-12-18 00:27:01.463 /USR/SHARE/ZONEINFO/ETC/GMT [29808] FATAL: sorry, too many clients already E2025-12-18 00:27:01.742 /USR/SHARE/ZONEINFO/ETC/GMT [29846] FATAL: sorry, too many clients already E2025-12-18 00:27:01.990 /USR/SHARE/ZONEINFO/ETC/GMT [29874] FATAL: sorry, too many clients already E2025-12-18 00:27:02.339 /USR/SHARE/ZONEINFO/ETC/GMT [29889] FATAL: sorry, too many clients already E2025-12-18 00:27:02.591 /USR/SHARE/ZONEINFO/ETC/GMT [29900] FATAL: sorry, too many clients already E2025-12-18 00:27:02.850 /USR/SHARE/ZONEINFO/ETC/GMT [29926] FATAL: sorry, too many clients already E2025-12-18 00:27:03.093 /USR/SHARE/ZONEINFO/ETC/GMT [29983] FATAL: sorry, too many clients already E2025-12-18 00:27:03.331 /USR/SHARE/ZONEINFO/ETC/GMT [30050] FATAL: sorry, too many clients already E [100%] ==================================== ERRORS ==================================== _ ERROR at setup of TestDeclarative.test_translatable_dict_copied_to_each_child_class _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'TextItem' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestClassic.test_translatable_dict_copied_to_each_child_class _ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.textitems) tests/test_common_base_class.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('textitems', MetaData(), Column('id', Integer(), table=, primary_key=True, nullable=False), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestDeclarative.test_attribute_accessor_for_unknown_locale _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_attribute_accessors __________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestClassic.test_attribute_accessor_for_unknown_locale ___ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_attribute_accessors ____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____________ ERROR at setup of TestDeclarative.test_relationships _____________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______________ ERROR at setup of TestClassic.test_relationships _______________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), C...y_key=True, nullable=False), Column('id2', Integer(), table=
, primary_key=True, nullable=False), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestTranslationBaseCustomization.test_customize_foreign_key_args _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['fi', 'en'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestTranslationBaseCustomization.test_customize_relationships_args _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['fi', 'en'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_as_object_property ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['fi', 'en'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___________ ERROR at setup of TestDeclarative.test_as_class_property ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________________ ERROR at setup of TestDeclarative.test_setter _________________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestClassic.test_as_object_property _____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____________ ERROR at setup of TestClassic.test_as_class_property _____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________________ ERROR at setup of TestClassic.test_setter ___________________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___ ERROR at setup of TestDeclarative.test_converts_locale_object_to_unicode ___ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestClassic.test_converts_locale_object_to_unicode _____ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('arti...able=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestDeclarative.test_translatable_dict_copied_to_each_child_class _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_hybrid_properties_support_callable_fallback_locales _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestDeclarative.test_locale_fallback ____________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestClassic.test_hybrid_properties_support_callable_fallback_locales _ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaDat...able=False), Column('locale', CHAR(length=2), table=
, default=ScalarElementColumnDefault('en')), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______________ ERROR at setup of TestClassic.test_locale_fallback ______________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaDat...able=False), Column('locale', CHAR(length=2), table=
, default=ScalarElementColumnDefault('en')), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestDeclarative.test_hybrid_properties_support_callable_fallback_locales _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestDeclarative.test_locale_fallback ____________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestClassic.test_hybrid_properties_support_callable_fallback_locales _ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article...able=False), Column('locale', CHAR(length=2), table=
, default=ScalarElementColumnDefault('en')), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______________ ERROR at setup of TestClassic.test_locale_fallback ______________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article...able=False), Column('locale', CHAR(length=2), table=
, default=ScalarElementColumnDefault('en')), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestDeclarative.test_as_object_property_with_force_locale __ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___________ ERROR at setup of TestDeclarative.test_as_class_property ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________________ ERROR at setup of TestDeclarative.test_setter _________________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestClassic.test_as_object_property_with_force_locale ____ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____________ ERROR at setup of TestClassic.test_as_class_property _____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________________ ERROR at setup of TestClassic.test_setter ___________________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________ ERROR at setup of TestDeclarative.test_with_full_confidence __________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________ ERROR at setup of TestDeclarative.test_with_varying_confidence ________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi', 'sv'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___________ ERROR at setup of TestClassic.test_with_full_confidence ____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________ ERROR at setup of TestClassic.test_with_varying_confidence __________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __ ERROR at setup of TestDeclarative.test_joinedload_for_current_translation ___ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_hybrid_property_as_dynamic_source_locale.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi', 'sv'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____ ERROR at setup of TestClassic.test_joinedload_for_current_translation _____ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_hybrid_property_as_dynamic_source_locale.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('arti...
), Column('_locale', CHAR(length=2), table=
, default=ScalarElementColumnDefault('en')), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____ ERROR at setup of TestClassic.test_does_not_generate_hybrid_properties ____ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(...e=
, default=ScalarElementColumnDefault('en')), Column('word_count', Integer(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___ ERROR at setup of TestDeclarative.test_current_translation_as_expression ___ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _________ ERROR at setup of TestDeclarative.test_order_by_translation __________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestDeclarative.test_fallback_locale_as_expression _____ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______________ ERROR at setup of TestDeclarative.test_querying ________________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestClassic.test_current_translation_as_expression _____ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___________ ERROR at setup of TestClassic.test_order_by_translation ____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _______ ERROR at setup of TestClassic.test_fallback_locale_as_expression _______ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________________ ERROR at setup of TestClassic.test_querying __________________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __ ERROR at setup of TestDeclarative.test_joinedload_for_current_translation ___ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_joined_loading.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_contains_eager_for_current_translation _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_joined_loading.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestDeclarative.test_joinedload_for_single_translation ___ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_joined_loading.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestDeclarative.test_joinedload_for_attr_accessor ______ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_joined_loading.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____ ERROR at setup of TestDeclarative.test_joinedload_for_all_translations ____ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_joined_loading.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____ ERROR at setup of TestClassic.test_joinedload_for_current_translation _____ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_joined_loading.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __ ERROR at setup of TestClassic.test_contains_eager_for_current_translation ___ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_joined_loading.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____ ERROR at setup of TestClassic.test_joinedload_for_single_translation _____ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_joined_loading.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _______ ERROR at setup of TestClassic.test_joinedload_for_attr_accessor ________ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_joined_loading.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______ ERROR at setup of TestClassic.test_joinedload_for_all_translations ______ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_joined_loading.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ________ ERROR at setup of TestDeclarative.test_auto_creates_relations _________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestDeclarative.test_auto_creates_current_translation ____ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________ ERROR at setup of TestDeclarative.test_translatable_attributes ________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______ ERROR at setup of TestDeclarative.test_inherits_child_properties _______ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_translated_columns ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_property_delegators __________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ______________ ERROR at setup of TestDeclarative.test_table_name _______________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _________ ERROR at setup of TestDeclarative.test_inherits_parent_table _________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestClassic.test_auto_creates_relations ___________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____ ERROR at setup of TestClassic.test_auto_creates_current_translation ______ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________ ERROR at setup of TestClassic.test_translatable_attributes __________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________ ERROR at setup of TestClassic.test_inherits_child_properties _________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_translated_columns _____________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_property_delegators ____________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ________________ ERROR at setup of TestClassic.test_table_name _________________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___________ ERROR at setup of TestClassic.test_inherits_parent_table ___________ self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, polymorphic_on=self.text_item.c.discriminator) tests/test_joined_table_inheritance.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=), Column('discriminator', Unicode(length=255), table=), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___________ ERROR at setup of TestDeclarative.test_nullify_relation ____________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Category' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____________ ERROR at setup of TestClassic.test_nullify_relation ______________ self = def create_mappers(self): > sa.orm.mapper(self.Article, self.article) tests/test_relationships.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('i...), table=
, primary_key=True, nullable=False), Column('content', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ________ ERROR at setup of TestDeclarative.test_auto_creates_relations _________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________ ERROR at setup of TestDeclarative.test_translatable_attributes ________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______ ERROR at setup of TestDeclarative.test_relationship_consistency ________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_property_delegators __________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestDeclarative.test_commit_session _____________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________________ ERROR at setup of TestDeclarative.test_delete _________________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_translated_columns ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_appends_locale_column_to_translation_table _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestClassic.test_auto_creates_relations ___________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________ ERROR at setup of TestClassic.test_translatable_attributes __________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________ ERROR at setup of TestClassic.test_relationship_consistency __________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_property_delegators ____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______________ ERROR at setup of TestClassic.test_commit_session _______________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________________ ERROR at setup of TestClassic.test_delete ___________________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_translated_columns _____________ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestClassic.test_appends_locale_column_to_translation_table _ self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.create_tables() self.create_models() > self.create_mappers() tests/__init__.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___ ERROR at setup of TestDeclarative.test_auto_creates_translation_objects ____ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_translation_auto_creation.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestClassic.test_auto_creates_translation_objects ______ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_translation_auto_creation.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/__init__.py:213: in create_mappers sa.orm.mapper(self.Article, self.article) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('article', MetaData(), Column('id', Integer(), table=
, primary_key=True, nullable=False), Column('description', UnicodeText(), table=
), schema=None)) kw = {} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestDeclarative.test_auto_sets_nullables_as_empty_strings __ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'ExtendedArticle' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) tests/test_translation_auto_creation_with_non_nullables.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:57: in setup_method sa.orm.configure_mappers() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2235: in _configure_property mapper._adapt_inherited_property(key, prop, init) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2051: in _adapt_inherited_property self._configure_property(key, prop, init=False, setparent=False) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2232: in _configure_property prop.instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/relationships.py:523: in instrument_class attributes.register_descriptor( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2646: in register_descriptor descriptor = InstrumentedAttribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:231: in __init__ self.dispatch._update(base[key].dispatch) /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestClassic.test_auto_sets_nullables_as_empty_strings ____ self = method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) tests/test_translation_auto_creation_with_non_nullables.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/__init__.py:140: in setup_method self.create_mappers() tests/test_translation_auto_creation_with_non_nullables.py:135: in create_mappers sa.orm.mapper(self.Article, self.article, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arg = (.Article'>, Table('...ription', UnicodeText(), table=
), Column('discriminator', Unicode(length=255), table=
), schema=None)) kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=
)} def _mapper_fn(*arg: Any, **kw: Any) -> NoReturn: """Placeholder for the now-removed ``mapper()`` function. Classical mappings should be performed using the :meth:`_orm.registry.map_imperatively` method. This symbol remains in SQLAlchemy 2.0 to suit the deprecated use case of using the ``mapper()`` function as a target for ORM event listeners, which failed to be marked as deprecated in the 1.4 series. Global ORM mapper listeners should instead use the :class:`_orm.Mapper` class as the target. .. versionchanged:: 2.0 The ``mapper()`` function was removed; the symbol remains temporarily as a placeholder for the event listening use case. """ > raise InvalidRequestError( "The 'sqlalchemy.orm.mapper()' function is removed as of " "SQLAlchemy 2.0. Use the " "'sqlalchemy.orm.registry.map_imperatively()` " "method of the ``sqlalchemy.orm.registry`` class to perform " "classical mapping." ) E sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestDeclarative.test_proxy_contains _____________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_translation_mapping_attribute_getter __ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_attribute_accessor_for_unknown_locale _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_proxy_not_contains ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True self.connection = self.engine.connect() self.connection.query_count = 0 self.Model = declarative_base() self.create_models() if self.configure_mappers: > sa.orm.configure_mappers() tests/__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4173: in configure_mappers _configure_registries(_all_registries(), cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _________________ ERROR at setup of TestDeclarative.test_items _________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError _______________ ERROR at setup of TestDeclarative.test_iteritems _______________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError _______________ ERROR at setup of TestDeclarative.test_set_item ________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError _________________ ERROR at setup of TestDeclarative.test_repr __________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError _________________ ERROR at setup of TestDeclarative.test_iter __________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ________________ ERROR at setup of TestDeclarative.test_values _________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ______________ ERROR at setup of TestClassic.test_proxy_contains _______________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ___ ERROR at setup of TestClassic.test_translation_mapping_attribute_getter ____ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ___ ERROR at setup of TestClassic.test_attribute_accessor_for_unknown_locale ___ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ____________ ERROR at setup of TestClassic.test_proxy_not_contains _____________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ___________________ ERROR at setup of TestClassic.test_items ___________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError _________________ ERROR at setup of TestClassic.test_iteritems _________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError _________________ ERROR at setup of TestClassic.test_set_item __________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ___________________ ERROR at setup of TestClassic.test_repr ____________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError ___________________ ERROR at setup of TestClassic.test_iter ____________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError __________________ ERROR at setup of TestClassic.test_values ___________________ self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True def __init__( self, engine: Engine, connection: Optional[PoolProxiedConnection] = None, _has_events: Optional[bool] = None, _allow_revalidate: bool = True, _allow_autobegin: bool = True, ): """Construct a new Connection.""" self.engine = engine self.dialect = dialect = engine.dialect if connection is None: try: > self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError The above exception was the direct cause of the following exception: self = method = > def setup_method(self, method): self.metadata = sa.MetaData() self.engine = sa.create_engine(self.engine_uri) # self.engine.echo = True > self.connection = self.engine.connect() tests/__init__.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3278: in connect return self._connection_cls(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:148: in __init__ Connection._handle_dbapi_exception_noconnection( /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:2442: in _handle_dbapi_exception_noconnection raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:146: in __init__ self._dbapi_connection = engine.raw_connection() /usr/lib/python3/dist-packages/sqlalchemy/engine/base.py:3302: in raw_connection return self.pool.connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:449: in connect return _ConnectionFairy._checkout(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:1263: in _checkout fairy = _ConnectionRecord.checkout(pool) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:712: in checkout rec = pool._do_get() /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:179: in _do_get with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/impl.py:177: in _do_get return self._create_connection() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:390: in _create_connection return _ConnectionRecord(self) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:674: in __init__ self.__connect() /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:900: in __connect with util.safe_reraise(): /usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py:146: in __exit__ raise exc_value.with_traceback(exc_tb) /usr/lib/python3/dist-packages/sqlalchemy/pool/base.py:896: in __connect self.dbapi_connection = connection = pool._invoke_creator(self) /usr/lib/python3/dist-packages/sqlalchemy/engine/create.py:643: in connect return dialect.connect(*cargs, **cparams) /usr/lib/python3/dist-packages/sqlalchemy/engine/default.py:621: in connect return self.loaded_dbapi.connect(*cargs, **cparams) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dsn = 'host=localhost dbname=sqlalchemy_i18n_test user=postgres' connection_factory = None, cursor_factory = None kwargs = {'dbname': 'sqlalchemy_i18n_test', 'host': 'localhost', 'user': 'postgres'} kwasync = {} def connect(dsn=None, connection_factory=None, cursor_factory=None, **kwargs): """ Create a new database connection. The connection parameters can be specified as a string: conn = psycopg2.connect("dbname=test user=postgres password=secret") or using a set of keyword arguments: conn = psycopg2.connect(database="test", user="postgres", password="secret") Or as a mix of both. The basic connection parameters are: - *dbname*: the database name - *database*: the database name (only as keyword argument) - *user*: user name used to authenticate - *password*: password used to authenticate - *host*: database host address (defaults to UNIX socket if not provided) - *port*: connection port number (defaults to 5432 if not provided) Using the *connection_factory* parameter a different class or connections factory can be specified. It should be a callable object taking a dsn argument. Using the *cursor_factory* parameter, a new default cursor factory will be used by cursor(). Using *async*=True an asynchronous connection will be created. *async_* is a valid alias (for Python versions where ``async`` is a keyword). Any other keyword parameter will be passed to the underlying client library: the list of supported parameters depends on the library version. """ kwasync = {} if 'async' in kwargs: kwasync['async'] = kwargs.pop('async') if 'async_' in kwargs: kwasync['async_'] = kwargs.pop('async_') dsn = _ext.make_dsn(dsn, **kwargs) > conn = _connect(dsn, connection_factory=connection_factory, **kwasync) E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 56033 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) /usr/lib/python3/dist-packages/psycopg2/__init__.py:122: OperationalError =================================== FAILURES =================================== ___________ TestDeclarative.test_does_not_generate_hybrid_properties ___________ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: > return getattr(class_, '_translation_%s' % locale) E AttributeError: type object 'Article' has no attribute '_translation__slots_dispatch' sqlalchemy_i18n/comparators.py:13: AttributeError During handling of the above exception, another exception occurred: self = def test_does_not_generate_hybrid_properties(self): > self.Article() tests/test_hybrid_property_exclusion.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :4: in __init__ ??? /usr/lib/python3/dist-packages/sqlalchemy/orm/state.py:566: in _initialize_instance manager.dispatch.init(self, args, kwargs) /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:497: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4396: in _event_on_init instrumenting_mapper._check_configure() /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2388: in _check_configure _configure_registries({self.registry}, cascade=True) /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:4207: in _configure_registries Mapper.dispatch._for_class(Mapper).after_configured() # type: ignore /usr/lib/python3/dist-packages/sqlalchemy/event/attr.py:378: in __call__ fn(*args, **kw) /usr/lib/python3/dist-packages/sqlalchemy/orm/events.py:891: in wrap fn(*arg, **kw) sqlalchemy_i18n/manager.py:110: in configure_translatable_classes RelationshipBuilder(self, cls)() sqlalchemy_i18n/builders.py:228: in __call__ self.assign_translations() sqlalchemy_i18n/builders.py:186: in assign_translations mapper.add_property('_translations', sa.orm.relationship( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2432: in add_property prop = self._configure_property( /usr/lib/python3/dist-packages/sqlalchemy/orm/mapper.py:2239: in _configure_property prop.post_instrument_class(self) /usr/lib/python3/dist-packages/sqlalchemy/orm/interfaces.py:1092: in post_instrument_class self.strategy.init_class_attribute(mapper) /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:788: in init_class_attribute _register_attribute( /usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py:122: in _register_attribute desc = attributes.register_attribute_impl( /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:2605: in register_attribute_impl "_Dispatch[QueryableAttribute[Any]]", manager[key].dispatch /usr/lib/python3/dist-packages/sqlalchemy/event/base.py:465: in __get__ if hasattr(obj, "_slots_dispatch"): /usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py:472: in __getattr__ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = locale = '_slots_dispatch' def __getattr__(self, locale): class_ = self._parentmapper.class_ try: return getattr(class_, '_translation_%s' % locale) except AttributeError: > raise UnknownLocaleError(locale, class_) E sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale _slots_dispatch given for instance of class . Locale is not one of ['en', 'fi'] sqlalchemy_i18n/comparators.py:15: UnknownLocaleError =============================== warnings summary =============================== sqlalchemy_i18n/translatable.py:62 /build/reproducible-path/sqlalchemy-i18n-1.1.0/sqlalchemy_i18n/translatable.py:62: SADeprecationWarning: The `sqlalchemy.orm.mapper()` symbol is deprecated and will be removed in a future release. For the mapper-wide event target, use the 'sqlalchemy.orm.Mapper' class. @sa.event.listens_for(sa.orm.mapper, 'expire') sqlalchemy_i18n/__init__.py:41 /build/reproducible-path/sqlalchemy-i18n-1.1.0/sqlalchemy_i18n/__init__.py:41: SADeprecationWarning: The `sqlalchemy.orm.mapper()` symbol is deprecated and will be removed in a future release. For the mapper-wide event target, use the 'sqlalchemy.orm.Mapper' class. sa.event.listen( sqlalchemy_i18n/__init__.py:44 /build/reproducible-path/sqlalchemy-i18n-1.1.0/sqlalchemy_i18n/__init__.py:44: SADeprecationWarning: The `sqlalchemy.orm.mapper()` symbol is deprecated and will be removed in a future release. For the mapper-wide event target, use the 'sqlalchemy.orm.Mapper' class. sa.event.listen( tests/test_common_base_class.py: 1 warning tests/test_comparator.py: 2 warnings tests/test_composite_primary_key.py: 1 warning tests/test_configuration.py: 2 warnings tests/test_current_translation_property.py: 3 warnings tests/test_current_translation_property_with_locale.py: 1 warning tests/test_custom_base_class.py: 1 warning tests/test_fallback_locale_as_callable.py: 2 warnings tests/test_fallback_locale_without_class_default.py: 2 warnings tests/test_fallback_translation.py: 3 warnings tests/test_find_translations.py: 2 warnings tests/test_hybrid_property_as_dynamic_source_locale.py: 1 warning tests/test_hybrid_property_exclusion.py: 1 warning tests/test_join_expressions.py: 4 warnings tests/test_joined_loading.py: 5 warnings tests/test_joined_table_inheritance.py: 8 warnings tests/test_property_collision.py: 1 warning tests/test_relationships.py: 1 warning tests/test_translatable.py: 8 warnings tests/test_translation_auto_creation.py: 1 warning tests/test_translation_auto_creation_with_non_nullables.py: 1 warning tests/test_translation_mapping.py: 4 warnings /build/reproducible-path/sqlalchemy-i18n-1.1.0/tests/__init__.py:52: MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) self.Model = declarative_base() tests/test_common_base_class.py: 2 warnings tests/test_comparator.py: 2 warnings tests/test_composite_primary_key.py: 1 warning tests/test_configuration.py: 2 warnings tests/test_current_translation_property.py: 3 warnings tests/test_current_translation_property_with_locale.py: 1 warning tests/test_custom_base_class.py: 1 warning tests/test_fallback_locale_as_callable.py: 2 warnings tests/test_fallback_locale_without_class_default.py: 2 warnings tests/test_fallback_translation.py: 3 warnings tests/test_find_translations.py: 2 warnings tests/test_hybrid_property_as_dynamic_source_locale.py: 1 warning tests/test_hybrid_property_exclusion.py: 1 warning tests/test_join_expressions.py: 4 warnings tests/test_joined_loading.py: 5 warnings tests/test_joined_table_inheritance.py: 8 warnings tests/test_property_collision.py: 1 warning tests/test_relationships.py: 1 warning tests/test_translatable.py: 8 warnings tests/test_translation_auto_creation.py: 1 warning tests/test_translation_auto_creation_with_non_nullables.py: 1 warning tests/test_translation_mapping.py: 4 warnings /build/reproducible-path/sqlalchemy-i18n-1.1.0/sqlalchemy_i18n/manager.py:36: MovedIn20Warning: The ``has_inherited_table()`` function is now available as sqlalchemy.orm.has_inherited_table(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) if has_inherited_table(cls): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_hybrid_property_exclusion.py::TestDeclarative::test_does_not_generate_hybrid_properties ERROR tests/test_common_base_class.py::TestDeclarative::test_translatable_dict_copied_to_each_child_class ERROR tests/test_common_base_class.py::TestClassic::test_translatable_dict_copied_to_each_child_class ERROR tests/test_comparator.py::TestDeclarative::test_attribute_accessor_for_unknown_locale ERROR tests/test_comparator.py::TestDeclarative::test_attribute_accessors - s... ERROR tests/test_comparator.py::TestClassic::test_attribute_accessor_for_unknown_locale ERROR tests/test_comparator.py::TestClassic::test_attribute_accessors - sqlal... ERROR tests/test_composite_primary_key.py::TestDeclarative::test_relationships ERROR tests/test_composite_primary_key.py::TestClassic::test_relationships - ... ERROR tests/test_configuration.py::TestTranslationBaseCustomization::test_customize_foreign_key_args ERROR tests/test_configuration.py::TestTranslationBaseCustomization::test_customize_relationships_args ERROR tests/test_current_translation_property.py::TestDeclarative::test_as_object_property ERROR tests/test_current_translation_property.py::TestDeclarative::test_as_class_property ERROR tests/test_current_translation_property.py::TestDeclarative::test_setter ERROR tests/test_current_translation_property.py::TestClassic::test_as_object_property ERROR tests/test_current_translation_property.py::TestClassic::test_as_class_property ERROR tests/test_current_translation_property.py::TestClassic::test_setter - ... ERROR tests/test_current_translation_property_with_locale.py::TestDeclarative::test_converts_locale_object_to_unicode ERROR tests/test_current_translation_property_with_locale.py::TestClassic::test_converts_locale_object_to_unicode ERROR tests/test_custom_base_class.py::TestDeclarative::test_translatable_dict_copied_to_each_child_class ERROR tests/test_fallback_locale_as_callable.py::TestDeclarative::test_hybrid_properties_support_callable_fallback_locales ERROR tests/test_fallback_locale_as_callable.py::TestDeclarative::test_locale_fallback ERROR tests/test_fallback_locale_as_callable.py::TestClassic::test_hybrid_properties_support_callable_fallback_locales ERROR tests/test_fallback_locale_as_callable.py::TestClassic::test_locale_fallback ERROR tests/test_fallback_locale_without_class_default.py::TestDeclarative::test_hybrid_properties_support_callable_fallback_locales ERROR tests/test_fallback_locale_without_class_default.py::TestDeclarative::test_locale_fallback ERROR tests/test_fallback_locale_without_class_default.py::TestClassic::test_hybrid_properties_support_callable_fallback_locales ERROR tests/test_fallback_locale_without_class_default.py::TestClassic::test_locale_fallback ERROR tests/test_fallback_translation.py::TestDeclarative::test_as_object_property_with_force_locale ERROR tests/test_fallback_translation.py::TestDeclarative::test_as_class_property ERROR tests/test_fallback_translation.py::TestDeclarative::test_setter - sqla... ERROR tests/test_fallback_translation.py::TestClassic::test_as_object_property_with_force_locale ERROR tests/test_fallback_translation.py::TestClassic::test_as_class_property ERROR tests/test_fallback_translation.py::TestClassic::test_setter - sqlalche... ERROR tests/test_find_translations.py::TestDeclarative::test_with_full_confidence ERROR tests/test_find_translations.py::TestDeclarative::test_with_varying_confidence ERROR tests/test_find_translations.py::TestClassic::test_with_full_confidence ERROR tests/test_find_translations.py::TestClassic::test_with_varying_confidence ERROR tests/test_hybrid_property_as_dynamic_source_locale.py::TestDeclarative::test_joinedload_for_current_translation ERROR tests/test_hybrid_property_as_dynamic_source_locale.py::TestClassic::test_joinedload_for_current_translation ERROR tests/test_hybrid_property_exclusion.py::TestClassic::test_does_not_generate_hybrid_properties ERROR tests/test_join_expressions.py::TestDeclarative::test_current_translation_as_expression ERROR tests/test_join_expressions.py::TestDeclarative::test_order_by_translation ERROR tests/test_join_expressions.py::TestDeclarative::test_fallback_locale_as_expression ERROR tests/test_join_expressions.py::TestDeclarative::test_querying - sqlalc... ERROR tests/test_join_expressions.py::TestClassic::test_current_translation_as_expression ERROR tests/test_join_expressions.py::TestClassic::test_order_by_translation ERROR tests/test_join_expressions.py::TestClassic::test_fallback_locale_as_expression ERROR tests/test_join_expressions.py::TestClassic::test_querying - sqlalchemy... ERROR tests/test_joined_loading.py::TestDeclarative::test_joinedload_for_current_translation ERROR tests/test_joined_loading.py::TestDeclarative::test_contains_eager_for_current_translation ERROR tests/test_joined_loading.py::TestDeclarative::test_joinedload_for_single_translation ERROR tests/test_joined_loading.py::TestDeclarative::test_joinedload_for_attr_accessor ERROR tests/test_joined_loading.py::TestDeclarative::test_joinedload_for_all_translations ERROR tests/test_joined_loading.py::TestClassic::test_joinedload_for_current_translation ERROR tests/test_joined_loading.py::TestClassic::test_contains_eager_for_current_translation ERROR tests/test_joined_loading.py::TestClassic::test_joinedload_for_single_translation ERROR tests/test_joined_loading.py::TestClassic::test_joinedload_for_attr_accessor ERROR tests/test_joined_loading.py::TestClassic::test_joinedload_for_all_translations ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_auto_creates_relations ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_auto_creates_current_translation ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_translatable_attributes ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_inherits_child_properties ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_translated_columns ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_property_delegators ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_table_name ERROR tests/test_joined_table_inheritance.py::TestDeclarative::test_inherits_parent_table ERROR tests/test_joined_table_inheritance.py::TestClassic::test_auto_creates_relations ERROR tests/test_joined_table_inheritance.py::TestClassic::test_auto_creates_current_translation ERROR tests/test_joined_table_inheritance.py::TestClassic::test_translatable_attributes ERROR tests/test_joined_table_inheritance.py::TestClassic::test_inherits_child_properties ERROR tests/test_joined_table_inheritance.py::TestClassic::test_translated_columns ERROR tests/test_joined_table_inheritance.py::TestClassic::test_property_delegators ERROR tests/test_joined_table_inheritance.py::TestClassic::test_table_name - ... ERROR tests/test_joined_table_inheritance.py::TestClassic::test_inherits_parent_table ERROR tests/test_relationships.py::TestDeclarative::test_nullify_relation - s... ERROR tests/test_relationships.py::TestClassic::test_nullify_relation - sqlal... ERROR tests/test_translatable.py::TestDeclarative::test_auto_creates_relations ERROR tests/test_translatable.py::TestDeclarative::test_translatable_attributes ERROR tests/test_translatable.py::TestDeclarative::test_relationship_consistency ERROR tests/test_translatable.py::TestDeclarative::test_property_delegators ERROR tests/test_translatable.py::TestDeclarative::test_commit_session - sqla... ERROR tests/test_translatable.py::TestDeclarative::test_delete - sqlalchemy_i... ERROR tests/test_translatable.py::TestDeclarative::test_translated_columns - ... ERROR tests/test_translatable.py::TestDeclarative::test_appends_locale_column_to_translation_table ERROR tests/test_translatable.py::TestClassic::test_auto_creates_relations - ... ERROR tests/test_translatable.py::TestClassic::test_translatable_attributes ERROR tests/test_translatable.py::TestClassic::test_relationship_consistency ERROR tests/test_translatable.py::TestClassic::test_property_delegators - sql... ERROR tests/test_translatable.py::TestClassic::test_commit_session - sqlalche... ERROR tests/test_translatable.py::TestClassic::test_delete - sqlalchemy.exc.I... ERROR tests/test_translatable.py::TestClassic::test_translated_columns - sqla... ERROR tests/test_translatable.py::TestClassic::test_appends_locale_column_to_translation_table ERROR tests/test_translation_auto_creation.py::TestDeclarative::test_auto_creates_translation_objects ERROR tests/test_translation_auto_creation.py::TestClassic::test_auto_creates_translation_objects ERROR tests/test_translation_auto_creation_with_non_nullables.py::TestDeclarative::test_auto_sets_nullables_as_empty_strings ERROR tests/test_translation_auto_creation_with_non_nullables.py::TestClassic::test_auto_sets_nullables_as_empty_strings ERROR tests/test_translation_mapping.py::TestDeclarative::test_proxy_contains ERROR tests/test_translation_mapping.py::TestDeclarative::test_translation_mapping_attribute_getter ERROR tests/test_translation_mapping.py::TestDeclarative::test_attribute_accessor_for_unknown_locale ERROR tests/test_translation_mapping.py::TestDeclarative::test_proxy_not_contains ERROR tests/test_translation_mapping.py::TestDeclarative::test_items - sqlalc... ERROR tests/test_translation_mapping.py::TestDeclarative::test_iteritems - sq... ERROR tests/test_translation_mapping.py::TestDeclarative::test_set_item - sql... ERROR tests/test_translation_mapping.py::TestDeclarative::test_repr - sqlalch... ERROR tests/test_translation_mapping.py::TestDeclarative::test_iter - sqlalch... ERROR tests/test_translation_mapping.py::TestDeclarative::test_values - sqlal... ERROR tests/test_translation_mapping.py::TestClassic::test_proxy_contains - s... ERROR tests/test_translation_mapping.py::TestClassic::test_translation_mapping_attribute_getter ERROR tests/test_translation_mapping.py::TestClassic::test_attribute_accessor_for_unknown_locale ERROR tests/test_translation_mapping.py::TestClassic::test_proxy_not_contains ERROR tests/test_translation_mapping.py::TestClassic::test_items - sqlalchemy... ERROR tests/test_translation_mapping.py::TestClassic::test_iteritems - sqlalc... ERROR tests/test_translation_mapping.py::TestClassic::test_set_item - sqlalch... ERROR tests/test_translation_mapping.py::TestClassic::test_repr - sqlalchemy.... ERROR tests/test_translation_mapping.py::TestClassic::test_iter - sqlalchemy.... ERROR tests/test_translation_mapping.py::TestClassic::test_values - sqlalchem...2025-12-18 00:27:03.608 /USR/SHARE/ZONEINFO/ETC/GMT [28630] LOG: received smart shutdown request 2025-12-18 00:27:08.624 /USR/SHARE/ZONEINFO/ETC/GMT [28840] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.624 /USR/SHARE/ZONEINFO/ETC/GMT [29318] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.624 /USR/SHARE/ZONEINFO/ETC/GMT [29175] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.625 /USR/SHARE/ZONEINFO/ETC/GMT [28838] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.626 /USR/SHARE/ZONEINFO/ETC/GMT [28925] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.626 /USR/SHARE/ZONEINFO/ETC/GMT [29005] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.626 /USR/SHARE/ZONEINFO/ETC/GMT [28944] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.626 /USR/SHARE/ZONEINFO/ETC/GMT [29073] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.626 /USR/SHARE/ZONEINFO/ETC/GMT [28817] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.628 /USR/SHARE/ZONEINFO/ETC/GMT [28749] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.628 /USR/SHARE/ZONEINFO/ETC/GMT [29114] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.628 /USR/SHARE/ZONEINFO/ETC/GMT [29342] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.628 /USR/SHARE/ZONEINFO/ETC/GMT [28859] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.629 /USR/SHARE/ZONEINFO/ETC/GMT [29598] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.629 /USR/SHARE/ZONEINFO/ETC/GMT [29228] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.630 /USR/SHARE/ZONEINFO/ETC/GMT [28853] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.631 /USR/SHARE/ZONEINFO/ETC/GMT [28977] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.631 /USR/SHARE/ZONEINFO/ETC/GMT [29312] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.631 /USR/SHARE/ZONEINFO/ETC/GMT [29650] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.631 /USR/SHARE/ZONEINFO/ETC/GMT [28847] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.632 /USR/SHARE/ZONEINFO/ETC/GMT [29315] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.633 /USR/SHARE/ZONEINFO/ETC/GMT [29051] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.633 /USR/SHARE/ZONEINFO/ETC/GMT [28914] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.633 /USR/SHARE/ZONEINFO/ETC/GMT [29332] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.633 /USR/SHARE/ZONEINFO/ETC/GMT [28887] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.633 /USR/SHARE/ZONEINFO/ETC/GMT [29642] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.633 /USR/SHARE/ZONEINFO/ETC/GMT [28943] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.635 /USR/SHARE/ZONEINFO/ETC/GMT [28972] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.635 /USR/SHARE/ZONEINFO/ETC/GMT [29101] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.635 /USR/SHARE/ZONEINFO/ETC/GMT [29067] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.636 /USR/SHARE/ZONEINFO/ETC/GMT [28898] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.636 /USR/SHARE/ZONEINFO/ETC/GMT [29437] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.636 /USR/SHARE/ZONEINFO/ETC/GMT [29660] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.636 /USR/SHARE/ZONEINFO/ETC/GMT [29674] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.637 /USR/SHARE/ZONEINFO/ETC/GMT [28975] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.637 /USR/SHARE/ZONEINFO/ETC/GMT [29092] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.637 /USR/SHARE/ZONEINFO/ETC/GMT [29253] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.638 /USR/SHARE/ZONEINFO/ETC/GMT [29162] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.638 /USR/SHARE/ZONEINFO/ETC/GMT [29608] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.638 /USR/SHARE/ZONEINFO/ETC/GMT [29671] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.638 /USR/SHARE/ZONEINFO/ETC/GMT [29075] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.638 /USR/SHARE/ZONEINFO/ETC/GMT [28945] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.639 /USR/SHARE/ZONEINFO/ETC/GMT [29638] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.639 /USR/SHARE/ZONEINFO/ETC/GMT [29629] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.639 /USR/SHARE/ZONEINFO/ETC/GMT [28839] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.640 /USR/SHARE/ZONEINFO/ETC/GMT [29025] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.640 /USR/SHARE/ZONEINFO/ETC/GMT [29643] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.641 /USR/SHARE/ZONEINFO/ETC/GMT [29661] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.641 /USR/SHARE/ZONEINFO/ETC/GMT [28888] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.641 /USR/SHARE/ZONEINFO/ETC/GMT [29580] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.641 /USR/SHARE/ZONEINFO/ETC/GMT [29080] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.642 /USR/SHARE/ZONEINFO/ETC/GMT [29117] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.642 /USR/SHARE/ZONEINFO/ETC/GMT [28793] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.642 /USR/SHARE/ZONEINFO/ETC/GMT [29645] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.643 /USR/SHARE/ZONEINFO/ETC/GMT [29672] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.643 /USR/SHARE/ZONEINFO/ETC/GMT [28946] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.643 /USR/SHARE/ZONEINFO/ETC/GMT [29571] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.643 /USR/SHARE/ZONEINFO/ETC/GMT [28889] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.644 /USR/SHARE/ZONEINFO/ETC/GMT [29111] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.644 /USR/SHARE/ZONEINFO/ETC/GMT [29640] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.644 /USR/SHARE/ZONEINFO/ETC/GMT [29648] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.645 /USR/SHARE/ZONEINFO/ETC/GMT [29050] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.645 /USR/SHARE/ZONEINFO/ETC/GMT [29675] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.645 /USR/SHARE/ZONEINFO/ETC/GMT [28926] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.646 /USR/SHARE/ZONEINFO/ETC/GMT [28846] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.646 /USR/SHARE/ZONEINFO/ETC/GMT [29330] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.646 /USR/SHARE/ZONEINFO/ETC/GMT [29118] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.646 /USR/SHARE/ZONEINFO/ETC/GMT [29276] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.647 /USR/SHARE/ZONEINFO/ETC/GMT [29644] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.648 /USR/SHARE/ZONEINFO/ETC/GMT [29676] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.648 /USR/SHARE/ZONEINFO/ETC/GMT [29319] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.648 /USR/SHARE/ZONEINFO/ETC/GMT [29116] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.648 /USR/SHARE/ZONEINFO/ETC/GMT [29317] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.649 /USR/SHARE/ZONEINFO/ETC/GMT [28976] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.649 /USR/SHARE/ZONEINFO/ETC/GMT [29074] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.650 /USR/SHARE/ZONEINFO/ETC/GMT [28886] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.650 /USR/SHARE/ZONEINFO/ETC/GMT [29316] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.650 /USR/SHARE/ZONEINFO/ETC/GMT [29107] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.650 /USR/SHARE/ZONEINFO/ETC/GMT [29115] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.651 /USR/SHARE/ZONEINFO/ETC/GMT [29013] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.651 /USR/SHARE/ZONEINFO/ETC/GMT [29420] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.652 /USR/SHARE/ZONEINFO/ETC/GMT [29641] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.652 /USR/SHARE/ZONEINFO/ETC/GMT [29291] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.653 /USR/SHARE/ZONEINFO/ETC/GMT [28896] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.653 /USR/SHARE/ZONEINFO/ETC/GMT [29627] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.654 /USR/SHARE/ZONEINFO/ETC/GMT [28787] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.654 /USR/SHARE/ZONEINFO/ETC/GMT [29077] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.654 /USR/SHARE/ZONEINFO/ETC/GMT [29082] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.655 /USR/SHARE/ZONEINFO/ETC/GMT [28955] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.655 /USR/SHARE/ZONEINFO/ETC/GMT [29062] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.657 /USR/SHARE/ZONEINFO/ETC/GMT [28913] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.658 /USR/SHARE/ZONEINFO/ETC/GMT [29009] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.659 /USR/SHARE/ZONEINFO/ETC/GMT [29120] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.661 /USR/SHARE/ZONEINFO/ETC/GMT [29119] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.663 /USR/SHARE/ZONEINFO/ETC/GMT [29639] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.664 /USR/SHARE/ZONEINFO/ETC/GMT [28963] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.666 /USR/SHARE/ZONEINFO/ETC/GMT [28987] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.668 /USR/SHARE/ZONEINFO/ETC/GMT [28890] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.670 /USR/SHARE/ZONEINFO/ETC/GMT [28927] FATAL: terminating connection due to unexpected postmaster exit 2025-12-18 00:27:08.670 /USR/SHARE/ZONEINFO/ETC/GMT [28870] FATAL: terminating connection due to unexpected postmaster exit ============ 1 failed, 2 passed, 114 warnings, 116 errors in 18.38s ============ stopping server clean up make[1]: Leaving directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild dh_auto_install --destdir=debian/python3-sqlalchemy-i18n/ -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.13 setup.py install --root /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n running install /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_py running egg_info writing SQLAlchemy_i18n.egg-info/PKG-INFO writing dependency_links to SQLAlchemy_i18n.egg-info/dependency_links.txt writing requirements to SQLAlchemy_i18n.egg-info/requires.txt writing top-level names to SQLAlchemy_i18n.egg-info/top_level.txt reading manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files found matching 'docs/_themes/.git' adding license file 'LICENSE' writing manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' running install_lib creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/exc.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/comparators.py to comparators.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/builders.py to builders.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/translatable.py to translatable.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/utils.py to utils.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/expressions.py to expressions.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/manager.py to manager.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/__init__.py to __init__.cpython-313.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/exc.py to exc.cpython-313.pyc running install_egg_info Copying SQLAlchemy_i18n.egg-info to /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/SQLAlchemy_i18n-1.1.0.egg-info Skipping SOURCES.txt running install_scripts I: pybuild base:311: /usr/bin/python3 setup.py install --root /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n running install /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_py running egg_info writing SQLAlchemy_i18n.egg-info/PKG-INFO writing dependency_links to SQLAlchemy_i18n.egg-info/dependency_links.txt writing requirements to SQLAlchemy_i18n.egg-info/requires.txt writing top-level names to SQLAlchemy_i18n.egg-info/top_level.txt reading manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files found matching 'docs/_themes/.git' adding license file 'LICENSE' writing manifest file 'SQLAlchemy_i18n.egg-info/SOURCES.txt' running install_lib creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_hybrid_property_exclusion.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_translation_auto_creation_with_non_nullables.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_translation_mapping.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_custom_base_class.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_relationships.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_comparator.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_common_base_class.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_join_expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_composite_primary_key.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_current_translation_property.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_current_translation_property_with_locale.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_hybrid_property_as_dynamic_source_locale.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_configuration.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_fallback_locale_without_class_default.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_find_translations.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_fallback_locale_as_callable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_joined_table_inheritance.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_translation_auto_creation.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_property_collision.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_fallback_translation.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/tests/test_joined_loading.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/build/sqlalchemy_i18n/exc.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/exc.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_hybrid_property_exclusion.py to test_hybrid_property_exclusion.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_translation_auto_creation_with_non_nullables.py to test_translation_auto_creation_with_non_nullables.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_expressions.py to test_expressions.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_translation_mapping.py to test_translation_mapping.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_custom_base_class.py to test_custom_base_class.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_relationships.py to test_relationships.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_comparator.py to test_comparator.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_common_base_class.py to test_common_base_class.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_join_expressions.py to test_join_expressions.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_composite_primary_key.py to test_composite_primary_key.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_translatable.py to test_translatable.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_current_translation_property.py to test_current_translation_property.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_current_translation_property_with_locale.py to test_current_translation_property_with_locale.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/__init__.py to __init__.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_hybrid_property_as_dynamic_source_locale.py to test_hybrid_property_as_dynamic_source_locale.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_configuration.py to test_configuration.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_fallback_locale_without_class_default.py to test_fallback_locale_without_class_default.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_find_translations.py to test_find_translations.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_fallback_locale_as_callable.py to test_fallback_locale_as_callable.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_joined_table_inheritance.py to test_joined_table_inheritance.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_translation_auto_creation.py to test_translation_auto_creation.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_property_collision.py to test_property_collision.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_fallback_translation.py to test_fallback_translation.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/tests/test_joined_loading.py to test_joined_loading.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/comparators.py to comparators.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/builders.py to builders.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/translatable.py to translatable.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/utils.py to utils.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/expressions.py to expressions.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/manager.py to manager.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/__init__.py to __init__.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n/exc.py to exc.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/comparators.py to comparators.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/builders.py to builders.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/translatable.py to translatable.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/utils.py to utils.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/expressions.py to expressions.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/manager.py to manager.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/__init__.py to __init__.cpython-312.pyc byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/exc.py to exc.cpython-312.pyc running install_egg_info Copying SQLAlchemy_i18n.egg-info to /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/SQLAlchemy_i18n-1.1.0.egg-info Skipping SOURCES.txt running install_scripts dh_installdocs -O--buildsystem=pybuild dh_sphinxdoc -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild dh_strip_nondeterminism -O--buildsystem=pybuild debian/rules override_dh_compress make[1]: Entering directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' dh_compress -X.js -X.html make[1]: Leaving directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' dh_fixperms -O--buildsystem=pybuild dh_missing -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: package python3-sqlalchemy-i18n: substitution variable ${sphinxdoc:Built-Using} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild dpkg-deb: building package 'python3-sqlalchemy-i18n' in '../python3-sqlalchemy-i18n_1.1.0-2_all.deb'. dpkg-genbuildinfo --build=binary -O../sqlalchemy-i18n_1.1.0-2_i386.buildinfo dpkg-genchanges --build=binary -O../sqlalchemy-i18n_1.1.0-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration 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/17781 and its subdirectories I: Current time: Thu Dec 18 00:27:14 -12 2025 I: pbuilder-time-stamp: 1766060834 Fri Nov 15 06:04:18 UTC 2024 I: 1st build successful. Starting 2nd build on remote node infom07-i386.debian.net. Fri Nov 15 06:04:18 UTC 2024 I: Preparing to do remote build '2' on infom07-i386.debian.net. Fri Nov 15 06:06:21 UTC 2024 I: Deleting $TMPDIR on infom07-i386.debian.net. Fri Nov 15 06:06:21 UTC 2024 I: sqlalchemy-i18n_1.1.0-2_i386.changes: Format: 1.8 Date: Thu, 14 Nov 2024 07:18:35 +0100 Source: sqlalchemy-i18n Binary: python3-sqlalchemy-i18n Architecture: all Version: 1.1.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Python Team Changed-By: Alexandre Detiste Description: python3-sqlalchemy-i18n - Internationalization extension for SQLAlchemy models Changes: sqlalchemy-i18n (1.1.0-2) unstable; urgency=medium . * Team Upload * Remove unused dependency on python3-six Checksums-Sha1: 9793ac7ba1c680a76ea97acc80064a201412b690 27940 python3-sqlalchemy-i18n_1.1.0-2_all.deb 812d96f369516e06451fabfc0b72e0881318fd39 8303 sqlalchemy-i18n_1.1.0-2_i386.buildinfo Checksums-Sha256: 8f3df93053fbc1217c62a3a75dcbb0c852876f7fb68b129d61ce25ffb8283da8 27940 python3-sqlalchemy-i18n_1.1.0-2_all.deb 8378555e0ddc0cf01e298e128dc493b6d295ef367a32b03538029a2a590b544f 8303 sqlalchemy-i18n_1.1.0-2_i386.buildinfo Files: 44799f14d90200e475bf41223abf84e7 27940 python optional python3-sqlalchemy-i18n_1.1.0-2_all.deb 2100311aaec8b8313a4730ca4a415cfc 8303 python optional sqlalchemy-i18n_1.1.0-2_i386.buildinfo Fri Nov 15 06:06:22 UTC 2024 I: diffoscope 283 will be used to compare the two builds: Running as unit: rb-diffoscope-i386_18-30789.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.Qq6mmYtq/sqlalchemy-i18n_1.1.0-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.Qq6mmYtq/sqlalchemy-i18n_1.1.0-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.Qq6mmYtq/sqlalchemy-i18n_1.1.0-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.Qq6mmYtq/b1/sqlalchemy-i18n_1.1.0-2_i386.changes /srv/reproducible-results/rbuild-debian/r-b-build.Qq6mmYtq/b2/sqlalchemy-i18n_1.1.0-2_i386.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.330s) 0.330s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.014s) 0.014s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 625ms CPU time consumed: 625ms Fri Nov 15 06:06:23 UTC 2024 I: diffoscope 283 found no differences in the changes files, and a .buildinfo file also exists. Fri Nov 15 06:06:23 UTC 2024 I: sqlalchemy-i18n from unstable built successfully and reproducibly on i386. Fri Nov 15 06:06:25 UTC 2024 I: Submitting .buildinfo files to external archives: Fri Nov 15 06:06:25 UTC 2024 I: Submitting 12K b1/sqlalchemy-i18n_1.1.0-2_i386.buildinfo.asc Fri Nov 15 06:06:25 UTC 2024 I: Submitting 12K b2/sqlalchemy-i18n_1.1.0-2_i386.buildinfo.asc Fri Nov 15 06:06:26 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Fri Nov 15 06:06:26 UTC 2024 I: Done submitting .buildinfo files. Fri Nov 15 06:06:26 UTC 2024 I: Removing signed sqlalchemy-i18n_1.1.0-2_i386.buildinfo.asc files: removed './b1/sqlalchemy-i18n_1.1.0-2_i386.buildinfo.asc' removed './b2/sqlalchemy-i18n_1.1.0-2_i386.buildinfo.asc'