Running as unit: rb-build-armhf_34-12499.service ==================================================================================== Thu Nov 21 05:46:53 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_armhf_34) on jenkins, called using "virt32z-armhf-rb virt64a-armhf-rb" as arguments. Thu Nov 21 05:46:53 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-uhOPZogu" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Thu Nov 21 05:46:53 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt32z-armhf-rb.debian.net is marked as down. Thu Nov 21 05:46:53 UTC 2024 - checking via ssh if virt32z-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-3fykG3' Thu Nov 21 05:46:56 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt64a-armhf-rb.debian.net is marked as down. Thu Nov 21 05:46:56 UTC 2024 - checking via ssh if virt64a-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-MINDz0' ok, let's check if sqlalchemy-i18n is building anywhere yet… ok, sqlalchemy-i18n is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of sqlalchemy-i18n in unstable on armhf on jenkins now. 1st build will be done on virt32z-armhf-rb.debian.net. 2nd build will be done on virt64a-armhf-rb.debian.net. ============================================================================= Thu Nov 21 05:47:14 UTC 2024 I: starting to build sqlalchemy-i18n/unstable/armhf on jenkins on '2024-11-21 05:46' Thu Nov 21 05:47:14 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_34/12499/console.log 1732168034 armhf unstable sqlalchemy-i18n Thu Nov 21 05:47:14 UTC 2024 I: Downloading source for unstable/sqlalchemy-i18n=1.1.0-2 --2024-11-21 05:47:14-- 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% 344M=0s 2024-11-21 05:47:14 (344 MB/s) - ‘sqlalchemy-i18n_1.1.0-2.dsc’ saved [2330/2330] --2024-11-21 05:47:14-- 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% 344M=0s 2024-11-21 05:47:14 (344 MB/s) - ‘sqlalchemy-i18n_1.1.0-2.dsc’ saved [2330/2330] Thu Nov 21 05:47:14 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----- Thu Nov 21 05:47:14 UTC 2024 I: Checking whether the package is not for us Thu Nov 21 05:47:14 UTC 2024 I: Starting 1st build on remote node virt32z-armhf-rb.debian.net. Thu Nov 21 05:47:14 UTC 2024 I: Preparing to do remote build '1' on virt32z-armhf-rb.debian.net. Thu Nov 21 05:47:14 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt32z-armhf-rb.debian.net is marked as down. Thu Nov 21 05:47:14 UTC 2024 - checking via ssh if virt32z-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-OMcqh1' ==================================================================================== Thu Nov 21 05:47:19 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on virt32z, called using "1 sqlalchemy-i18n unstable /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL 1.1.0-2" as arguments. Thu Nov 21 05:47:19 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-CgbRI9G6" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Thu Nov 21 05:47:19 UTC 2024 I: Downloading source for unstable/sqlalchemy-i18n=1.1.0-2 Reading package lists... NOTICE: 'sqlalchemy-i18n' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git Please use: git clone https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 34.9 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (dsc) [2330 B] Get:2 http://deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (tar) [28.2 kB] Get:3 http://deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (diff) [4360 B] Fetched 34.9 kB in 1s (66.6 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'sqlalchemy-i18n' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git Please use: git clone https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 34.9 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (dsc) [2330 B] Get:2 http://deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (tar) [28.2 kB] Get:3 http://deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (diff) [4360 B] Fetched 34.9 kB in 1s (66.6 kB/s) Download complete and in download only mode ============================================================================= Building sqlalchemy-i18n in unstable on armhf on virt32z now. Date: Wed Nov 20 21:47:21 PST 2024 Date UTC: Thu Nov 21 05:47:21 UTC 2024 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Wed Nov 20 17:47:21 -12 2024 I: pbuilder-time-stamp: 1732168041 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: 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/11033/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='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='41c43abdd2f44623873617fc01bab723' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' 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='11033' 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.OwijfkeL/pbuilderrc_Mk0P --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.OwijfkeL/b1 --logfile b1/build.log sqlalchemy-i18n_1.1.0-2.dsc' SUDO_GID='110' SUDO_UID='103' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt32z 6.1.0-27-armmp-lpae #1 SMP Debian 6.1.115-1 (2024-11-01) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/11033/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: armhf 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 ... 19686 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 96.7 MB of archives. After unpacking 395 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libjson-perl all 4.10000-1 [87.5 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libio-pty-perl armhf 1:1.20-1+b2 [33.8 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf libipc-run-perl all 20231003.0-2 [101 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf postgresql-client-common all 266 [36.5 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.3.2-2 [1348 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf ssl-cert all 1.1.3 [16.8 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf ucf all 3.0043+nmu1 [55.2 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf postgresql-common all 266 [169 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.7-3 [800 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.7-3 [1808 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.7-1 [26.8 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf tzdata all 2024b-3 [255 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1+b1 [22.3 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-4 [8096 B] Get: 21 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3+b1 [71.3 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libnsl2 armhf 1.3.0-3+b3 [35.0 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-5 [69.3 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-5 [146 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.7-3 [1819 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.7-3 [671 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.7-1 [9712 B] Get: 31 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.7-1 [27.8 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.0-2 [843 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.0-2 [1691 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf sgml-base all 1.31 [15.4 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf ca-certificates all 20240203 [158 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-11 [83.6 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-8 [517 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 56 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5+b1 [9088 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B] Get: 70 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.2.0-1 [213 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20241024 [109 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf xml-core all 0.19 [20.1 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf libedit2 armhf 3.1-20240808-1 [77.9 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8 [18.2 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8 [50.2 kB] Get: 84 http://deb.debian.org/debian unstable/main armhf libldap-2.5-0 armhf 2.5.18+dfsg-3+b1 [163 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf libz3-4 armhf 4.13.3-1 [7252 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf libllvm19 armhf 1:19.1.3-2 [23.8 MB] Get: 87 http://deb.debian.org/debian unstable/main armhf libpq5 armhf 17.1-1 [206 kB] Get: 88 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1850 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf libxslt1.1 armhf 1.1.35-1.1+b1 [212 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf postgresql-client-17 armhf 17.1-1 [1916 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf postgresql-17 armhf 17.1-1 [15.9 MB] Get: 92 http://deb.debian.org/debian unstable/main armhf postgresql all 17+266 [12.3 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf python-babel-localedata all 2.16.0-1 [5696 kB] Get: 94 http://deb.debian.org/debian unstable/main armhf python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 95 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.0-2 [730 kB] Get: 96 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.12.7-1 [1052 B] Get: 97 http://deb.debian.org/debian unstable/main armhf python3-dateutil all 2.9.0-3 [79.3 kB] Get: 98 http://deb.debian.org/debian unstable/main armhf python3-typeshed all 0.0~git20231111.6764465-3 [1258 kB] Get: 99 http://deb.debian.org/debian unstable/main armhf python3-arrow all 1.3.0-1.1 [64.7 kB] Get: 100 http://deb.debian.org/debian unstable/main armhf python3-babel all 2.16.0-1 [114 kB] Get: 101 http://deb.debian.org/debian unstable/main armhf python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 102 http://deb.debian.org/debian unstable/main armhf python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 103 http://deb.debian.org/debian unstable/main armhf python3-charset-normalizer armhf 3.4.0-1+b1 [126 kB] Get: 104 http://deb.debian.org/debian unstable/main armhf python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf python3-roman all 4.2-1 [10.4 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 107 http://deb.debian.org/debian unstable/main armhf python3-greenlet armhf 3.1.0-1+b1 [175 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf python3-idna all 3.8-2 [41.6 kB] Get: 109 http://deb.debian.org/debian unstable/main armhf python3-imagesize all 1.4.1-1 [6688 B] Get: 110 http://deb.debian.org/debian unstable/main armhf python3-infinity all 1.5-3 [4384 B] Get: 111 http://deb.debian.org/debian unstable/main armhf python3-iniconfig all 1.1.1-2 [6396 B] Get: 112 http://deb.debian.org/debian unstable/main armhf python3-markupsafe armhf 2.1.5-1+b2 [13.4 kB] Get: 113 http://deb.debian.org/debian unstable/main armhf python3-jinja2 all 3.1.3-1 [119 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf python3-packaging all 24.2-1 [55.3 kB] Get: 115 http://deb.debian.org/debian unstable/main armhf python3-pluggy all 1.5.0-1 [26.9 kB] Get: 116 http://deb.debian.org/debian unstable/main armhf python3-psycopg2 armhf 2.9.9-2+b1 [123 kB] Get: 117 http://deb.debian.org/debian unstable/main armhf python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 118 http://deb.debian.org/debian unstable/main armhf python3-pytest all 8.3.3-1 [249 kB] Get: 119 http://deb.debian.org/debian unstable/main armhf python3-urllib3 all 2.0.7-2 [111 kB] Get: 120 http://deb.debian.org/debian unstable/main armhf python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 121 http://deb.debian.org/debian unstable/main armhf python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 122 http://deb.debian.org/debian unstable/main armhf sphinx-common all 7.4.7-4 [731 kB] Get: 123 http://deb.debian.org/debian unstable/main armhf python3-sphinx all 7.4.7-4 [588 kB] Get: 124 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy all 2.0.32+ds1-1 [1196 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy-utils all 0.41.0-4 [67.6 kB] Fetched 96.7 MB in 3s (33.5 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 ... 19686 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_armhf.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_armhf.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:armhf. Preparing to unpack .../10-libpython3.12-minimal_3.12.7-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.7-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../11-libexpat1_2.6.4-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../12-python3.12-minimal_3.12.7-3_armhf.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:armhf (3.12.7-3) ... Setting up libexpat1:armhf (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 ... 20670 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.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:armhf. Preparing to unpack .../03-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../04-libcom-err2_1.47.1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../05-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../06-libkeyutils1_1.6.3-4_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-4) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../07-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../08-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (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:armhf. Preparing to unpack .../10-libtirpc3t64_1.3.4+ds-1.3+b1_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../11-libnsl2_1.3.0-3+b3_armhf.deb ... Unpacking libnsl2:armhf (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:armhf. Preparing to unpack .../13-libreadline8t64_8.2-5_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../14-libpython3.12-stdlib_3.12.7-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../15-python3.12_3.12.7-3_armhf.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../16-libpython3-stdlib_3.12.7-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (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 ... 21725 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:armhf. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.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_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../06-libmagic1t64_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.45-3+b1_armhf.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../09-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../10-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../11-bsdextrautils_2.40.2-11_armhf.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../12-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../13-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.19-4_armhf.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:armhf. Preparing to unpack .../25-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-5+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-5+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_armhf.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:armhf. Preparing to unpack .../47-libedit2_3.1-20240808-1_armhf.deb ... Unpacking libedit2:armhf (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:armhf. Preparing to unpack .../51-libsasl2-modules-db_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../52-libsasl2-2_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../53-libldap-2.5-0_2.5.18+dfsg-3+b1_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.18+dfsg-3+b1) ... Selecting previously unselected package libz3-4:armhf. Preparing to unpack .../54-libz3-4_4.13.3-1_armhf.deb ... Unpacking libz3-4:armhf (4.13.3-1) ... Selecting previously unselected package libllvm19:armhf. Preparing to unpack .../55-libllvm19_1%3a19.1.3-2_armhf.deb ... Unpacking libllvm19:armhf (1:19.1.3-2) ... Selecting previously unselected package libpq5:armhf. Preparing to unpack .../56-libpq5_17.1-1_armhf.deb ... Unpacking libpq5:armhf (17.1-1) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... Selecting previously unselected package libxslt1.1:armhf. Preparing to unpack .../58-libxslt1.1_1.1.35-1.1+b1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.35-1.1+b1) ... Selecting previously unselected package postgresql-client-17. Preparing to unpack .../59-postgresql-client-17_17.1-1_armhf.deb ... Unpacking postgresql-client-17 (17.1-1) ... Selecting previously unselected package postgresql-17. Preparing to unpack .../60-postgresql-17_17.1-1_armhf.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_armhf.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../65-python3-all_3.12.7-1_armhf.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_armhf.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_armhf.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_armhf.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.2-1_all.deb ... Unpacking python3-packaging (24.2-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_armhf.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:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-4) ... Setting up libicu72:armhf (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:armhf (3.1-20240808-1) ... Setting up libmagic1t64:armhf (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Nov 21 05:49:35 UTC 2024. Universal Time is now: Thu Nov 21 05:49:35 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libz3-4:armhf (4.13.3-1) ... Setting up autopoint (0.22.5-2) ... Setting up libipc-run-perl (20231003.0-2) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libsasl2-2:armhf (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (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:armhf (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:armhf (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:armhf (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:armhf (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) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up ucf (3.0043+nmu1) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:armhf (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:armhf (1.1.35-1.1+b1) ... Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... Setting up libtirpc3t64:armhf (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:armhf (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:armhf (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:armhf (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:armhf (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.2-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 armhf 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-armv7l' 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-armv7l' 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/utils.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 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/builders.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/__init__.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 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/utils.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 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/builders.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/__init__.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 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/tmpra4_e2b4/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/tmpra4_e2b4/data -l logfile start 2024-11-20 17:53:46.537 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: starting PostgreSQL 17.1 (Debian 17.1-1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 14.2.0-8) 14.2.0, 32-bit 2024-11-20 17:53:46.538 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: listening on IPv4 address "127.0.0.1", port 47575 2024-11-20 17:53:46.538 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: listening on Unix socket "/tmp/tmpra4_e2b4/tmp/.s.PGSQL.47575" 2024-11-20 17:53:46.557 /USR/SHARE/ZONEINFO/ETC/GMT [21879] LOG: database system was shut down at 2024-11-20 17:53:45 /USR/SHARE/ZONEINFO/ETC/GMT 2024-11-20 17:53:46.587 /USR/SHARE/ZONEINFO/ETC/GMT [21866] 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 EEEE2024-11-20 17:55:24.864 /USR/SHARE/ZONEINFO/ETC/GMT [1916] FATAL: sorry, too many clients already E2024-11-20 17:55:26.728 /USR/SHARE/ZONEINFO/ETC/GMT [1982] FATAL: sorry, too many clients already E2024-11-20 17:55:28.892 /USR/SHARE/ZONEINFO/ETC/GMT [2034] FATAL: sorry, too many clients already E2024-11-20 17:55:30.800 /USR/SHARE/ZONEINFO/ETC/GMT [2089] FATAL: sorry, too many clients already E2024-11-20 17:55:33.805 /USR/SHARE/ZONEINFO/ETC/GMT [2142] FATAL: sorry, too many clients already E2024-11-20 17:55:35.932 /USR/SHARE/ZONEINFO/ETC/GMT [2200] FATAL: sorry, too many clients already E2024-11-20 17:55:37.613 /USR/SHARE/ZONEINFO/ETC/GMT [2292] FATAL: sorry, too many clients already E2024-11-20 17:55:39.548 /USR/SHARE/ZONEINFO/ETC/GMT [2427] FATAL: sorry, too many clients already E2024-11-20 17:55:40.714 /USR/SHARE/ZONEINFO/ETC/GMT [2530] FATAL: sorry, too many clients already E2024-11-20 17:55:42.898 /USR/SHARE/ZONEINFO/ETC/GMT [2680] FATAL: sorry, too many clients already E2024-11-20 17:55:45.172 /USR/SHARE/ZONEINFO/ETC/GMT [3089] FATAL: sorry, too many clients already E2024-11-20 17:55:48.098 /USR/SHARE/ZONEINFO/ETC/GMT [3715] FATAL: sorry, too many clients already E2024-11-20 17:55:49.849 /USR/SHARE/ZONEINFO/ETC/GMT [4109] FATAL: sorry, too many clients already E2024-11-20 17:55:52.348 /USR/SHARE/ZONEINFO/ETC/GMT [4362] FATAL: sorry, too many clients already E2024-11-20 17:55:55.768 /USR/SHARE/ZONEINFO/ETC/GMT [4769] FATAL: sorry, too many clients already E2024-11-20 17:55:58.596 /USR/SHARE/ZONEINFO/ETC/GMT [5348] 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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...2024-11-20 17:56:03.409 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: received smart shutdown request 2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [1013] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [1865] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [30517] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30295] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30272] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30188] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [29199] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [28937] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28784] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28779] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [1611] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28772] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28695] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28491] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28484] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [28348] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [487] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [27168] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [26646] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [24420] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [30222] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1222] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1839] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1776] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [29563] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1143] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1631] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1134] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [1228] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [29414] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [31520] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [29145] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [1171] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [29107] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30345] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30098] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [752] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [29046] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [29759] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [28903] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [32555] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [29127] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [1123] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [1148] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [28741] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [1152] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [32103] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [1155] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [31083] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [23488] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [1160] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [24054] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [30329] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [1166] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [30323] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [30044] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [27482] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29240] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29234] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29222] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29120] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29094] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29093] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [28781] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [28732] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28616] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28615] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28608] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28437] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.459 /USR/SHARE/ZONEINFO/ETC/GMT [28245] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.460 /USR/SHARE/ZONEINFO/ETC/GMT [27759] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.460 /USR/SHARE/ZONEINFO/ETC/GMT [28481] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28488] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28241] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28238] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [27828] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [28524] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [28778] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [27799] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [28780] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [25795] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.476 /USR/SHARE/ZONEINFO/ETC/GMT [25734] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.476 /USR/SHARE/ZONEINFO/ETC/GMT [28873] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30539] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.480 /USR/SHARE/ZONEINFO/ETC/GMT [24749] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.484 /USR/SHARE/ZONEINFO/ETC/GMT [24113] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.492 /USR/SHARE/ZONEINFO/ETC/GMT [24214] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.492 /USR/SHARE/ZONEINFO/ETC/GMT [24181] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24215] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24175] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24174] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [24055] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [25079] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [25389] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.504 /USR/SHARE/ZONEINFO/ETC/GMT [25723] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.508 /USR/SHARE/ZONEINFO/ETC/GMT [25780] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.512 /USR/SHARE/ZONEINFO/ETC/GMT [26582] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.516 /USR/SHARE/ZONEINFO/ETC/GMT [28096] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.520 /USR/SHARE/ZONEINFO/ETC/GMT [28638] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.524 /USR/SHARE/ZONEINFO/ETC/GMT [28696] FATAL: terminating connection due to unexpected postmaster exit ====== 1 failed, 2 passed, 114 warnings, 116 errors in 135.72s (0:02:15) ======= 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/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/exc.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/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/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/__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/translatable.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/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/exc.py to exc.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/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/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/__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/translatable.py to translatable.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_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_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_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_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_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_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_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_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_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_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_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_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_joined_loading.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_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_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_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_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/__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_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/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_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_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_fallback_locale_as_callable.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/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/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/exc.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/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/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/__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/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n 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/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/exc.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/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/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/__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/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n 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_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_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_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_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_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_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_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_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_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_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_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_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/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_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_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_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_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/__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_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/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_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_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_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/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/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/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/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/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/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/__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/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/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/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/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/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/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/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/__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/translatable.py to translatable.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_armhf.buildinfo dpkg-genchanges --build=binary -O../sqlalchemy-i18n_1.1.0-2_armhf.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/11033 and its subdirectories I: Current time: Wed Nov 20 17:57:23 -12 2024 I: pbuilder-time-stamp: 1732168643 Thu Nov 21 05:57:23 UTC 2024 I: Signing ./b1/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo as sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc Thu Nov 21 05:57:23 UTC 2024 I: Signed ./b1/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo as ./b1/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc Thu Nov 21 05:57:23 UTC 2024 - build #1 for sqlalchemy-i18n/unstable/armhf on virt32z done. Starting cleanup. All cleanup done. Thu Nov 21 05:57:23 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-CgbRI9G6, removing. /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 05:57 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 05:47 b2 -rw------- 1 jenkins jenkins 3494 Nov 21 05:47 rbuildlog.jcO7ky9 -rw-r--r-- 1 jenkins jenkins 2330 Nov 14 06:30 sqlalchemy-i18n_1.1.0-2.dsc /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b1: total 664 -rw-r--r-- 1 jenkins jenkins 602132 Nov 21 05:57 build.log -rw-r--r-- 1 jenkins jenkins 27940 Nov 21 05:57 python3-sqlalchemy-i18n_1.1.0-2_all.deb -rw-r--r-- 1 jenkins jenkins 4360 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2330 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2.dsc -rw-r--r-- 1 jenkins jenkins 8195 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo -rw-r--r-- 1 jenkins jenkins 9077 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1142 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_armhf.changes -rw-r--r-- 1 jenkins jenkins 1268 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2: total 0 Thu Nov 21 05:57:28 UTC 2024 I: Deleting $TMPDIR on virt32z-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Wed Nov 20 17:47:21 -12 2024 I: pbuilder-time-stamp: 1732168041 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: 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/11033/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='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='41c43abdd2f44623873617fc01bab723' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' 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='11033' 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.OwijfkeL/pbuilderrc_Mk0P --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.OwijfkeL/b1 --logfile b1/build.log sqlalchemy-i18n_1.1.0-2.dsc' SUDO_GID='110' SUDO_UID='103' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt32z 6.1.0-27-armmp-lpae #1 SMP Debian 6.1.115-1 (2024-11-01) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/11033/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: armhf 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 ... 19686 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 96.7 MB of archives. After unpacking 395 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libjson-perl all 4.10000-1 [87.5 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libio-pty-perl armhf 1:1.20-1+b2 [33.8 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf libipc-run-perl all 20231003.0-2 [101 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf postgresql-client-common all 266 [36.5 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.3.2-2 [1348 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf ssl-cert all 1.1.3 [16.8 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf ucf all 3.0043+nmu1 [55.2 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf postgresql-common all 266 [169 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.7-3 [800 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.7-3 [1808 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.7-1 [26.8 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf tzdata all 2024b-3 [255 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1+b1 [22.3 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-4 [8096 B] Get: 21 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3+b1 [71.3 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libnsl2 armhf 1.3.0-3+b3 [35.0 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-5 [69.3 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-5 [146 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.7-3 [1819 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.7-3 [671 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.7-1 [9712 B] Get: 31 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.7-1 [27.8 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.0-2 [843 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.0-2 [1691 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf sgml-base all 1.31 [15.4 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf ca-certificates all 20240203 [158 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-11 [83.6 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-8 [517 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 56 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5+b1 [9088 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B] Get: 70 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.2.0-1 [213 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20241024 [109 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf xml-core all 0.19 [20.1 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf libedit2 armhf 3.1-20240808-1 [77.9 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8 [18.2 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8 [50.2 kB] Get: 84 http://deb.debian.org/debian unstable/main armhf libldap-2.5-0 armhf 2.5.18+dfsg-3+b1 [163 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf libz3-4 armhf 4.13.3-1 [7252 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf libllvm19 armhf 1:19.1.3-2 [23.8 MB] Get: 87 http://deb.debian.org/debian unstable/main armhf libpq5 armhf 17.1-1 [206 kB] Get: 88 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1850 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf libxslt1.1 armhf 1.1.35-1.1+b1 [212 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf postgresql-client-17 armhf 17.1-1 [1916 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf postgresql-17 armhf 17.1-1 [15.9 MB] Get: 92 http://deb.debian.org/debian unstable/main armhf postgresql all 17+266 [12.3 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf python-babel-localedata all 2.16.0-1 [5696 kB] Get: 94 http://deb.debian.org/debian unstable/main armhf python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 95 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.0-2 [730 kB] Get: 96 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.12.7-1 [1052 B] Get: 97 http://deb.debian.org/debian unstable/main armhf python3-dateutil all 2.9.0-3 [79.3 kB] Get: 98 http://deb.debian.org/debian unstable/main armhf python3-typeshed all 0.0~git20231111.6764465-3 [1258 kB] Get: 99 http://deb.debian.org/debian unstable/main armhf python3-arrow all 1.3.0-1.1 [64.7 kB] Get: 100 http://deb.debian.org/debian unstable/main armhf python3-babel all 2.16.0-1 [114 kB] Get: 101 http://deb.debian.org/debian unstable/main armhf python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 102 http://deb.debian.org/debian unstable/main armhf python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 103 http://deb.debian.org/debian unstable/main armhf python3-charset-normalizer armhf 3.4.0-1+b1 [126 kB] Get: 104 http://deb.debian.org/debian unstable/main armhf python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf python3-roman all 4.2-1 [10.4 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 107 http://deb.debian.org/debian unstable/main armhf python3-greenlet armhf 3.1.0-1+b1 [175 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf python3-idna all 3.8-2 [41.6 kB] Get: 109 http://deb.debian.org/debian unstable/main armhf python3-imagesize all 1.4.1-1 [6688 B] Get: 110 http://deb.debian.org/debian unstable/main armhf python3-infinity all 1.5-3 [4384 B] Get: 111 http://deb.debian.org/debian unstable/main armhf python3-iniconfig all 1.1.1-2 [6396 B] Get: 112 http://deb.debian.org/debian unstable/main armhf python3-markupsafe armhf 2.1.5-1+b2 [13.4 kB] Get: 113 http://deb.debian.org/debian unstable/main armhf python3-jinja2 all 3.1.3-1 [119 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf python3-packaging all 24.2-1 [55.3 kB] Get: 115 http://deb.debian.org/debian unstable/main armhf python3-pluggy all 1.5.0-1 [26.9 kB] Get: 116 http://deb.debian.org/debian unstable/main armhf python3-psycopg2 armhf 2.9.9-2+b1 [123 kB] Get: 117 http://deb.debian.org/debian unstable/main armhf python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 118 http://deb.debian.org/debian unstable/main armhf python3-pytest all 8.3.3-1 [249 kB] Get: 119 http://deb.debian.org/debian unstable/main armhf python3-urllib3 all 2.0.7-2 [111 kB] Get: 120 http://deb.debian.org/debian unstable/main armhf python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 121 http://deb.debian.org/debian unstable/main armhf python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 122 http://deb.debian.org/debian unstable/main armhf sphinx-common all 7.4.7-4 [731 kB] Get: 123 http://deb.debian.org/debian unstable/main armhf python3-sphinx all 7.4.7-4 [588 kB] Get: 124 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy all 2.0.32+ds1-1 [1196 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy-utils all 0.41.0-4 [67.6 kB] Fetched 96.7 MB in 3s (33.5 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 ... 19686 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_armhf.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_armhf.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:armhf. Preparing to unpack .../10-libpython3.12-minimal_3.12.7-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.7-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../11-libexpat1_2.6.4-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../12-python3.12-minimal_3.12.7-3_armhf.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:armhf (3.12.7-3) ... Setting up libexpat1:armhf (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 ... 20670 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.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:armhf. Preparing to unpack .../03-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../04-libcom-err2_1.47.1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../05-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../06-libkeyutils1_1.6.3-4_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-4) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../07-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../08-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (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:armhf. Preparing to unpack .../10-libtirpc3t64_1.3.4+ds-1.3+b1_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../11-libnsl2_1.3.0-3+b3_armhf.deb ... Unpacking libnsl2:armhf (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:armhf. Preparing to unpack .../13-libreadline8t64_8.2-5_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../14-libpython3.12-stdlib_3.12.7-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../15-python3.12_3.12.7-3_armhf.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../16-libpython3-stdlib_3.12.7-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (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 ... 21725 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:armhf. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.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_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../06-libmagic1t64_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.45-3+b1_armhf.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../09-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../10-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../11-bsdextrautils_2.40.2-11_armhf.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../12-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../13-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.19-4_armhf.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:armhf. Preparing to unpack .../25-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-5+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-5+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_armhf.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:armhf. Preparing to unpack .../47-libedit2_3.1-20240808-1_armhf.deb ... Unpacking libedit2:armhf (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:armhf. Preparing to unpack .../51-libsasl2-modules-db_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../52-libsasl2-2_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../53-libldap-2.5-0_2.5.18+dfsg-3+b1_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.18+dfsg-3+b1) ... Selecting previously unselected package libz3-4:armhf. Preparing to unpack .../54-libz3-4_4.13.3-1_armhf.deb ... Unpacking libz3-4:armhf (4.13.3-1) ... Selecting previously unselected package libllvm19:armhf. Preparing to unpack .../55-libllvm19_1%3a19.1.3-2_armhf.deb ... Unpacking libllvm19:armhf (1:19.1.3-2) ... Selecting previously unselected package libpq5:armhf. Preparing to unpack .../56-libpq5_17.1-1_armhf.deb ... Unpacking libpq5:armhf (17.1-1) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... Selecting previously unselected package libxslt1.1:armhf. Preparing to unpack .../58-libxslt1.1_1.1.35-1.1+b1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.35-1.1+b1) ... Selecting previously unselected package postgresql-client-17. Preparing to unpack .../59-postgresql-client-17_17.1-1_armhf.deb ... Unpacking postgresql-client-17 (17.1-1) ... Selecting previously unselected package postgresql-17. Preparing to unpack .../60-postgresql-17_17.1-1_armhf.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_armhf.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../65-python3-all_3.12.7-1_armhf.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_armhf.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_armhf.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_armhf.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.2-1_all.deb ... Unpacking python3-packaging (24.2-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_armhf.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:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-4) ... Setting up libicu72:armhf (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:armhf (3.1-20240808-1) ... Setting up libmagic1t64:armhf (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Nov 21 05:49:35 UTC 2024. Universal Time is now: Thu Nov 21 05:49:35 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libz3-4:armhf (4.13.3-1) ... Setting up autopoint (0.22.5-2) ... Setting up libipc-run-perl (20231003.0-2) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libsasl2-2:armhf (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (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:armhf (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:armhf (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:armhf (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:armhf (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) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up ucf (3.0043+nmu1) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:armhf (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:armhf (1.1.35-1.1+b1) ... Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... Setting up libtirpc3t64:armhf (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:armhf (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:armhf (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:armhf (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:armhf (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.2-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 armhf 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-armv7l' 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-armv7l' 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/utils.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 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/builders.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/__init__.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 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/utils.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 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/builders.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/__init__.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 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/tmpra4_e2b4/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/tmpra4_e2b4/data -l logfile start 2024-11-20 17:53:46.537 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: starting PostgreSQL 17.1 (Debian 17.1-1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 14.2.0-8) 14.2.0, 32-bit 2024-11-20 17:53:46.538 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: listening on IPv4 address "127.0.0.1", port 47575 2024-11-20 17:53:46.538 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: listening on Unix socket "/tmp/tmpra4_e2b4/tmp/.s.PGSQL.47575" 2024-11-20 17:53:46.557 /USR/SHARE/ZONEINFO/ETC/GMT [21879] LOG: database system was shut down at 2024-11-20 17:53:45 /USR/SHARE/ZONEINFO/ETC/GMT 2024-11-20 17:53:46.587 /USR/SHARE/ZONEINFO/ETC/GMT [21866] 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 EEEE2024-11-20 17:55:24.864 /USR/SHARE/ZONEINFO/ETC/GMT [1916] FATAL: sorry, too many clients already E2024-11-20 17:55:26.728 /USR/SHARE/ZONEINFO/ETC/GMT [1982] FATAL: sorry, too many clients already E2024-11-20 17:55:28.892 /USR/SHARE/ZONEINFO/ETC/GMT [2034] FATAL: sorry, too many clients already E2024-11-20 17:55:30.800 /USR/SHARE/ZONEINFO/ETC/GMT [2089] FATAL: sorry, too many clients already E2024-11-20 17:55:33.805 /USR/SHARE/ZONEINFO/ETC/GMT [2142] FATAL: sorry, too many clients already E2024-11-20 17:55:35.932 /USR/SHARE/ZONEINFO/ETC/GMT [2200] FATAL: sorry, too many clients already E2024-11-20 17:55:37.613 /USR/SHARE/ZONEINFO/ETC/GMT [2292] FATAL: sorry, too many clients already E2024-11-20 17:55:39.548 /USR/SHARE/ZONEINFO/ETC/GMT [2427] FATAL: sorry, too many clients already E2024-11-20 17:55:40.714 /USR/SHARE/ZONEINFO/ETC/GMT [2530] FATAL: sorry, too many clients already E2024-11-20 17:55:42.898 /USR/SHARE/ZONEINFO/ETC/GMT [2680] FATAL: sorry, too many clients already E2024-11-20 17:55:45.172 /USR/SHARE/ZONEINFO/ETC/GMT [3089] FATAL: sorry, too many clients already E2024-11-20 17:55:48.098 /USR/SHARE/ZONEINFO/ETC/GMT [3715] FATAL: sorry, too many clients already E2024-11-20 17:55:49.849 /USR/SHARE/ZONEINFO/ETC/GMT [4109] FATAL: sorry, too many clients already E2024-11-20 17:55:52.348 /USR/SHARE/ZONEINFO/ETC/GMT [4362] FATAL: sorry, too many clients already E2024-11-20 17:55:55.768 /USR/SHARE/ZONEINFO/ETC/GMT [4769] FATAL: sorry, too many clients already E2024-11-20 17:55:58.596 /USR/SHARE/ZONEINFO/ETC/GMT [5348] 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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 47575 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...2024-11-20 17:56:03.409 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: received smart shutdown request 2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [1013] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [1865] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [30517] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30295] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30272] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30188] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [29199] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [28937] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28784] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28779] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [1611] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28772] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28695] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28491] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28484] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [28348] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [487] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [27168] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [26646] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [24420] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [30222] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1222] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1839] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1776] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [29563] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1143] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1631] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1134] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [1228] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [29414] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [31520] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [29145] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [1171] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [29107] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30345] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30098] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [752] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [29046] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [29759] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [28903] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [32555] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [29127] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [1123] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [1148] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [28741] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [1152] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [32103] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [1155] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [31083] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [23488] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [1160] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [24054] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [30329] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [1166] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [30323] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [30044] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [27482] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29240] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29234] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29222] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29120] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29094] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29093] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [28781] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [28732] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28616] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28615] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28608] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28437] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.459 /USR/SHARE/ZONEINFO/ETC/GMT [28245] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.460 /USR/SHARE/ZONEINFO/ETC/GMT [27759] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.460 /USR/SHARE/ZONEINFO/ETC/GMT [28481] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28488] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28241] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28238] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [27828] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [28524] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [28778] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [27799] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [28780] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [25795] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.476 /USR/SHARE/ZONEINFO/ETC/GMT [25734] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.476 /USR/SHARE/ZONEINFO/ETC/GMT [28873] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30539] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.480 /USR/SHARE/ZONEINFO/ETC/GMT [24749] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.484 /USR/SHARE/ZONEINFO/ETC/GMT [24113] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.492 /USR/SHARE/ZONEINFO/ETC/GMT [24214] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.492 /USR/SHARE/ZONEINFO/ETC/GMT [24181] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24215] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24175] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24174] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [24055] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [25079] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [25389] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.504 /USR/SHARE/ZONEINFO/ETC/GMT [25723] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.508 /USR/SHARE/ZONEINFO/ETC/GMT [25780] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.512 /USR/SHARE/ZONEINFO/ETC/GMT [26582] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.516 /USR/SHARE/ZONEINFO/ETC/GMT [28096] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.520 /USR/SHARE/ZONEINFO/ETC/GMT [28638] FATAL: terminating connection due to unexpected postmaster exit 2024-11-20 17:56:08.524 /USR/SHARE/ZONEINFO/ETC/GMT [28696] FATAL: terminating connection due to unexpected postmaster exit ====== 1 failed, 2 passed, 114 warnings, 116 errors in 135.72s (0:02:15) ======= 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/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/exc.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/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/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/__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/translatable.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/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/exc.py to exc.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/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/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/__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/translatable.py to translatable.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_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_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_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_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_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_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_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_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_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_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_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_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_joined_loading.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_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_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_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_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/__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_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/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_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_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_fallback_locale_as_callable.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/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/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/exc.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/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/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/__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/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n 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/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/exc.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/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/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/__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/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n 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_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_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_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_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_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_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_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_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_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_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_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_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/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_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_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_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_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/__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_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/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_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_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_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/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/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/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/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/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/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/__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/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/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/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/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/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/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/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/__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/translatable.py to translatable.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_armhf.buildinfo dpkg-genchanges --build=binary -O../sqlalchemy-i18n_1.1.0-2_armhf.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/11033 and its subdirectories I: Current time: Wed Nov 20 17:57:23 -12 2024 I: pbuilder-time-stamp: 1732168643 Thu Nov 21 05:57:31 UTC 2024 I: 1st build successful. Starting 2nd build on remote node virt64a-armhf-rb.debian.net. Thu Nov 21 05:57:31 UTC 2024 I: Preparing to do remote build '2' on virt64a-armhf-rb.debian.net. Thu Nov 21 05:57:31 UTC 2024 - checking /var/lib/jenkins/offline_nodes if virt64a-armhf-rb.debian.net is marked as down. Thu Nov 21 05:57:31 UTC 2024 - checking via ssh if virt64a-armhf-rb.debian.net is up. removed '/tmp/read-only-fs-test-Czn540' ==================================================================================== Thu Nov 21 05:57:36 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on virt64a, called using "2 sqlalchemy-i18n unstable /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL 1.1.0-2" as arguments. Thu Nov 21 05:57:36 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-aNYAZll9" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Thu Nov 21 05:57:36 UTC 2024 I: Downloading source for unstable/sqlalchemy-i18n=1.1.0-2 Reading package lists... NOTICE: 'sqlalchemy-i18n' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git Please use: git clone https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 34.9 kB of source archives. Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (dsc) [2330 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (tar) [28.2 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (diff) [4360 B] Fetched 34.9 kB in 0s (1644 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'sqlalchemy-i18n' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git Please use: git clone https://salsa.debian.org/python-team/packages/sqlalchemy-i18n.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 34.9 kB of source archives. Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (dsc) [2330 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (tar) [28.2 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main sqlalchemy-i18n 1.1.0-2 (diff) [4360 B] Fetched 34.9 kB in 0s (1644 kB/s) Download complete and in download only mode ============================================================================= Re-Building sqlalchemy-i18n in unstable on armhf on virt64a now. Date: Thu Nov 21 05:57:37 UTC 2024 Date UTC: Thu Nov 21 05:57:37 UTC 2024 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/pbuilderrc_YnXO + case ${ARCH} in + case $NUM_CPU in + case $ARCH in + locale=it_CH + language=it + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat I: Logging to b2/build.log + echo BUILDDIR=/build/reproducible-path + '[' sqlalchemy-i18n = debian-installer -o sqlalchemy-i18n = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' sqlalchemy-i18n = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/pbuilderrc_YnXO --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2 --logfile b2/build.log sqlalchemy-i18n_1.1.0-2.dsc W: /root/.pbuilderrc does not exist I: pbuilder: network access will be disabled during build I: Current time: Thu Nov 21 19:57:38 +14 2024 I: pbuilder-time-stamp: 1732168658 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: 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/31628/tmp/hooks/D01_modify_environment starting debug: Running on virt64a. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Nov 21 05:57 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/31628/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/31628/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=93ad6f8551c8490ba54085c326a35ea1 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=31628 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/pbuilderrc_YnXO --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2 --logfile b2/build.log sqlalchemy-i18n_1.1.0-2.dsc' SUDO_GID=114 SUDO_UID=108 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 6.1.0-27-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/31628/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: armhf 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 ... 19686 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 96.7 MB of archives. After unpacking 395 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libjson-perl all 4.10000-1 [87.5 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libio-pty-perl armhf 1:1.20-1+b2 [33.8 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf libipc-run-perl all 20231003.0-2 [101 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf postgresql-client-common all 266 [36.5 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.3.2-2 [1348 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf ssl-cert all 1.1.3 [16.8 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf ucf all 3.0043+nmu1 [55.2 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf postgresql-common all 266 [169 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.7-3 [800 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.4-1 [83.5 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.7-3 [1808 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.12.7-1 [26.8 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf tzdata all 2024b-3 [255 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1+b1 [22.3 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-4 [8096 B] Get: 21 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3+b1 [71.3 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libnsl2 armhf 1.3.0-3+b3 [35.0 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-5 [69.3 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-5 [146 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.7-3 [1819 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.7-3 [671 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.12.7-1 [9712 B] Get: 31 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.12.7-1 [27.8 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.0-2 [843 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.0-2 [1691 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf sgml-base all 1.31 [15.4 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf ca-certificates all 20240203 [158 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3+b1 [314 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3+b1 [98.5 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3+b1 [42.3 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-11 [83.6 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-8 [517 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 56 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5+b1 [9088 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2+b1 [605 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.1-1 [37.0 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.0-1 [7984 B] Get: 70 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 75.2.0-1 [213 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20241024 [109 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf xml-core all 0.19 [20.1 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf libedit2 armhf 3.1-20240808-1 [77.9 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8 [18.2 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8 [50.2 kB] Get: 84 http://deb.debian.org/debian unstable/main armhf libldap-2.5-0 armhf 2.5.18+dfsg-3+b1 [163 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf libz3-4 armhf 4.13.3-1 [7252 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf libllvm19 armhf 1:19.1.3-2 [23.8 MB] Get: 87 http://deb.debian.org/debian unstable/main armhf libpq5 armhf 17.1-1 [206 kB] Get: 88 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1850 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf libxslt1.1 armhf 1.1.35-1.1+b1 [212 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf postgresql-client-17 armhf 17.1-1 [1916 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf postgresql-17 armhf 17.1-1 [15.9 MB] Get: 92 http://deb.debian.org/debian unstable/main armhf postgresql all 17+266 [12.3 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf python-babel-localedata all 2.16.0-1 [5696 kB] Get: 94 http://deb.debian.org/debian unstable/main armhf python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 95 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.0-2 [730 kB] Get: 96 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.12.7-1 [1052 B] Get: 97 http://deb.debian.org/debian unstable/main armhf python3-dateutil all 2.9.0-3 [79.3 kB] Get: 98 http://deb.debian.org/debian unstable/main armhf python3-typeshed all 0.0~git20231111.6764465-3 [1258 kB] Get: 99 http://deb.debian.org/debian unstable/main armhf python3-arrow all 1.3.0-1.1 [64.7 kB] Get: 100 http://deb.debian.org/debian unstable/main armhf python3-babel all 2.16.0-1 [114 kB] Get: 101 http://deb.debian.org/debian unstable/main armhf python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 102 http://deb.debian.org/debian unstable/main armhf python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 103 http://deb.debian.org/debian unstable/main armhf python3-charset-normalizer armhf 3.4.0-1+b1 [126 kB] Get: 104 http://deb.debian.org/debian unstable/main armhf python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf python3-roman all 4.2-1 [10.4 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 107 http://deb.debian.org/debian unstable/main armhf python3-greenlet armhf 3.1.0-1+b1 [175 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf python3-idna all 3.8-2 [41.6 kB] Get: 109 http://deb.debian.org/debian unstable/main armhf python3-imagesize all 1.4.1-1 [6688 B] Get: 110 http://deb.debian.org/debian unstable/main armhf python3-infinity all 1.5-3 [4384 B] Get: 111 http://deb.debian.org/debian unstable/main armhf python3-iniconfig all 1.1.1-2 [6396 B] Get: 112 http://deb.debian.org/debian unstable/main armhf python3-markupsafe armhf 2.1.5-1+b2 [13.4 kB] Get: 113 http://deb.debian.org/debian unstable/main armhf python3-jinja2 all 3.1.3-1 [119 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf python3-packaging all 24.2-1 [55.3 kB] Get: 115 http://deb.debian.org/debian unstable/main armhf python3-pluggy all 1.5.0-1 [26.9 kB] Get: 116 http://deb.debian.org/debian unstable/main armhf python3-psycopg2 armhf 2.9.9-2+b1 [123 kB] Get: 117 http://deb.debian.org/debian unstable/main armhf python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 118 http://deb.debian.org/debian unstable/main armhf python3-pytest all 8.3.3-1 [249 kB] Get: 119 http://deb.debian.org/debian unstable/main armhf python3-urllib3 all 2.0.7-2 [111 kB] Get: 120 http://deb.debian.org/debian unstable/main armhf python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 121 http://deb.debian.org/debian unstable/main armhf python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 122 http://deb.debian.org/debian unstable/main armhf sphinx-common all 7.4.7-4 [731 kB] Get: 123 http://deb.debian.org/debian unstable/main armhf python3-sphinx all 7.4.7-4 [588 kB] Get: 124 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy all 2.0.32+ds1-1 [1196 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy-utils all 0.41.0-4 [67.6 kB] Fetched 96.7 MB in 2s (46.1 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 ... 19686 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_armhf.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_armhf.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:armhf. Preparing to unpack .../10-libpython3.12-minimal_3.12.7-3_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.7-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../11-libexpat1_2.6.4-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../12-python3.12-minimal_3.12.7-3_armhf.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:armhf (3.12.7-3) ... Setting up libexpat1:armhf (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 ... 20670 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_armhf.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:armhf. Preparing to unpack .../03-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../04-libcom-err2_1.47.1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../05-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../06-libkeyutils1_1.6.3-4_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-4) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../07-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../08-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (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:armhf. Preparing to unpack .../10-libtirpc3t64_1.3.4+ds-1.3+b1_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../11-libnsl2_1.3.0-3+b3_armhf.deb ... Unpacking libnsl2:armhf (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:armhf. Preparing to unpack .../13-libreadline8t64_8.2-5_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../14-libpython3.12-stdlib_3.12.7-3_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../15-python3.12_3.12.7-3_armhf.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../16-libpython3-stdlib_3.12.7-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (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 ... 21725 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:armhf. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_armhf.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_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../06-libmagic1t64_1%3a5.45-3+b1_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.45-3+b1_armhf.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../09-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../10-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../11-bsdextrautils_2.40.2-11_armhf.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../12-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../13-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.19-4_armhf.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:armhf. Preparing to unpack .../25-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-5+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-5+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.22.5-2_armhf.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:armhf. Preparing to unpack .../47-libedit2_3.1-20240808-1_armhf.deb ... Unpacking libedit2:armhf (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:armhf. Preparing to unpack .../51-libsasl2-modules-db_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../52-libsasl2-2_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../53-libldap-2.5-0_2.5.18+dfsg-3+b1_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.18+dfsg-3+b1) ... Selecting previously unselected package libz3-4:armhf. Preparing to unpack .../54-libz3-4_4.13.3-1_armhf.deb ... Unpacking libz3-4:armhf (4.13.3-1) ... Selecting previously unselected package libllvm19:armhf. Preparing to unpack .../55-libllvm19_1%3a19.1.3-2_armhf.deb ... Unpacking libllvm19:armhf (1:19.1.3-2) ... Selecting previously unselected package libpq5:armhf. Preparing to unpack .../56-libpq5_17.1-1_armhf.deb ... Unpacking libpq5:armhf (17.1-1) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... Selecting previously unselected package libxslt1.1:armhf. Preparing to unpack .../58-libxslt1.1_1.1.35-1.1+b1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.35-1.1+b1) ... Selecting previously unselected package postgresql-client-17. Preparing to unpack .../59-postgresql-client-17_17.1-1_armhf.deb ... Unpacking postgresql-client-17 (17.1-1) ... Selecting previously unselected package postgresql-17. Preparing to unpack .../60-postgresql-17_17.1-1_armhf.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_armhf.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../65-python3-all_3.12.7-1_armhf.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_armhf.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_armhf.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_armhf.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.2-1_all.deb ... Unpacking python3-packaging (24.2-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_armhf.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:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-4) ... Setting up libicu72:armhf (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:armhf (3.1-20240808-1) ... Setting up libmagic1t64:armhf (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Nov 21 05:58:48 UTC 2024. Universal Time is now: Thu Nov 21 05:58:48 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libz3-4:armhf (4.13.3-1) ... Setting up autopoint (0.22.5-2) ... Setting up libipc-run-perl (20231003.0-2) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libsasl2-2:armhf (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (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:armhf (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:armhf (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:armhf (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:armhf (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) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up ucf (3.0043+nmu1) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:armhf (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:armhf (1.1.35-1.1+b1) ... Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... Setting up libtirpc3t64:armhf (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:armhf (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:armhf (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:armhf (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:armhf (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-14 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.2-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: user script /srv/workspace/pbuilder/31628/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/31628/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/sqlalchemy-i18n-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-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 armhf 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-armv7l' 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-armv7l' 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/exc.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/comparators.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/expressions.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/builders.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/exc.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/comparators.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/expressions.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/builders.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 "pbuilder2". 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/tmp9ch3gj6n/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-14 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/tmp9ch3gj6n/data -l logfile start 2024-11-21 20:01:27.057 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: starting PostgreSQL 17.1 (Debian 17.1-1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 14.2.0-8) 14.2.0, 32-bit 2024-11-21 20:01:27.058 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: listening on IPv4 address "127.0.0.1", port 44915 2024-11-21 20:01:27.058 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: listening on Unix socket "/tmp/tmp9ch3gj6n/tmp/.s.PGSQL.44915" 2024-11-21 20:01:27.063 /USR/SHARE/ZONEINFO/ETC/GMT [6080] LOG: database system was shut down at 2024-11-21 20:01:26 /USR/SHARE/ZONEINFO/ETC/GMT 2024-11-21 20:01:27.072 /USR/SHARE/ZONEINFO/ETC/GMT [6077] 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 EEEE2024-11-21 20:02:36.360 /USR/SHARE/ZONEINFO/ETC/GMT [6188] FATAL: sorry, too many clients already E2024-11-21 20:02:37.692 /USR/SHARE/ZONEINFO/ETC/GMT [6189] FATAL: sorry, too many clients already E2024-11-21 20:02:39.090 /USR/SHARE/ZONEINFO/ETC/GMT [6190] FATAL: sorry, too many clients already E2024-11-21 20:02:40.468 /USR/SHARE/ZONEINFO/ETC/GMT [6191] FATAL: sorry, too many clients already E2024-11-21 20:02:41.847 /USR/SHARE/ZONEINFO/ETC/GMT [6192] FATAL: sorry, too many clients already E2024-11-21 20:02:43.217 /USR/SHARE/ZONEINFO/ETC/GMT [6193] FATAL: sorry, too many clients already E2024-11-21 20:02:44.602 /USR/SHARE/ZONEINFO/ETC/GMT [6194] FATAL: sorry, too many clients already E2024-11-21 20:02:45.947 /USR/SHARE/ZONEINFO/ETC/GMT [6195] FATAL: sorry, too many clients already E2024-11-21 20:02:47.337 /USR/SHARE/ZONEINFO/ETC/GMT [6196] FATAL: sorry, too many clients already E2024-11-21 20:02:48.698 /USR/SHARE/ZONEINFO/ETC/GMT [6197] FATAL: sorry, too many clients already E2024-11-21 20:02:50.049 /USR/SHARE/ZONEINFO/ETC/GMT [6198] FATAL: sorry, too many clients already E2024-11-21 20:02:51.700 /USR/SHARE/ZONEINFO/ETC/GMT [6199] FATAL: sorry, too many clients already E2024-11-21 20:02:53.073 /USR/SHARE/ZONEINFO/ETC/GMT [6200] FATAL: sorry, too many clients already E2024-11-21 20:02:54.465 /USR/SHARE/ZONEINFO/ETC/GMT [6201] FATAL: sorry, too many clients already E2024-11-21 20:02:55.832 /USR/SHARE/ZONEINFO/ETC/GMT [6202] FATAL: sorry, too many clients already E2024-11-21 20:02:57.222 /USR/SHARE/ZONEINFO/ETC/GMT [6204] 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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 44915 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...2024-11-21 20:02:58.845 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: received smart shutdown request 2024-11-21 20:03:03.862 /USR/SHARE/ZONEINFO/ETC/GMT [6185] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.862 /USR/SHARE/ZONEINFO/ETC/GMT [6186] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.862 /USR/SHARE/ZONEINFO/ETC/GMT [6187] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.863 /USR/SHARE/ZONEINFO/ETC/GMT [6131] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.863 /USR/SHARE/ZONEINFO/ETC/GMT [6128] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6127] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6181] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6125] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6133] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6135] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6136] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6140] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6142] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6144] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6145] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6146] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6147] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6150] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6152] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6154] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6156] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6159] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6161] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6163] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6166] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6109] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6117] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6123] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6172] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6174] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6176] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6178] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6180] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6182] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6183] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6121] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6118] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6116] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6111] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6107] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6105] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6103] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6179] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6095] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6092] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6091] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6089] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6087] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6099] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.872 /USR/SHARE/ZONEINFO/ETC/GMT [6177] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6175] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6173] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6171] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6169] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6168] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6167] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6165] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6164] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6162] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6158] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6157] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6155] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6153] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6151] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6149] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6148] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6143] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6141] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6139] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6138] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6137] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6134] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6132] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6130] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6129] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6126] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6122] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6120] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6119] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6115] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6114] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6113] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6112] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6110] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6108] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6106] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6104] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6102] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6101] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6100] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6098] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6097] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6096] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6094] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6093] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6090] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6088] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6086] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6085] FATAL: terminating connection due to unexpected postmaster exit 2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6184] FATAL: terminating connection due to unexpected postmaster exit ======= 1 failed, 2 passed, 114 warnings, 116 errors in 91.19s (0:01:31) ======= 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/exc.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/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/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/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/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/builders.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/exc.py to exc.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/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/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/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/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/builders.py to builders.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/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 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/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/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/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/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/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n 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_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/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_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_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_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_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_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_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_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_joined_loading.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/__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_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_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_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_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_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_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_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_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_property_collision.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/exc.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/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/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/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/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/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n 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 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/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/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/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/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/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/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/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_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_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_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_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_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_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_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_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/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/__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_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_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_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_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_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_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_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_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_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/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/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/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/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/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/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/builders.py to builders.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_armhf.buildinfo dpkg-genchanges --build=binary -O../sqlalchemy-i18n_1.1.0-2_armhf.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: user script /srv/workspace/pbuilder/31628/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/31628/tmp/hooks/B01_cleanup finished 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/31628 and its subdirectories I: Current time: Thu Nov 21 20:03:22 +14 2024 I: pbuilder-time-stamp: 1732169002 + false + set +x Thu Nov 21 06:03:22 UTC 2024 I: Signing ./b2/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo as sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc Thu Nov 21 06:03:22 UTC 2024 I: Signed ./b2/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo as ./b2/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc Thu Nov 21 06:03:22 UTC 2024 - build #2 for sqlalchemy-i18n/unstable/armhf on virt64a done. Starting cleanup. All cleanup done. Thu Nov 21 06:03:22 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-aNYAZll9, removing. /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL: total 608 drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 05:57 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 06:03 b2 -rw------- 1 jenkins jenkins 605924 Nov 21 05:57 rbuildlog.jcO7ky9 -rw-r--r-- 1 jenkins jenkins 2330 Nov 14 06:30 sqlalchemy-i18n_1.1.0-2.dsc /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b1: total 668 -rw-r--r-- 1 jenkins jenkins 602132 Nov 21 05:57 build.log -rw-r--r-- 1 jenkins jenkins 27940 Nov 21 05:57 python3-sqlalchemy-i18n_1.1.0-2_all.deb -rw-r--r-- 1 jenkins jenkins 4360 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2330 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2.dsc -rw-r--r-- 1 jenkins jenkins 8195 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo -rw-r--r-- 1 jenkins jenkins 9077 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1142 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_armhf.changes -rw-r--r-- 1 jenkins jenkins 1268 Nov 21 05:57 sqlalchemy-i18n_1.1.0-2_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2: total 660 -rw-r--r-- 1 jenkins jenkins 603982 Nov 21 06:03 build.log -rw-r--r-- 1 jenkins jenkins 27940 Nov 21 06:03 python3-sqlalchemy-i18n_1.1.0-2_all.deb -rw-r--r-- 1 jenkins jenkins 4360 Nov 21 06:03 sqlalchemy-i18n_1.1.0-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2330 Nov 21 06:03 sqlalchemy-i18n_1.1.0-2.dsc -rw-r--r-- 1 jenkins jenkins 8190 Nov 21 06:03 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo -rw-r--r-- 1 jenkins jenkins 9072 Nov 21 06:03 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1142 Nov 21 06:03 sqlalchemy-i18n_1.1.0-2_armhf.changes -rw-r--r-- 1 jenkins jenkins 1268 Nov 21 06:03 sqlalchemy-i18n_1.1.0-2_source.changes Thu Nov 21 06:03:31 UTC 2024 I: Deleting $TMPDIR on virt64a-armhf-rb.debian.net. Thu Nov 21 06:03:34 UTC 2024 I: sqlalchemy-i18n_1.1.0-2_armhf.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 5e41cf83ccd9d22ab3d7dc25953b9a2ad77c3472 8195 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo Checksums-Sha256: 8f3df93053fbc1217c62a3a75dcbb0c852876f7fb68b129d61ce25ffb8283da8 27940 python3-sqlalchemy-i18n_1.1.0-2_all.deb cc7d0c16d59c6ac038abe8d951b2f3201f493ddf54f3735ff7d750cc78315fc3 8195 sqlalchemy-i18n_1.1.0-2_armhf.buildinfo Files: 44799f14d90200e475bf41223abf84e7 27940 python optional python3-sqlalchemy-i18n_1.1.0-2_all.deb c1a764bd8a5b559c0e8680b6d6451360 8195 python optional sqlalchemy-i18n_1.1.0-2_armhf.buildinfo removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/sqlalchemy-i18n_1.1.0-1.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/sqlalchemy-i18n_1.1.0-1.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/sqlalchemy-i18n_1.1.0-1.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/sqlalchemy-i18n_1.1.0-1.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/unstable/armhf/sqlalchemy-i18n_1.1.0-1_armhf.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/sqlalchemy-i18n_1.1.0-1.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2024-11-21 05:57:28.255861770 +0000 +++ b2/build.log 2024-11-21 06:03:30.803441748 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Nov 20 17:47:21 -12 2024 -I: pbuilder-time-stamp: 1732168041 +I: Current time: Thu Nov 21 19:57:38 +14 2024 +I: pbuilder-time-stamp: 1732168658 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ 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/11033/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 21 05:57 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31628/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='41c43abdd2f44623873617fc01bab723' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='11033' - PS1='# ' - PS2='> ' + INVOCATION_ID=93ad6f8551c8490ba54085c326a35ea1 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=31628 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.OwijfkeL/pbuilderrc_Mk0P --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.OwijfkeL/b1 --logfile b1/build.log sqlalchemy-i18n_1.1.0-2.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/pbuilderrc_YnXO --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2 --logfile b2/build.log sqlalchemy-i18n_1.1.0-2.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-27-armmp-lpae #1 SMP Debian 6.1.115-1 (2024-11-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11033/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -254,7 +286,7 @@ Get: 123 http://deb.debian.org/debian unstable/main armhf python3-sphinx all 7.4.7-4 [588 kB] Get: 124 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy all 2.0.32+ds1-1 [1196 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf python3-sqlalchemy-utils all 0.41.0-4 [67.6 kB] -Fetched 96.7 MB in 3s (33.5 MB/s) +Fetched 96.7 MB in 2s (46.1 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 ... 19686 files and directories currently installed.) @@ -669,8 +701,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Nov 21 05:49:35 UTC 2024. -Universal Time is now: Thu Nov 21 05:49:35 UTC 2024. +Local time is now: Thu Nov 21 05:58:48 UTC 2024. +Universal Time is now: Thu Nov 21 05:58:48 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.0-2) ... @@ -755,7 +787,7 @@ 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 +selecting default time zone ... /usr/share/zoneinfo/Etc/GMT-14 creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok @@ -825,7 +857,11 @@ 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 +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sqlalchemy-i18n-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-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 @@ -863,14 +899,14 @@ 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/utils.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 +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/comparators.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/builders.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/__init__.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/translatable.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 running egg_info creating SQLAlchemy_i18n.egg-info writing SQLAlchemy_i18n.egg-info/PKG-INFO @@ -890,14 +926,14 @@ 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/utils.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 +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/comparators.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/builders.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/__init__.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/translatable.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 running egg_info writing SQLAlchemy_i18n.egg-info/PKG-INFO writing dependency_links to SQLAlchemy_i18n.egg-info/dependency_links.txt @@ -920,7 +956,7 @@ 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'))) +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 @@ -967,7 +1003,7 @@ 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". +The files belonging to this database system will be owned by user "pbuilder2". This user must also own the server process. The database cluster will be initialized with locale "C". @@ -976,12 +1012,12 @@ Data page checksums are disabled. -creating directory /tmp/tmpra4_e2b4/data ... ok +creating directory /tmp/tmp9ch3gj6n/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 +selecting default time zone ... /usr/share/zoneinfo/Etc/GMT-14 creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok @@ -989,13 +1025,13 @@ Success. You can now start the database server using: - /usr/lib/postgresql/17/bin/pg_ctl -D /tmp/tmpra4_e2b4/data -l logfile start + /usr/lib/postgresql/17/bin/pg_ctl -D /tmp/tmp9ch3gj6n/data -l logfile start -2024-11-20 17:53:46.537 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: starting PostgreSQL 17.1 (Debian 17.1-1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 14.2.0-8) 14.2.0, 32-bit -2024-11-20 17:53:46.538 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: listening on IPv4 address "127.0.0.1", port 47575 -2024-11-20 17:53:46.538 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: listening on Unix socket "/tmp/tmpra4_e2b4/tmp/.s.PGSQL.47575" -2024-11-20 17:53:46.557 /USR/SHARE/ZONEINFO/ETC/GMT [21879] LOG: database system was shut down at 2024-11-20 17:53:45 /USR/SHARE/ZONEINFO/ETC/GMT -2024-11-20 17:53:46.587 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: database system is ready to accept connections +2024-11-21 20:01:27.057 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: starting PostgreSQL 17.1 (Debian 17.1-1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 14.2.0-8) 14.2.0, 32-bit +2024-11-21 20:01:27.058 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: listening on IPv4 address "127.0.0.1", port 44915 +2024-11-21 20:01:27.058 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: listening on Unix socket "/tmp/tmp9ch3gj6n/tmp/.s.PGSQL.44915" +2024-11-21 20:01:27.063 /USR/SHARE/ZONEINFO/ETC/GMT [6080] LOG: database system was shut down at 2024-11-21 20:01:26 /USR/SHARE/ZONEINFO/ETC/GMT +2024-11-21 20:01:27.072 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: database system is ready to accept connections running initdb starting server ============================= test session starts ============================== @@ -1026,28 +1062,28 @@ 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 EEEE2024-11-20 17:55:24.864 /USR/SHARE/ZONEINFO/ETC/GMT [1916] FATAL: sorry, too many clients already -E2024-11-20 17:55:26.728 /USR/SHARE/ZONEINFO/ETC/GMT [1982] FATAL: sorry, too many clients already -E2024-11-20 17:55:28.892 /USR/SHARE/ZONEINFO/ETC/GMT [2034] FATAL: sorry, too many clients already -E2024-11-20 17:55:30.800 /USR/SHARE/ZONEINFO/ETC/GMT [2089] FATAL: sorry, too many clients already -E2024-11-20 17:55:33.805 /USR/SHARE/ZONEINFO/ETC/GMT [2142] FATAL: sorry, too many clients already -E2024-11-20 17:55:35.932 /USR/SHARE/ZONEINFO/ETC/GMT [2200] FATAL: sorry, too many clients already -E2024-11-20 17:55:37.613 /USR/SHARE/ZONEINFO/ETC/GMT [2292] FATAL: sorry, too many clients already -E2024-11-20 17:55:39.548 /USR/SHARE/ZONEINFO/ETC/GMT [2427] FATAL: sorry, too many clients already -E2024-11-20 17:55:40.714 /USR/SHARE/ZONEINFO/ETC/GMT [2530] FATAL: sorry, too many clients already -E2024-11-20 17:55:42.898 /USR/SHARE/ZONEINFO/ETC/GMT [2680] FATAL: sorry, too many clients already -E2024-11-20 17:55:45.172 /USR/SHARE/ZONEINFO/ETC/GMT [3089] FATAL: sorry, too many clients already -E2024-11-20 17:55:48.098 /USR/SHARE/ZONEINFO/ETC/GMT [3715] FATAL: sorry, too many clients already -E2024-11-20 17:55:49.849 /USR/SHARE/ZONEINFO/ETC/GMT [4109] FATAL: sorry, too many clients already -E2024-11-20 17:55:52.348 /USR/SHARE/ZONEINFO/ETC/GMT [4362] FATAL: sorry, too many clients already -E2024-11-20 17:55:55.768 /USR/SHARE/ZONEINFO/ETC/GMT [4769] FATAL: sorry, too many clients already -E2024-11-20 17:55:58.596 /USR/SHARE/ZONEINFO/ETC/GMT [5348] FATAL: sorry, too many clients already +tests/test_translation_mapping.py EEEE2024-11-21 20:02:36.360 /USR/SHARE/ZONEINFO/ETC/GMT [6188] FATAL: sorry, too many clients already +E2024-11-21 20:02:37.692 /USR/SHARE/ZONEINFO/ETC/GMT [6189] FATAL: sorry, too many clients already +E2024-11-21 20:02:39.090 /USR/SHARE/ZONEINFO/ETC/GMT [6190] FATAL: sorry, too many clients already +E2024-11-21 20:02:40.468 /USR/SHARE/ZONEINFO/ETC/GMT [6191] FATAL: sorry, too many clients already +E2024-11-21 20:02:41.847 /USR/SHARE/ZONEINFO/ETC/GMT [6192] FATAL: sorry, too many clients already +E2024-11-21 20:02:43.217 /USR/SHARE/ZONEINFO/ETC/GMT [6193] FATAL: sorry, too many clients already +E2024-11-21 20:02:44.602 /USR/SHARE/ZONEINFO/ETC/GMT [6194] FATAL: sorry, too many clients already +E2024-11-21 20:02:45.947 /USR/SHARE/ZONEINFO/ETC/GMT [6195] FATAL: sorry, too many clients already +E2024-11-21 20:02:47.337 /USR/SHARE/ZONEINFO/ETC/GMT [6196] FATAL: sorry, too many clients already +E2024-11-21 20:02:48.698 /USR/SHARE/ZONEINFO/ETC/GMT [6197] FATAL: sorry, too many clients already +E2024-11-21 20:02:50.049 /USR/SHARE/ZONEINFO/ETC/GMT [6198] FATAL: sorry, too many clients already +E2024-11-21 20:02:51.700 /USR/SHARE/ZONEINFO/ETC/GMT [6199] FATAL: sorry, too many clients already +E2024-11-21 20:02:53.073 /USR/SHARE/ZONEINFO/ETC/GMT [6200] FATAL: sorry, too many clients already +E2024-11-21 20:02:54.465 /USR/SHARE/ZONEINFO/ETC/GMT [6201] FATAL: sorry, too many clients already +E2024-11-21 20:02:55.832 /USR/SHARE/ZONEINFO/ETC/GMT [6202] FATAL: sorry, too many clients already +E2024-11-21 20:02:57.222 /USR/SHARE/ZONEINFO/ETC/GMT [6204] FATAL: sorry, too many clients already E [100%] ==================================== ERRORS ==================================== _ ERROR at setup of TestDeclarative.test_translatable_dict_copied_to_each_child_class _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1060,8 +1096,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1109,7 +1145,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1123,7 +1159,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestClassic.test_translatable_dict_copied_to_each_child_class _ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.textitems) @@ -1164,7 +1200,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestDeclarative.test_attribute_accessor_for_unknown_locale _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1177,8 +1213,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1226,7 +1262,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1240,7 +1276,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_attribute_accessors __________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1253,8 +1289,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1302,7 +1338,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1316,8 +1352,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestClassic.test_attribute_accessor_for_unknown_locale ___ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -1370,8 +1406,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_attribute_accessors ____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -1424,7 +1460,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____________ ERROR at setup of TestDeclarative.test_relationships _____________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1437,8 +1473,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1486,7 +1522,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1500,8 +1536,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______________ ERROR at setup of TestClassic.test_relationships _______________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -1554,7 +1590,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _ ERROR at setup of TestTranslationBaseCustomization.test_customize_foreign_key_args _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1567,8 +1603,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1616,7 +1652,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1630,7 +1666,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestTranslationBaseCustomization.test_customize_relationships_args _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1643,8 +1679,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1692,7 +1728,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1706,7 +1742,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_as_object_property ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1719,8 +1755,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1768,7 +1804,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1782,7 +1818,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___________ ERROR at setup of TestDeclarative.test_as_class_property ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1795,8 +1831,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1844,7 +1880,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1858,7 +1894,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________________ ERROR at setup of TestDeclarative.test_setter _________________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1871,8 +1907,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -1920,7 +1956,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -1934,8 +1970,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestClassic.test_as_object_property _____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -1988,8 +2024,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____________ ERROR at setup of TestClassic.test_as_class_property _____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2042,8 +2078,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________________ ERROR at setup of TestClassic.test_setter ___________________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2096,7 +2132,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___ ERROR at setup of TestDeclarative.test_converts_locale_object_to_unicode ___ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2109,8 +2145,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2158,7 +2194,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2172,8 +2208,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestClassic.test_converts_locale_object_to_unicode _____ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2226,7 +2262,7 @@ /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 = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2239,8 +2275,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2288,7 +2324,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2302,7 +2338,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_hybrid_properties_support_callable_fallback_locales _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2315,8 +2351,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2364,7 +2400,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2378,7 +2414,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestDeclarative.test_locale_fallback ____________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2391,8 +2427,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2440,7 +2476,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2454,8 +2490,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestClassic.test_hybrid_properties_support_callable_fallback_locales _ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2508,8 +2544,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______________ ERROR at setup of TestClassic.test_locale_fallback ______________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2562,7 +2598,7 @@ /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 = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2575,8 +2611,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2624,7 +2660,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2638,7 +2674,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestDeclarative.test_locale_fallback ____________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2651,8 +2687,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2700,7 +2736,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2714,8 +2750,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestClassic.test_hybrid_properties_support_callable_fallback_locales _ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2768,8 +2804,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______________ ERROR at setup of TestClassic.test_locale_fallback ______________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -2822,7 +2858,7 @@ /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 = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2835,8 +2871,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2884,7 +2920,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2898,7 +2934,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___________ ERROR at setup of TestDeclarative.test_as_class_property ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2911,8 +2947,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -2960,7 +2996,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2974,7 +3010,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________________ ERROR at setup of TestDeclarative.test_setter _________________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -2987,8 +3023,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3036,7 +3072,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3050,8 +3086,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestClassic.test_as_object_property_with_force_locale ____ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -3104,8 +3140,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____________ ERROR at setup of TestClassic.test_as_class_property _____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -3158,8 +3194,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________________ ERROR at setup of TestClassic.test_setter ___________________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -3212,7 +3248,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________ ERROR at setup of TestDeclarative.test_with_full_confidence __________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3225,8 +3261,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3274,7 +3310,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3288,7 +3324,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________ ERROR at setup of TestDeclarative.test_with_varying_confidence ________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3301,8 +3337,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3350,7 +3386,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3364,8 +3400,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___________ ERROR at setup of TestClassic.test_with_full_confidence ____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -3418,8 +3454,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________ ERROR at setup of TestClassic.test_with_varying_confidence __________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -3472,7 +3508,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __ ERROR at setup of TestDeclarative.test_joinedload_for_current_translation ___ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3485,8 +3521,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -3527,7 +3563,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3541,8 +3577,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____ ERROR at setup of TestClassic.test_joinedload_for_current_translation _____ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -3588,8 +3624,8 @@ /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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -3642,7 +3678,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___ ERROR at setup of TestDeclarative.test_current_translation_as_expression ___ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3655,8 +3691,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3704,7 +3740,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3718,7 +3754,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _________ ERROR at setup of TestDeclarative.test_order_by_translation __________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3731,8 +3767,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3780,7 +3816,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3794,7 +3830,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestDeclarative.test_fallback_locale_as_expression _____ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3807,8 +3843,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3856,7 +3892,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3870,7 +3906,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______________ ERROR at setup of TestDeclarative.test_querying ________________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3883,8 +3919,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -3932,7 +3968,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -3946,8 +3982,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestClassic.test_current_translation_as_expression _____ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -4000,8 +4036,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___________ ERROR at setup of TestClassic.test_order_by_translation ____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -4054,8 +4090,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _______ ERROR at setup of TestClassic.test_fallback_locale_as_expression _______ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -4108,8 +4144,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________________ ERROR at setup of TestClassic.test_querying __________________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -4162,7 +4198,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __ ERROR at setup of TestDeclarative.test_joinedload_for_current_translation ___ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4175,8 +4211,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -4217,7 +4253,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4231,7 +4267,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_contains_eager_for_current_translation _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4244,8 +4280,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -4286,7 +4322,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4300,7 +4336,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestDeclarative.test_joinedload_for_single_translation ___ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4313,8 +4349,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -4355,7 +4391,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4369,7 +4405,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestDeclarative.test_joinedload_for_attr_accessor ______ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4382,8 +4418,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -4424,7 +4460,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4438,7 +4474,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____ ERROR at setup of TestDeclarative.test_joinedload_for_all_translations ____ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4451,8 +4487,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -4493,7 +4529,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4507,8 +4543,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____ ERROR at setup of TestClassic.test_joinedload_for_current_translation _____ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -4554,8 +4590,8 @@ /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 = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -4601,8 +4637,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____ ERROR at setup of TestClassic.test_joinedload_for_single_translation _____ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -4648,8 +4684,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _______ ERROR at setup of TestClassic.test_joinedload_for_attr_accessor ________ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -4695,8 +4731,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______ ERROR at setup of TestClassic.test_joinedload_for_all_translations ______ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -4742,7 +4778,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ________ ERROR at setup of TestDeclarative.test_auto_creates_relations _________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4755,8 +4791,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -4806,7 +4842,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4820,7 +4856,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestDeclarative.test_auto_creates_current_translation ____ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4833,8 +4869,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -4884,7 +4920,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4898,7 +4934,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________ ERROR at setup of TestDeclarative.test_translatable_attributes ________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4911,8 +4947,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -4962,7 +4998,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4976,7 +5012,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______ ERROR at setup of TestDeclarative.test_inherits_child_properties _______ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -4989,8 +5025,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5040,7 +5076,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5054,7 +5090,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_translated_columns ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5067,8 +5103,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5118,7 +5154,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5132,7 +5168,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_property_delegators __________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5145,8 +5181,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5196,7 +5232,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5210,7 +5246,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ______________ ERROR at setup of TestDeclarative.test_table_name _______________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5223,8 +5259,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5274,7 +5310,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5288,7 +5324,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _________ ERROR at setup of TestDeclarative.test_inherits_parent_table _________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5301,8 +5337,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5352,7 +5388,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5366,7 +5402,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestClassic.test_auto_creates_relations ___________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5408,7 +5444,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _____ ERROR at setup of TestClassic.test_auto_creates_current_translation ______ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5450,7 +5486,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________ ERROR at setup of TestClassic.test_translatable_attributes __________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5492,7 +5528,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________ ERROR at setup of TestClassic.test_inherits_child_properties _________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5534,7 +5570,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_translated_columns _____________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5576,7 +5612,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_property_delegators ____________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5618,7 +5654,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ________________ ERROR at setup of TestClassic.test_table_name _________________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5660,7 +5696,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___________ ERROR at setup of TestClassic.test_inherits_parent_table ___________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.TextItem, self.text_item, @@ -5702,7 +5738,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___________ ERROR at setup of TestDeclarative.test_nullify_relation ____________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5715,8 +5751,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5764,7 +5800,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5778,7 +5814,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____________ ERROR at setup of TestClassic.test_nullify_relation ______________ -self = +self = def create_mappers(self): > sa.orm.mapper(self.Article, self.article) @@ -5819,7 +5855,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ________ ERROR at setup of TestDeclarative.test_auto_creates_relations _________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5832,8 +5868,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5881,7 +5917,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5895,7 +5931,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________ ERROR at setup of TestDeclarative.test_translatable_attributes ________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5908,8 +5944,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -5957,7 +5993,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5971,7 +6007,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _______ ERROR at setup of TestDeclarative.test_relationship_consistency ________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -5984,8 +6020,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -6033,7 +6069,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6047,7 +6083,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_property_delegators __________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6060,8 +6096,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -6109,7 +6145,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6123,7 +6159,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ____________ ERROR at setup of TestDeclarative.test_commit_session _____________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6136,8 +6172,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -6185,7 +6221,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6199,7 +6235,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ________________ ERROR at setup of TestDeclarative.test_delete _________________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6212,8 +6248,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -6261,7 +6297,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6275,7 +6311,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_translated_columns ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6288,8 +6324,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -6337,7 +6373,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6351,7 +6387,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_appends_locale_column_to_translation_table _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6364,8 +6400,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -6413,7 +6449,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6427,8 +6463,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestClassic.test_auto_creates_relations ___________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6481,8 +6517,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________ ERROR at setup of TestClassic.test_translatable_attributes __________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6535,8 +6571,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError _________ ERROR at setup of TestClassic.test_relationship_consistency __________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6589,8 +6625,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_property_delegators ____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6643,8 +6679,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ______________ ERROR at setup of TestClassic.test_commit_session _______________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6697,8 +6733,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError __________________ ERROR at setup of TestClassic.test_delete ___________________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6751,8 +6787,8 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestClassic.test_translated_columns _____________ -self = -method = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6805,8 +6841,8 @@ /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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -6859,7 +6895,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ___ ERROR at setup of TestDeclarative.test_auto_creates_translation_objects ____ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6872,8 +6908,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -6914,7 +6950,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6928,8 +6964,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _____ ERROR at setup of TestClassic.test_auto_creates_translation_objects ______ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -6975,7 +7011,7 @@ /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 = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -6988,8 +7024,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): > DeclarativeTestCase.setup_method(self, method) @@ -7032,7 +7068,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7046,8 +7082,8 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError ___ ERROR at setup of TestClassic.test_auto_sets_nullables_as_empty_strings ____ -self = -method = > +self = +method = > def setup_method(self, method): > ClassicTestCase.setup_method(self, method) @@ -7093,7 +7129,7 @@ /usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py:2007: InvalidRequestError ____________ ERROR at setup of TestDeclarative.test_proxy_contains _____________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7106,8 +7142,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -7155,7 +7191,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7169,7 +7205,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_translation_mapping_attribute_getter __ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7182,8 +7218,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -7231,7 +7267,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7245,7 +7281,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _ ERROR at setup of TestDeclarative.test_attribute_accessor_for_unknown_locale _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7258,8 +7294,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -7307,7 +7343,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7321,7 +7357,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError __________ ERROR at setup of TestDeclarative.test_proxy_not_contains ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7334,8 +7370,8 @@ During handling of the above exception, another exception occurred: -self = -method = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -7383,7 +7419,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -7397,7 +7433,7 @@ sqlalchemy_i18n/comparators.py:15: UnknownLocaleError _________________ ERROR at setup of TestDeclarative.test_items _________________ -self = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -7498,14 +7534,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -7600,14 +7636,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -7708,14 +7744,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -7810,14 +7846,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -7918,14 +7954,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -8020,14 +8056,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -8128,14 +8164,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -8230,14 +8266,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -8338,14 +8374,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -8440,14 +8476,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -8548,14 +8584,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.engine = create_engine(self.engine_uri) @@ -8650,14 +8686,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -8758,14 +8794,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -8862,14 +8898,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -8970,14 +9006,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -9074,14 +9110,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -9182,14 +9218,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -9286,14 +9322,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -9394,14 +9430,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -9498,14 +9534,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -9606,14 +9642,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -9710,14 +9746,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -9818,14 +9854,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -9922,14 +9958,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -10030,14 +10066,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -10134,14 +10170,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -10242,14 +10278,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -10346,14 +10382,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -10454,14 +10490,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -10558,14 +10594,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 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 = +self = engine = Engine(postgresql://postgres@localhost/sqlalchemy_i18n_test) connection = None, _has_events = None, _allow_revalidate = True _allow_autobegin = True @@ -10666,14 +10702,14 @@ 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 47575 failed: FATAL: sorry, too many clients already +E psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 44915 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 = > +self = +method = > def setup_method(self, method): self.metadata = sa.MetaData() @@ -10770,7 +10806,7 @@ 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 47575 failed: FATAL: sorry, too many clients already +E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 44915 failed: FATAL: sorry, too many clients already E E (Background on this error at: https://sqlalche.me/e/20/e3q8) @@ -10778,7 +10814,7 @@ =================================== FAILURES =================================== ___________ TestDeclarative.test_does_not_generate_hybrid_properties ___________ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -10791,7 +10827,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_does_not_generate_hybrid_properties(self): > self.Article() @@ -10838,7 +10874,7 @@ return getattr(self.comparator, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = locale = '_slots_dispatch' def __getattr__(self, locale): @@ -11031,109 +11067,109 @@ 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...2024-11-20 17:56:03.409 /USR/SHARE/ZONEINFO/ETC/GMT [21866] LOG: received smart shutdown request -2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [1013] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [1865] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.414 /USR/SHARE/ZONEINFO/ETC/GMT [30517] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30295] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30272] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [30188] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [29199] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.415 /USR/SHARE/ZONEINFO/ETC/GMT [28937] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28784] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28779] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [1611] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28772] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28695] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28491] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.416 /USR/SHARE/ZONEINFO/ETC/GMT [28484] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [28348] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [487] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [27168] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [26646] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.417 /USR/SHARE/ZONEINFO/ETC/GMT [24420] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [30222] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1222] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1839] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.420 /USR/SHARE/ZONEINFO/ETC/GMT [1776] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [29563] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1143] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1631] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.424 /USR/SHARE/ZONEINFO/ETC/GMT [1134] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [1228] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [29414] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [31520] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.428 /USR/SHARE/ZONEINFO/ETC/GMT [29145] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [1171] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [29107] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30345] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30098] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [752] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [29046] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [29759] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.436 /USR/SHARE/ZONEINFO/ETC/GMT [28903] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [32555] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [29127] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [1123] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.440 /USR/SHARE/ZONEINFO/ETC/GMT [1148] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [28741] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [1152] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.444 /USR/SHARE/ZONEINFO/ETC/GMT [32103] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [1155] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [31083] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.448 /USR/SHARE/ZONEINFO/ETC/GMT [23488] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [1160] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [24054] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [30329] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [1166] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.452 /USR/SHARE/ZONEINFO/ETC/GMT [30323] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [30044] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [27482] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29240] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29234] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.456 /USR/SHARE/ZONEINFO/ETC/GMT [29222] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29120] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29094] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [29093] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [28781] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.457 /USR/SHARE/ZONEINFO/ETC/GMT [28732] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28616] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28615] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28608] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.458 /USR/SHARE/ZONEINFO/ETC/GMT [28437] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.459 /USR/SHARE/ZONEINFO/ETC/GMT [28245] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.460 /USR/SHARE/ZONEINFO/ETC/GMT [27759] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.460 /USR/SHARE/ZONEINFO/ETC/GMT [28481] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28488] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28241] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.464 /USR/SHARE/ZONEINFO/ETC/GMT [28238] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [27828] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [28524] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.468 /USR/SHARE/ZONEINFO/ETC/GMT [28778] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [27799] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [28780] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.472 /USR/SHARE/ZONEINFO/ETC/GMT [25795] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.476 /USR/SHARE/ZONEINFO/ETC/GMT [25734] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.476 /USR/SHARE/ZONEINFO/ETC/GMT [28873] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.432 /USR/SHARE/ZONEINFO/ETC/GMT [30539] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.480 /USR/SHARE/ZONEINFO/ETC/GMT [24749] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.484 /USR/SHARE/ZONEINFO/ETC/GMT [24113] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.492 /USR/SHARE/ZONEINFO/ETC/GMT [24214] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.492 /USR/SHARE/ZONEINFO/ETC/GMT [24181] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24215] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24175] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.496 /USR/SHARE/ZONEINFO/ETC/GMT [24174] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [24055] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [25079] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.500 /USR/SHARE/ZONEINFO/ETC/GMT [25389] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.504 /USR/SHARE/ZONEINFO/ETC/GMT [25723] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.508 /USR/SHARE/ZONEINFO/ETC/GMT [25780] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.512 /USR/SHARE/ZONEINFO/ETC/GMT [26582] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.516 /USR/SHARE/ZONEINFO/ETC/GMT [28096] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.520 /USR/SHARE/ZONEINFO/ETC/GMT [28638] FATAL: terminating connection due to unexpected postmaster exit -2024-11-20 17:56:08.524 /USR/SHARE/ZONEINFO/ETC/GMT [28696] FATAL: terminating connection due to unexpected postmaster exit +ERROR tests/test_translation_mapping.py::TestClassic::test_values - sqlalchem...2024-11-21 20:02:58.845 /USR/SHARE/ZONEINFO/ETC/GMT [6077] LOG: received smart shutdown request +2024-11-21 20:03:03.862 /USR/SHARE/ZONEINFO/ETC/GMT [6185] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.862 /USR/SHARE/ZONEINFO/ETC/GMT [6186] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.862 /USR/SHARE/ZONEINFO/ETC/GMT [6187] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.863 /USR/SHARE/ZONEINFO/ETC/GMT [6131] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.863 /USR/SHARE/ZONEINFO/ETC/GMT [6128] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6127] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6181] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6125] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6133] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6135] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6136] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6140] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6142] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6144] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6145] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6146] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6147] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6150] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6152] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.865 /USR/SHARE/ZONEINFO/ETC/GMT [6154] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6156] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6159] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6161] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6163] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6166] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6109] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6117] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6123] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6172] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6174] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.866 /USR/SHARE/ZONEINFO/ETC/GMT [6176] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6178] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6180] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6182] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.867 /USR/SHARE/ZONEINFO/ETC/GMT [6183] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6121] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6118] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6116] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6111] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.868 /USR/SHARE/ZONEINFO/ETC/GMT [6107] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6105] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6103] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6179] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6095] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6092] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6091] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6089] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6087] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.869 /USR/SHARE/ZONEINFO/ETC/GMT [6099] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.872 /USR/SHARE/ZONEINFO/ETC/GMT [6177] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6175] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6173] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6171] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.876 /USR/SHARE/ZONEINFO/ETC/GMT [6169] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6168] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6167] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6165] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6164] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6162] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6158] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6157] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.877 /USR/SHARE/ZONEINFO/ETC/GMT [6155] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6153] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6151] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6149] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6148] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6143] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6141] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6139] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.878 /USR/SHARE/ZONEINFO/ETC/GMT [6138] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6137] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6134] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6132] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6130] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6129] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6126] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6122] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.879 /USR/SHARE/ZONEINFO/ETC/GMT [6120] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6119] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6115] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6114] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6113] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6112] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.880 /USR/SHARE/ZONEINFO/ETC/GMT [6110] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6108] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6106] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6104] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6102] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6101] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6100] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6098] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.881 /USR/SHARE/ZONEINFO/ETC/GMT [6097] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6096] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6094] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6093] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6090] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6088] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6086] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.882 /USR/SHARE/ZONEINFO/ETC/GMT [6085] FATAL: terminating connection due to unexpected postmaster exit +2024-11-21 20:03:03.864 /USR/SHARE/ZONEINFO/ETC/GMT [6184] FATAL: terminating connection due to unexpected postmaster exit -====== 1 failed, 2 passed, 114 warnings, 116 errors in 135.72s (0:02:15) ======= +======= 1 failed, 2 passed, 114 warnings, 116 errors in 91.19s (0:01:31) ======= stopping server clean up make[1]: Leaving directory '/build/reproducible-path/sqlalchemy-i18n-1.1.0' @@ -11172,22 +11208,22 @@ 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/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/exc.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/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/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/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/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/__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/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/translatable.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/utils.py to utils.cpython-313.pyc +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 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 +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/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/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/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/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/__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/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/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/builders.py to builders.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 @@ -11222,90 +11258,90 @@ 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/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 +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/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/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/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/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/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n 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_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_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_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/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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_joined_loading.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_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_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/__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_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_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_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_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_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_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_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_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/__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_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/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_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_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_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_fallback_locale_as_callable.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/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/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/exc.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/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/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/__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/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n 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/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/exc.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/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/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/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/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/__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/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/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/build/sqlalchemy_i18n -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_expressions.py to test_expressions.cpython-312.pyc +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 +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 +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/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/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/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/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/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/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/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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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/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_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_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/__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_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_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_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_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_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_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_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_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/__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_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/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_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_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_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_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/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/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/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/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/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/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/__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/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/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/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/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/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/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/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/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/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/__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/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/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/builders.py to builders.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 @@ -11337,12 +11373,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31628/tmp/hooks/B01_cleanup finished 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/11033 and its subdirectories -I: Current time: Wed Nov 20 17:57:23 -12 2024 -I: pbuilder-time-stamp: 1732168643 +I: removing directory /srv/workspace/pbuilder/31628 and its subdirectories +I: Current time: Thu Nov 21 20:03:22 +14 2024 +I: pbuilder-time-stamp: 1732169002 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/sqlalchemy-i18n_1.1.0-2.diff: 92.5% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/sqlalchemy-i18n_1.1.0-2.diff.gz b2/build.log: 94.8% -- replaced with stdout Compressing the 1st log... b1/build.log: 94.8% -- replaced with stdout Thu Nov 21 06:03:35 UTC 2024 I: diffoscope 283 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_sqlalchemy-i18n_unstable_armhf_1732169015 + touch /var/log/reproducible-builds/diffoscope_stamp_sqlalchemy-i18n_unstable_armhf_1732169015 + RESULT=0 + systemd-run '--description=diffoscope on sqlalchemy-i18n/1.1.0-2 in unstable/armhf' --slice=rb-build-diffoscope.slice -u rb-diffoscope-armhf_34-12499 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL --run-session -c jenkins-reproducible-unstable-diffoscope-210075db-8422-49fa-ac2f-6a498d1bf719 -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/dbd-tmp-9HNIZB6 ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/sqlalchemy-i18n_1.1.0-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/sqlalchemy-i18n_1.1.0-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/sqlalchemy-i18n_1.1.0-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b1/sqlalchemy-i18n_1.1.0-2_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2/sqlalchemy-i18n_1.1.0-2_armhf.changes' + false + set +x Running as unit: rb-diffoscope-armhf_34-12499.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/sqlalchemy-i18n_1.1.0-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/sqlalchemy-i18n_1.1.0-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/sqlalchemy-i18n_1.1.0-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b1/sqlalchemy-i18n_1.1.0-2_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.OwijfkeL/b2/sqlalchemy-i18n_1.1.0-2_armhf.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.340s) 0.340s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.013s) 0.013s 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: 653ms CPU time consumed: 651ms _ _ _ _ _ ___ ___ __ _| | __ _| | ___| |__ ___ _ __ ___ _ _ (_) |( _ ) _ __ / __|/ _` | |/ _` | |/ __| '_ \ / _ \ '_ ` _ \| | | |_____| | |/ _ \| '_ \ \__ \ (_| | | (_| | | (__| | | | __/ | | | | | |_| |_____| | | (_) | | | | |___/\__, |_|\__,_|_|\___|_| |_|\___|_| |_| |_|\__, | |_|_|\___/|_| |_| |_| |___/ Thu Nov 21 06:03:36 UTC 2024 I: diffoscope 283 found no differences in the changes files, and a .buildinfo file also exists. Thu Nov 21 06:03:36 UTC 2024 I: sqlalchemy-i18n from unstable built successfully and reproducibly on armhf. INSERT 0 1 INSERT 0 1 DELETE 1 [2024-11-21 06:03:36] INFO: Starting at 2024-11-21 06:03:36.886110 [2024-11-21 06:03:36] INFO: Generating the pages of 1 package(s) [2024-11-21 06:03:37] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/armhf/sqlalchemy-i18n didn't produce a buildlog, even though it has been built. [2024-11-21 06:03:37] INFO: Finished at 2024-11-21 06:03:37.302670, took: 0:00:00.416568 Thu Nov 21 06:03:37 UTC 2024 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/sqlalchemy-i18n.html Thu Nov 21 06:03:37 UTC 2024 I: Submitting .buildinfo files to external archives: Thu Nov 21 06:03:37 UTC 2024 I: Submitting 12K b1/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc https://buildinfo.debian.net/5e41cf83ccd9d22ab3d7dc25953b9a2ad77c3472/sqlalchemy-i18n_1.1.0-2_all Thu Nov 21 06:03:38 UTC 2024 I: Submitting 12K b2/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc https://buildinfo.debian.net/a28288374b8b1d047475193499226e384b0d9ec1/sqlalchemy-i18n_1.1.0-2_all Thu Nov 21 06:03:38 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Thu Nov 21 06:03:38 UTC 2024 I: Done submitting .buildinfo files. Thu Nov 21 06:03:38 UTC 2024 I: Removing signed sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc files: removed './b1/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc' removed './b2/sqlalchemy-i18n_1.1.0-2_armhf.buildinfo.asc' 1732169018 armhf unstable sqlalchemy-i18n Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/sqlalchemy-i18n_1.1.0-2.rbuild.log: 94.4% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/sqlalchemy-i18n_1.1.0-2.rbuild.log.gz [2024-11-21 06:03:39] INFO: Starting at 2024-11-21 06:03:39.368372 [2024-11-21 06:03:39] INFO: Generating the pages of 1 package(s) [2024-11-21 06:03:40] INFO: Finished at 2024-11-21 06:03:40.044815, took: 0:00:00.676451 All cleanup done. Thu Nov 21 06:03:40 UTC 2024 - total duration: 0h 16m 43s. Thu Nov 21 06:03:40 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-uhOPZogu, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 16min 46.343s CPU time consumed: 7.943s