I: pbuilder: network access will be disabled during build
I: Current time: Fri Feb 14 20:09:12 +14 2025
I: pbuilder-time-stamp: 1739513352
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/trixie-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-3.dsc]
I: copying [./sqlalchemy-i18n_1.1.0.orig.tar.gz]
I: copying [./sqlalchemy-i18n_1.1.0-3.debian.tar.xz]
I: Extracting source
dpkg-source: warning: cannot verify inline signature for ./sqlalchemy-i18n_1.1.0-3.dsc: unsupported subcommand
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-3.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying remove-six.patch
dpkg-source: info: applying intersphinx.patch
I: Not using root during the build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/3590962/tmp/hooks/D01_modify_environment starting
debug: Running on codethink04-arm64.
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 Feb 14 06:09 /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/3590962/tmp/hooks/D01_modify_environment finished
I: user script /srv/workspace/pbuilder/3590962/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu")
  BASH_VERSION='5.2.37(1)-release'
  BUILDDIR=/build/reproducible-path
  BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other'
  BUILDUSERNAME=pbuilder2
  BUILD_ARCH=arm64
  DEBIAN_FRONTEND=noninteractive
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 '
  DIRSTACK=()
  DISTRIBUTION=trixie
  EUID=0
  FUNCNAME=([0]="Echo" [1]="main")
  GROUPS=()
  HOME=/root
  HOSTNAME=i-capture-the-hostname
  HOSTTYPE=aarch64
  HOST_ARCH=arm64
  IFS=' 	
  '
  INVOCATION_ID=c369f2ef56ba45bead2b6297ce6504c4
  LANG=C
  LANGUAGE=nl_BE:nl
  LC_ALL=C
  MACHTYPE=aarch64-unknown-linux-gnu
  MAIL=/var/mail/root
  OPTERR=1
  OPTIND=1
  OSTYPE=linux-gnu
  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=3590962
  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.AkF8kila/pbuilderrc_8ne1 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AkF8kila/b2 --logfile b2/build.log sqlalchemy-i18n_1.1.0-3.dsc'
  SUDO_GID=109
  SUDO_UID=104
  SUDO_USER=jenkins
  TERM=unknown
  TZ=/usr/share/zoneinfo/Etc/GMT-14
  UID=0
  USER=root
  _='I: set'
  http_proxy=http://192.168.101.4:3128
I: uname -a
  Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux
I: ls -l /bin
  lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin
I: user script /srv/workspace/pbuilder/3590962/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: arm64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
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 ... 19922 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} libffi8{a} libfile-stripnondeterminism-perl{a} libgcrypt20{a} libgpg-error0{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} libldap2{a} libllvm19{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpq5{a} libproc2-0{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} libtext-charwidth-perl{a} libtext-wrapi18n-perl{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libunistring5{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} postgresql-common-dev{a} procps{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 libgpg-error-l10n libjson-xs-perl libldap-common libltdl-dev libmail-sendmail-perl libpaper-utils libsasl2-modules linux-sysctl-defaults logrotate lynx psmisc python3-pil python3-sqlalchemy-ext sysstat wget 
0 packages upgraded, 134 newly installed, 0 to remove and 0 not upgraded.
Need to get 101 MB of archives. After unpacking 457 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian trixie/main arm64 libjson-perl all 4.10000-1 [87.5 kB]
Get: 2 http://deb.debian.org/debian trixie/main arm64 libio-pty-perl arm64 1:1.20-1+b2 [34.0 kB]
Get: 3 http://deb.debian.org/debian trixie/main arm64 libipc-run-perl all 20231003.0-2 [101 kB]
Get: 4 http://deb.debian.org/debian trixie/main arm64 netbase all 6.4 [12.8 kB]
Get: 5 http://deb.debian.org/debian trixie/main arm64 postgresql-client-common all 270 [46.3 kB]
Get: 6 http://deb.debian.org/debian trixie/main arm64 postgresql-common-dev all 270 [71.6 kB]
Get: 7 http://deb.debian.org/debian trixie/main arm64 openssl arm64 3.4.0-2 [1385 kB]
Get: 8 http://deb.debian.org/debian trixie/main arm64 ssl-cert all 1.1.3 [16.8 kB]
Get: 9 http://deb.debian.org/debian trixie/main arm64 libtext-charwidth-perl arm64 0.04-11+b4 [9652 B]
Get: 10 http://deb.debian.org/debian trixie/main arm64 libtext-wrapi18n-perl all 0.06-10 [8808 B]
Get: 11 http://deb.debian.org/debian trixie/main arm64 libproc2-0 arm64 2:4.0.4-7 [62.4 kB]
Get: 12 http://deb.debian.org/debian trixie/main arm64 procps arm64 2:4.0.4-7 [868 kB]
Get: 13 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB]
Get: 14 http://deb.debian.org/debian trixie/main arm64 ucf all 3.0049 [42.5 kB]
Get: 15 http://deb.debian.org/debian trixie/main arm64 postgresql-common all 270 [111 kB]
Get: 16 http://deb.debian.org/debian trixie/main arm64 libpython3.13-minimal arm64 3.13.2-1 [853 kB]
Get: 17 http://deb.debian.org/debian trixie/main arm64 libexpat1 arm64 2.6.4-1 [90.7 kB]
Get: 18 http://deb.debian.org/debian trixie/main arm64 python3.13-minimal arm64 3.13.2-1 [1997 kB]
Get: 19 http://deb.debian.org/debian trixie/main arm64 python3-minimal arm64 3.13.1-2 [27.0 kB]
Get: 20 http://deb.debian.org/debian trixie/main arm64 media-types all 10.1.0 [26.9 kB]
Get: 21 http://deb.debian.org/debian trixie/main arm64 tzdata all 2024b-6 [257 kB]
Get: 22 http://deb.debian.org/debian trixie/main arm64 libffi8 arm64 3.4.6-1 [20.9 kB]
Get: 23 http://deb.debian.org/debian trixie/main arm64 readline-common all 8.2-6 [69.4 kB]
Get: 24 http://deb.debian.org/debian trixie/main arm64 libreadline8t64 arm64 8.2-6 [159 kB]
Get: 25 http://deb.debian.org/debian trixie/main arm64 libpython3.13-stdlib arm64 3.13.2-1 [1914 kB]
Get: 26 http://deb.debian.org/debian trixie/main arm64 python3.13 arm64 3.13.2-1 [745 kB]
Get: 27 http://deb.debian.org/debian trixie/main arm64 libpython3-stdlib arm64 3.13.1-2 [9952 B]
Get: 28 http://deb.debian.org/debian trixie/main arm64 python3 arm64 3.13.1-2 [28.0 kB]
Get: 29 http://deb.debian.org/debian trixie/main arm64 libpython3.12-minimal arm64 3.12.9-1 [810 kB]
Get: 30 http://deb.debian.org/debian trixie/main arm64 python3.12-minimal arm64 3.12.9-1 [1941 kB]
Get: 31 http://deb.debian.org/debian trixie/main arm64 sgml-base all 1.31 [15.4 kB]
Get: 32 http://deb.debian.org/debian trixie/main arm64 ca-certificates all 20241223 [164 kB]
Get: 33 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3+b1 [314 kB]
Get: 34 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3+b1 [102 kB]
Get: 35 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3+b1 [43.4 kB]
Get: 36 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.23.1-1 [241 kB]
Get: 37 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB]
Get: 38 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-7 [1129 kB]
Get: 39 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.4-3 [92.0 kB]
Get: 40 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB]
Get: 41 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB]
Get: 42 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-5 [284 kB]
Get: 43 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB]
Get: 44 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB]
Get: 45 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.17-3 [862 kB]
Get: 46 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.23.1-1 [770 kB]
Get: 47 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.24.1 [90.9 kB]
Get: 48 http://deb.debian.org/debian trixie/main arm64 libtool all 2.5.4-3 [539 kB]
Get: 49 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB]
Get: 50 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB]
Get: 51 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB]
Get: 52 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.1-2 [8620 B]
Get: 53 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.192-4 [189 kB]
Get: 54 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB]
Get: 55 http://deb.debian.org/debian trixie/main arm64 libunistring5 arm64 1.3-1 [449 kB]
Get: 56 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-6 [9239 kB]
Get: 57 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.2+b1 [630 kB]
Get: 58 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.23.1-1 [1610 kB]
Get: 59 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get: 60 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB]
Get: 61 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.24.1 [920 kB]
Get: 62 http://deb.debian.org/debian trixie/main arm64 python3-autocommand all 2.2.2-3 [13.6 kB]
Get: 63 http://deb.debian.org/debian trixie/main arm64 python3-more-itertools all 10.6.0-1 [65.3 kB]
Get: 64 http://deb.debian.org/debian trixie/main arm64 python3-typing-extensions all 4.12.2-2 [73.0 kB]
Get: 65 http://deb.debian.org/debian trixie/main arm64 python3-typeguard all 4.4.1-1 [37.0 kB]
Get: 66 http://deb.debian.org/debian trixie/main arm64 python3-inflect all 7.3.1-2 [32.4 kB]
Get: 67 http://deb.debian.org/debian trixie/main arm64 python3-jaraco.context all 6.0.0-1 [7984 B]
Get: 68 http://deb.debian.org/debian trixie/main arm64 python3-jaraco.functools all 4.1.0-1 [12.0 kB]
Get: 69 http://deb.debian.org/debian trixie/main arm64 python3-pkg-resources all 75.6.0-1 [222 kB]
Get: 70 http://deb.debian.org/debian trixie/main arm64 python3-jaraco.text all 4.0.0-1 [11.4 kB]
Get: 71 http://deb.debian.org/debian trixie/main arm64 python3-zipp all 3.21.0-1 [10.6 kB]
Get: 72 http://deb.debian.org/debian trixie/main arm64 python3-setuptools all 75.6.0-1 [720 kB]
Get: 73 http://deb.debian.org/debian trixie/main arm64 dh-python all 6.20250108 [113 kB]
Get: 74 http://deb.debian.org/debian trixie/main arm64 xml-core all 0.19 [20.1 kB]
Get: 75 http://deb.debian.org/debian trixie/main arm64 docutils-common all 0.21.2+dfsg-2 [128 kB]
Get: 76 http://deb.debian.org/debian trixie/main arm64 libcom-err2 arm64 1.47.2-1 [23.9 kB]
Get: 77 http://deb.debian.org/debian trixie/main arm64 libedit2 arm64 3.1-20250104-1 [89.3 kB]
Get: 78 http://deb.debian.org/debian trixie/main arm64 libgpg-error0 arm64 1.51-3 [78.5 kB]
Get: 79 http://deb.debian.org/debian trixie/main arm64 libgcrypt20 arm64 1.11.0-7 [742 kB]
Get: 80 http://deb.debian.org/debian trixie/main arm64 libkrb5support0 arm64 1.21.3-4 [32.2 kB]
Get: 81 http://deb.debian.org/debian trixie/main arm64 libk5crypto3 arm64 1.21.3-4 [81.5 kB]
Get: 82 http://deb.debian.org/debian trixie/main arm64 libkeyutils1 arm64 1.6.3-4 [9352 B]
Get: 83 http://deb.debian.org/debian trixie/main arm64 libkrb5-3 arm64 1.21.3-4 [308 kB]
Get: 84 http://deb.debian.org/debian trixie/main arm64 libgssapi-krb5-2 arm64 1.21.3-4 [127 kB]
Get: 85 http://deb.debian.org/debian trixie/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB]
Get: 86 http://deb.debian.org/debian trixie/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB]
Get: 87 http://deb.debian.org/debian trixie/main arm64 libjs-sphinxdoc all 8.1.3-4 [30.4 kB]
Get: 88 http://deb.debian.org/debian trixie/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg1-8+b1 [20.3 kB]
Get: 89 http://deb.debian.org/debian trixie/main arm64 libsasl2-2 arm64 2.1.28+dfsg1-8+b1 [55.7 kB]
Get: 90 http://deb.debian.org/debian trixie/main arm64 libldap2 arm64 2.6.9+dfsg-1 [179 kB]
Get: 91 http://deb.debian.org/debian trixie/main arm64 libz3-4 arm64 4.13.3-1 [7507 kB]
Get: 92 http://deb.debian.org/debian trixie/main arm64 libllvm19 arm64 1:19.1.7-1+b1 [23.3 MB]
Get: 93 http://deb.debian.org/debian trixie/main arm64 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB]
Get: 94 http://deb.debian.org/debian trixie/main arm64 libtirpc3t64 arm64 1.3.4+ds-1.3+b1 [78.7 kB]
Get: 95 http://deb.debian.org/debian trixie/main arm64 libnsl2 arm64 1.3.0-3+b3 [37.9 kB]
Get: 96 http://deb.debian.org/debian trixie/main arm64 libpq5 arm64 17.2-1+b2 [217 kB]
Get: 97 http://deb.debian.org/debian trixie/main arm64 libpython3.12-stdlib arm64 3.12.9-1 [1909 kB]
Get: 98 http://deb.debian.org/debian trixie/main arm64 libxslt1.1 arm64 1.1.35-1.1+b1 [222 kB]
Get: 99 http://deb.debian.org/debian trixie/main arm64 postgresql-client-17 arm64 17.2-1+b2 [1959 kB]
Get: 100 http://deb.debian.org/debian trixie/main arm64 postgresql-17 arm64 17.2-1+b2 [16.1 MB]
Get: 101 http://deb.debian.org/debian trixie/main arm64 postgresql all 17+270 [14.3 kB]
Get: 102 http://deb.debian.org/debian trixie/main arm64 python-babel-localedata all 2.17.0-1 [6050 kB]
Get: 103 http://deb.debian.org/debian trixie/main arm64 python3-alabaster all 0.7.16-0.1 [27.9 kB]
Get: 104 http://deb.debian.org/debian trixie/main arm64 python3.12 arm64 3.12.9-1 [681 kB]
Get: 105 http://deb.debian.org/debian trixie/main arm64 python3-all arm64 3.13.1-2 [1056 B]
Get: 106 http://deb.debian.org/debian trixie/main arm64 python3-dateutil all 2.9.0-3 [79.3 kB]
Get: 107 http://deb.debian.org/debian trixie/main arm64 python3-typeshed all 0.0~git20241223.ea91db2-1 [1530 kB]
Get: 108 http://deb.debian.org/debian trixie/main arm64 python3-arrow all 1.3.0-1.1 [64.7 kB]
Get: 109 http://deb.debian.org/debian trixie/main arm64 python3-babel all 2.17.0-1 [117 kB]
Get: 110 http://deb.debian.org/debian trixie/main arm64 python3-certifi all 2024.12.14+ds-1 [9624 B]
Get: 111 http://deb.debian.org/debian trixie/main arm64 python3-chardet all 5.2.0+dfsg-2 [108 kB]
Get: 112 http://deb.debian.org/debian trixie/main arm64 python3-charset-normalizer arm64 3.4.0-1+b1 [129 kB]
Get: 113 http://deb.debian.org/debian trixie/main arm64 python3-defusedxml all 0.7.1-3 [43.4 kB]
Get: 114 http://deb.debian.org/debian trixie/main arm64 python3-roman all 5.0-1 [10.6 kB]
Get: 115 http://deb.debian.org/debian trixie/main arm64 python3-docutils all 0.21.2+dfsg-2 [403 kB]
Get: 116 http://deb.debian.org/debian trixie/main arm64 python3-greenlet arm64 3.1.0-1+b1 [178 kB]
Get: 117 http://deb.debian.org/debian trixie/main arm64 python3-idna all 3.10-1 [42.0 kB]
Get: 118 http://deb.debian.org/debian trixie/main arm64 python3-imagesize all 1.4.1-1 [6688 B]
Get: 119 http://deb.debian.org/debian trixie/main arm64 python3-infinity all 1.5-4 [4468 B]
Get: 120 http://deb.debian.org/debian trixie/main arm64 python3-iniconfig all 1.1.1-2 [6396 B]
Get: 121 http://deb.debian.org/debian trixie/main arm64 python3-markupsafe arm64 2.1.5-1+b3 [14.0 kB]
Get: 122 http://deb.debian.org/debian trixie/main arm64 python3-jinja2 all 3.1.5-2 [107 kB]
Get: 123 http://deb.debian.org/debian trixie/main arm64 python3-packaging all 24.2-1 [55.3 kB]
Get: 124 http://deb.debian.org/debian trixie/main arm64 python3-pluggy all 1.5.0-1 [26.9 kB]
Get: 125 http://deb.debian.org/debian trixie/main arm64 python3-psycopg2 arm64 2.9.10-1 [137 kB]
Get: 126 http://deb.debian.org/debian trixie/main arm64 python3-pygments all 2.18.0+dfsg-2 [836 kB]
Get: 127 http://deb.debian.org/debian trixie/main arm64 python3-pytest all 8.3.4-1 [250 kB]
Get: 128 http://deb.debian.org/debian trixie/main arm64 python3-urllib3 all 2.3.0-1 [114 kB]
Get: 129 http://deb.debian.org/debian trixie/main arm64 python3-requests all 2.32.3+dfsg-1 [71.9 kB]
Get: 130 http://deb.debian.org/debian trixie/main arm64 python3-snowballstemmer all 2.2.0-4 [58.0 kB]
Get: 131 http://deb.debian.org/debian trixie/main arm64 sphinx-common all 8.1.3-4 [616 kB]
Get: 132 http://deb.debian.org/debian trixie/main arm64 python3-sphinx all 8.1.3-4 [468 kB]
Get: 133 http://deb.debian.org/debian trixie/main arm64 python3-sqlalchemy all 2.0.32+ds1-1 [1196 kB]
Get: 134 http://deb.debian.org/debian trixie/main arm64 python3-sqlalchemy-utils all 0.41.0-5 [67.6 kB]
Fetched 101 MB in 1s (152 MB/s)
Preconfiguring packages ...
/var/cache/debconf/tmp.ci/postgresql.config.AAUTjr: line 12: pg_lsclusters: command not found
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 ... 19922 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_arm64.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_270_all.deb ...
Unpacking postgresql-client-common (270) ...
Selecting previously unselected package postgresql-common-dev.
Preparing to unpack .../05-postgresql-common-dev_270_all.deb ...
Unpacking postgresql-common-dev (270) ...
Selecting previously unselected package openssl.
Preparing to unpack .../06-openssl_3.4.0-2_arm64.deb ...
Unpacking openssl (3.4.0-2) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../07-ssl-cert_1.1.3_all.deb ...
Unpacking ssl-cert (1.1.3) ...
Selecting previously unselected package libtext-charwidth-perl:arm64.
Preparing to unpack .../08-libtext-charwidth-perl_0.04-11+b4_arm64.deb ...
Unpacking libtext-charwidth-perl:arm64 (0.04-11+b4) ...
Selecting previously unselected package libtext-wrapi18n-perl.
Preparing to unpack .../09-libtext-wrapi18n-perl_0.06-10_all.deb ...
Unpacking libtext-wrapi18n-perl (0.06-10) ...
Selecting previously unselected package libproc2-0:arm64.
Preparing to unpack .../10-libproc2-0_2%3a4.0.4-7_arm64.deb ...
Unpacking libproc2-0:arm64 (2:4.0.4-7) ...
Selecting previously unselected package procps.
Preparing to unpack .../11-procps_2%3a4.0.4-7_arm64.deb ...
Unpacking procps (2:4.0.4-7) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../12-sensible-utils_0.0.24_all.deb ...
Unpacking sensible-utils (0.0.24) ...
Selecting previously unselected package ucf.
Preparing to unpack .../13-ucf_3.0049_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0049) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../14-postgresql-common_270_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (270) ...
Selecting previously unselected package libpython3.13-minimal:arm64.
Preparing to unpack .../15-libpython3.13-minimal_3.13.2-1_arm64.deb ...
Unpacking libpython3.13-minimal:arm64 (3.13.2-1) ...
Selecting previously unselected package libexpat1:arm64.
Preparing to unpack .../16-libexpat1_2.6.4-1_arm64.deb ...
Unpacking libexpat1:arm64 (2.6.4-1) ...
Selecting previously unselected package python3.13-minimal.
Preparing to unpack .../17-python3.13-minimal_3.13.2-1_arm64.deb ...
Unpacking python3.13-minimal (3.13.2-1) ...
Setting up libpython3.13-minimal:arm64 (3.13.2-1) ...
Setting up libexpat1:arm64 (2.6.4-1) ...
Setting up python3.13-minimal (3.13.2-1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21134 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.13.1-2_arm64.deb ...
Unpacking python3-minimal (3.13.1-2) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../2-tzdata_2024b-6_all.deb ...
Unpacking tzdata (2024b-6) ...
Selecting previously unselected package libffi8:arm64.
Preparing to unpack .../3-libffi8_3.4.6-1_arm64.deb ...
Unpacking libffi8:arm64 (3.4.6-1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../4-readline-common_8.2-6_all.deb ...
Unpacking readline-common (8.2-6) ...
Selecting previously unselected package libreadline8t64:arm64.
Preparing to unpack .../5-libreadline8t64_8.2-6_arm64.deb ...
Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
Unpacking libreadline8t64:arm64 (8.2-6) ...
Selecting previously unselected package libpython3.13-stdlib:arm64.
Preparing to unpack .../6-libpython3.13-stdlib_3.13.2-1_arm64.deb ...
Unpacking libpython3.13-stdlib:arm64 (3.13.2-1) ...
Selecting previously unselected package python3.13.
Preparing to unpack .../7-python3.13_3.13.2-1_arm64.deb ...
Unpacking python3.13 (3.13.2-1) ...
Selecting previously unselected package libpython3-stdlib:arm64.
Preparing to unpack .../8-libpython3-stdlib_3.13.1-2_arm64.deb ...
Unpacking libpython3-stdlib:arm64 (3.13.1-2) ...
Setting up python3-minimal (3.13.1-2) ...
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 ... 22137 files and directories currently installed.)
Preparing to unpack .../000-python3_3.13.1-2_arm64.deb ...
Unpacking python3 (3.13.1-2) ...
Selecting previously unselected package libpython3.12-minimal:arm64.
Preparing to unpack .../001-libpython3.12-minimal_3.12.9-1_arm64.deb ...
Unpacking libpython3.12-minimal:arm64 (3.12.9-1) ...
Selecting previously unselected package python3.12-minimal.
Preparing to unpack .../002-python3.12-minimal_3.12.9-1_arm64.deb ...
Unpacking python3.12-minimal (3.12.9-1) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../003-sgml-base_1.31_all.deb ...
Unpacking sgml-base (1.31) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../004-ca-certificates_20241223_all.deb ...
Unpacking ca-certificates (20241223) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../005-libmagic-mgc_1%3a5.45-3+b1_arm64.deb ...
Unpacking libmagic-mgc (1:5.45-3+b1) ...
Selecting previously unselected package libmagic1t64:arm64.
Preparing to unpack .../006-libmagic1t64_1%3a5.45-3+b1_arm64.deb ...
Unpacking libmagic1t64:arm64 (1:5.45-3+b1) ...
Selecting previously unselected package file.
Preparing to unpack .../007-file_1%3a5.45-3+b1_arm64.deb ...
Unpacking file (1:5.45-3+b1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../008-gettext-base_0.23.1-1_arm64.deb ...
Unpacking gettext-base (0.23.1-1) ...
Selecting previously unselected package libuchardet0:arm64.
Preparing to unpack .../009-libuchardet0_0.0.8-1+b2_arm64.deb ...
Unpacking libuchardet0:arm64 (0.0.8-1+b2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../010-groff-base_1.23.0-7_arm64.deb ...
Unpacking groff-base (1.23.0-7) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../011-bsdextrautils_2.40.4-3_arm64.deb ...
Unpacking bsdextrautils (2.40.4-3) ...
Selecting previously unselected package libpipeline1:arm64.
Preparing to unpack .../012-libpipeline1_1.5.8-1_arm64.deb ...
Unpacking libpipeline1:arm64 (1.5.8-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../013-man-db_2.13.0-1_arm64.deb ...
Unpacking man-db (2.13.0-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../014-m4_1.4.19-5_arm64.deb ...
Unpacking m4 (1.4.19-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../015-autoconf_2.72-3_all.deb ...
Unpacking autoconf (2.72-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../016-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../017-automake_1%3a1.17-3_all.deb ...
Unpacking automake (1:1.17-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../018-autopoint_0.23.1-1_all.deb ...
Unpacking autopoint (0.23.1-1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../019-libdebhelper-perl_13.24.1_all.deb ...
Unpacking libdebhelper-perl (13.24.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../020-libtool_2.5.4-3_all.deb ...
Unpacking libtool (2.5.4-3) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../021-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../022-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 .../023-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../024-dh-strip-nondeterminism_1.14.1-2_all.deb ...
Unpacking dh-strip-nondeterminism (1.14.1-2) ...
Selecting previously unselected package libelf1t64:arm64.
Preparing to unpack .../025-libelf1t64_0.192-4_arm64.deb ...
Unpacking libelf1t64:arm64 (0.192-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../026-dwz_0.15-1+b1_arm64.deb ...
Unpacking dwz (0.15-1+b1) ...
Selecting previously unselected package libunistring5:arm64.
Preparing to unpack .../027-libunistring5_1.3-1_arm64.deb ...
Unpacking libunistring5:arm64 (1.3-1) ...
Selecting previously unselected package libicu72:arm64.
Preparing to unpack .../028-libicu72_72.1-6_arm64.deb ...
Unpacking libicu72:arm64 (72.1-6) ...
Selecting previously unselected package libxml2:arm64.
Preparing to unpack .../029-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_arm64.deb ...
Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../030-gettext_0.23.1-1_arm64.deb ...
Unpacking gettext (0.23.1-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../031-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 .../032-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../033-debhelper_13.24.1_all.deb ...
Unpacking debhelper (13.24.1) ...
Selecting previously unselected package python3-autocommand.
Preparing to unpack .../034-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 .../035-python3-more-itertools_10.6.0-1_all.deb ...
Unpacking python3-more-itertools (10.6.0-1) ...
Selecting previously unselected package python3-typing-extensions.
Preparing to unpack .../036-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 .../037-python3-typeguard_4.4.1-1_all.deb ...
Unpacking python3-typeguard (4.4.1-1) ...
Selecting previously unselected package python3-inflect.
Preparing to unpack .../038-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 .../039-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 .../040-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 .../041-python3-pkg-resources_75.6.0-1_all.deb ...
Unpacking python3-pkg-resources (75.6.0-1) ...
Selecting previously unselected package python3-jaraco.text.
Preparing to unpack .../042-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 .../043-python3-zipp_3.21.0-1_all.deb ...
Unpacking python3-zipp (3.21.0-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../044-python3-setuptools_75.6.0-1_all.deb ...
Unpacking python3-setuptools (75.6.0-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../045-dh-python_6.20250108_all.deb ...
Unpacking dh-python (6.20250108) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../046-xml-core_0.19_all.deb ...
Unpacking xml-core (0.19) ...
Selecting previously unselected package docutils-common.
Preparing to unpack .../047-docutils-common_0.21.2+dfsg-2_all.deb ...
Unpacking docutils-common (0.21.2+dfsg-2) ...
Selecting previously unselected package libcom-err2:arm64.
Preparing to unpack .../048-libcom-err2_1.47.2-1_arm64.deb ...
Unpacking libcom-err2:arm64 (1.47.2-1) ...
Selecting previously unselected package libedit2:arm64.
Preparing to unpack .../049-libedit2_3.1-20250104-1_arm64.deb ...
Unpacking libedit2:arm64 (3.1-20250104-1) ...
Selecting previously unselected package libgpg-error0:arm64.
Preparing to unpack .../050-libgpg-error0_1.51-3_arm64.deb ...
Unpacking libgpg-error0:arm64 (1.51-3) ...
Selecting previously unselected package libgcrypt20:arm64.
Preparing to unpack .../051-libgcrypt20_1.11.0-7_arm64.deb ...
Unpacking libgcrypt20:arm64 (1.11.0-7) ...
Selecting previously unselected package libkrb5support0:arm64.
Preparing to unpack .../052-libkrb5support0_1.21.3-4_arm64.deb ...
Unpacking libkrb5support0:arm64 (1.21.3-4) ...
Selecting previously unselected package libk5crypto3:arm64.
Preparing to unpack .../053-libk5crypto3_1.21.3-4_arm64.deb ...
Unpacking libk5crypto3:arm64 (1.21.3-4) ...
Selecting previously unselected package libkeyutils1:arm64.
Preparing to unpack .../054-libkeyutils1_1.6.3-4_arm64.deb ...
Unpacking libkeyutils1:arm64 (1.6.3-4) ...
Selecting previously unselected package libkrb5-3:arm64.
Preparing to unpack .../055-libkrb5-3_1.21.3-4_arm64.deb ...
Unpacking libkrb5-3:arm64 (1.21.3-4) ...
Selecting previously unselected package libgssapi-krb5-2:arm64.
Preparing to unpack .../056-libgssapi-krb5-2_1.21.3-4_arm64.deb ...
Unpacking libgssapi-krb5-2:arm64 (1.21.3-4) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../057-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 .../058-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 .../059-libjs-sphinxdoc_8.1.3-4_all.deb ...
Unpacking libjs-sphinxdoc (8.1.3-4) ...
Selecting previously unselected package libsasl2-modules-db:arm64.
Preparing to unpack .../060-libsasl2-modules-db_2.1.28+dfsg1-8+b1_arm64.deb ...
Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg1-8+b1) ...
Selecting previously unselected package libsasl2-2:arm64.
Preparing to unpack .../061-libsasl2-2_2.1.28+dfsg1-8+b1_arm64.deb ...
Unpacking libsasl2-2:arm64 (2.1.28+dfsg1-8+b1) ...
Selecting previously unselected package libldap2:arm64.
Preparing to unpack .../062-libldap2_2.6.9+dfsg-1_arm64.deb ...
Unpacking libldap2:arm64 (2.6.9+dfsg-1) ...
Selecting previously unselected package libz3-4:arm64.
Preparing to unpack .../063-libz3-4_4.13.3-1_arm64.deb ...
Unpacking libz3-4:arm64 (4.13.3-1) ...
Selecting previously unselected package libllvm19:arm64.
Preparing to unpack .../064-libllvm19_1%3a19.1.7-1+b1_arm64.deb ...
Unpacking libllvm19:arm64 (1:19.1.7-1+b1) ...
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../065-libtirpc-common_1.3.4+ds-1.3_all.deb ...
Unpacking libtirpc-common (1.3.4+ds-1.3) ...
Selecting previously unselected package libtirpc3t64:arm64.
Preparing to unpack .../066-libtirpc3t64_1.3.4+ds-1.3+b1_arm64.deb ...
Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3 to /lib/aarch64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libtirpc.so.3.0.0 to /lib/aarch64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64'
Unpacking libtirpc3t64:arm64 (1.3.4+ds-1.3+b1) ...
Selecting previously unselected package libnsl2:arm64.
Preparing to unpack .../067-libnsl2_1.3.0-3+b3_arm64.deb ...
Unpacking libnsl2:arm64 (1.3.0-3+b3) ...
Selecting previously unselected package libpq5:arm64.
Preparing to unpack .../068-libpq5_17.2-1+b2_arm64.deb ...
Unpacking libpq5:arm64 (17.2-1+b2) ...
Selecting previously unselected package libpython3.12-stdlib:arm64.
Preparing to unpack .../069-libpython3.12-stdlib_3.12.9-1_arm64.deb ...
Unpacking libpython3.12-stdlib:arm64 (3.12.9-1) ...
Selecting previously unselected package libxslt1.1:arm64.
Preparing to unpack .../070-libxslt1.1_1.1.35-1.1+b1_arm64.deb ...
Unpacking libxslt1.1:arm64 (1.1.35-1.1+b1) ...
Selecting previously unselected package postgresql-client-17.
Preparing to unpack .../071-postgresql-client-17_17.2-1+b2_arm64.deb ...
Unpacking postgresql-client-17 (17.2-1+b2) ...
Selecting previously unselected package postgresql-17.
Preparing to unpack .../072-postgresql-17_17.2-1+b2_arm64.deb ...
Unpacking postgresql-17 (17.2-1+b2) ...
Selecting previously unselected package postgresql.
Preparing to unpack .../073-postgresql_17+270_all.deb ...
Unpacking postgresql (17+270) ...
Selecting previously unselected package python-babel-localedata.
Preparing to unpack .../074-python-babel-localedata_2.17.0-1_all.deb ...
Unpacking python-babel-localedata (2.17.0-1) ...
Selecting previously unselected package python3-alabaster.
Preparing to unpack .../075-python3-alabaster_0.7.16-0.1_all.deb ...
Unpacking python3-alabaster (0.7.16-0.1) ...
Selecting previously unselected package python3.12.
Preparing to unpack .../076-python3.12_3.12.9-1_arm64.deb ...
Unpacking python3.12 (3.12.9-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../077-python3-all_3.13.1-2_arm64.deb ...
Unpacking python3-all (3.13.1-2) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../078-python3-dateutil_2.9.0-3_all.deb ...
Unpacking python3-dateutil (2.9.0-3) ...
Selecting previously unselected package python3-typeshed.
Preparing to unpack .../079-python3-typeshed_0.0~git20241223.ea91db2-1_all.deb ...
Unpacking python3-typeshed (0.0~git20241223.ea91db2-1) ...
Selecting previously unselected package python3-arrow.
Preparing to unpack .../080-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 .../081-python3-babel_2.17.0-1_all.deb ...
Unpacking python3-babel (2.17.0-1) ...
Selecting previously unselected package python3-certifi.
Preparing to unpack .../082-python3-certifi_2024.12.14+ds-1_all.deb ...
Unpacking python3-certifi (2024.12.14+ds-1) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../083-python3-chardet_5.2.0+dfsg-2_all.deb ...
Unpacking python3-chardet (5.2.0+dfsg-2) ...
Selecting previously unselected package python3-charset-normalizer.
Preparing to unpack .../084-python3-charset-normalizer_3.4.0-1+b1_arm64.deb ...
Unpacking python3-charset-normalizer (3.4.0-1+b1) ...
Selecting previously unselected package python3-defusedxml.
Preparing to unpack .../085-python3-defusedxml_0.7.1-3_all.deb ...
Unpacking python3-defusedxml (0.7.1-3) ...
Selecting previously unselected package python3-roman.
Preparing to unpack .../086-python3-roman_5.0-1_all.deb ...
Unpacking python3-roman (5.0-1) ...
Selecting previously unselected package python3-docutils.
Preparing to unpack .../087-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 .../088-python3-greenlet_3.1.0-1+b1_arm64.deb ...
Unpacking python3-greenlet (3.1.0-1+b1) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../089-python3-idna_3.10-1_all.deb ...
Unpacking python3-idna (3.10-1) ...
Selecting previously unselected package python3-imagesize.
Preparing to unpack .../090-python3-imagesize_1.4.1-1_all.deb ...
Unpacking python3-imagesize (1.4.1-1) ...
Selecting previously unselected package python3-infinity.
Preparing to unpack .../091-python3-infinity_1.5-4_all.deb ...
Unpacking python3-infinity (1.5-4) ...
Selecting previously unselected package python3-iniconfig.
Preparing to unpack .../092-python3-iniconfig_1.1.1-2_all.deb ...
Unpacking python3-iniconfig (1.1.1-2) ...
Selecting previously unselected package python3-markupsafe.
Preparing to unpack .../093-python3-markupsafe_2.1.5-1+b3_arm64.deb ...
Unpacking python3-markupsafe (2.1.5-1+b3) ...
Selecting previously unselected package python3-jinja2.
Preparing to unpack .../094-python3-jinja2_3.1.5-2_all.deb ...
Unpacking python3-jinja2 (3.1.5-2) ...
Selecting previously unselected package python3-packaging.
Preparing to unpack .../095-python3-packaging_24.2-1_all.deb ...
Unpacking python3-packaging (24.2-1) ...
Selecting previously unselected package python3-pluggy.
Preparing to unpack .../096-python3-pluggy_1.5.0-1_all.deb ...
Unpacking python3-pluggy (1.5.0-1) ...
Selecting previously unselected package python3-psycopg2.
Preparing to unpack .../097-python3-psycopg2_2.9.10-1_arm64.deb ...
Unpacking python3-psycopg2 (2.9.10-1) ...
Selecting previously unselected package python3-pygments.
Preparing to unpack .../098-python3-pygments_2.18.0+dfsg-2_all.deb ...
Unpacking python3-pygments (2.18.0+dfsg-2) ...
Selecting previously unselected package python3-pytest.
Preparing to unpack .../099-python3-pytest_8.3.4-1_all.deb ...
Unpacking python3-pytest (8.3.4-1) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../100-python3-urllib3_2.3.0-1_all.deb ...
Unpacking python3-urllib3 (2.3.0-1) ...
Selecting previously unselected package python3-requests.
Preparing to unpack .../101-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 .../102-python3-snowballstemmer_2.2.0-4_all.deb ...
Unpacking python3-snowballstemmer (2.2.0-4) ...
Selecting previously unselected package sphinx-common.
Preparing to unpack .../103-sphinx-common_8.1.3-4_all.deb ...
Unpacking sphinx-common (8.1.3-4) ...
Selecting previously unselected package python3-sphinx.
Preparing to unpack .../104-python3-sphinx_8.1.3-4_all.deb ...
Unpacking python3-sphinx (8.1.3-4) ...
Selecting previously unselected package python3-sqlalchemy.
Preparing to unpack .../105-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 .../106-python3-sqlalchemy-utils_0.41.0-5_all.deb ...
Unpacking python3-sqlalchemy-utils (0.41.0-5) ...
Setting up media-types (10.1.0) ...
Setting up libpipeline1:arm64 (1.5.8-1) ...
Setting up libtext-charwidth-perl:arm64 (0.04-11+b4) ...
Setting up libkeyutils1:arm64 (1.6.3-4) ...
Setting up libicu72:arm64 (72.1-6) ...
Setting up bsdextrautils (2.40.4-3) ...
Setting up libgpg-error0:arm64 (1.51-3) ...
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.24.1) ...
Setting up libedit2:arm64 (3.1-20250104-1) ...
Setting up libmagic1t64:arm64 (1:5.45-3+b1) ...
Setting up libpython3.12-minimal:arm64 (3.12.9-1) ...
Setting up gettext-base (0.23.1-1) ...
Setting up m4 (1.4.19-5) ...
Setting up libgcrypt20:arm64 (1.11.0-7) ...
Setting up libcom-err2:arm64 (1.47.2-1) ...
Setting up file (1:5.45-3+b1) ...
Setting up libtext-wrapi18n-perl (0.06-10) ...
Setting up libelf1t64:arm64 (0.192-4) ...
Setting up python-babel-localedata (2.17.0-1) ...
Setting up libkrb5support0:arm64 (1.21.3-4) ...
Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-8+b1) ...
Setting up tzdata (2024b-6) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Fri Feb 14 06:09:40 UTC 2025.
Universal Time is now:  Fri Feb 14 06:09:40 UTC 2025.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up autotools-dev (20220109.1) ...
Setting up libz3-4:arm64 (4.13.3-1) ...
Setting up libproc2-0:arm64 (2:4.0.4-7) ...
Setting up libunistring5:arm64 (1.3-1) ...
Setting up autopoint (0.23.1-1) ...
Setting up libipc-run-perl (20231003.0-2) ...
Setting up libk5crypto3:arm64 (1.21.3-4) ...
Setting up libsasl2-2:arm64 (2.1.28+dfsg1-8+b1) ...
Setting up autoconf (2.72-3) ...
Setting up libffi8:arm64 (3.4.6-1) ...
Setting up dwz (0.15-1+b1) ...
Setting up sensible-utils (0.0.24) ...
Setting up libuchardet0:arm64 (0.0.8-1+b2) ...
Setting up procps (2:4.0.4-7) ...
Setting up libjson-perl (4.10000-1) ...
Setting up netbase (6.4) ...
Setting up sgml-base (1.31) ...
Setting up libkrb5-3:arm64 (1.21.3-4) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up openssl (3.4.0-2) ...
Setting up readline-common (8.2-6) ...
Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ...
Setting up libldap2:arm64 (2.6.9+dfsg-1) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up postgresql-common-dev (270) ...
Setting up automake (1:1.17-3) ...
update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode
Setting up postgresql-client-common (270) ...
Setting up libfile-stripnondeterminism-perl (1.14.1-2) ...
Setting up python3.12-minimal (3.12.9-1) ...
Setting up libllvm19:arm64 (1:19.1.7-1+b1) ...
Setting up gettext (0.23.1-1) ...
Setting up libtool (2.5.4-3) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up ca-certificates (20241223) ...
Updating certificates in /etc/ssl/certs...
152 added, 0 removed; done.
Setting up ssl-cert (1.1.3) ...
Setting up libgssapi-krb5-2:arm64 (1.21.3-4) ...
Setting up ucf (3.0049) ...
Setting up libjs-sphinxdoc (8.1.3-4) ...
Setting up libreadline8t64:arm64 (8.2-6) ...
Setting up dh-strip-nondeterminism (1.14.1-2) ...
Setting up groff-base (1.23.0-7) ...
Setting up xml-core (0.19) ...
Setting up libxslt1.1:arm64 (1.1.35-1.1+b1) ...
Setting up libpython3.13-stdlib:arm64 (3.13.2-1) ...
Setting up libpython3-stdlib:arm64 (3.13.1-2) ...
Setting up libtirpc3t64:arm64 (1.3.4+ds-1.3+b1) ...
Setting up python3.13 (3.13.2-1) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpq5:arm64 (17.2-1+b2) ...
Setting up python3 (3.13.1-2) ...
Setting up python3-zipp (3.21.0-1) ...
Setting up python3-autocommand (2.2.2-3) ...
Setting up man-db (2.13.0-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up python3-markupsafe (2.1.5-1+b3) ...
Setting up python3-roman (5.0-1) ...
Setting up python3-jinja2 (3.1.5-2) ...
Setting up python3-pygments (2.18.0+dfsg-2) ...
Setting up python3-packaging (24.2-1) ...
Setting up python3-chardet (5.2.0+dfsg-2) ...
Setting up python3-certifi (2024.12.14+ds-1) ...
Setting up python3-typeshed (0.0~git20241223.ea91db2-1) ...
Setting up python3-snowballstemmer (2.2.0-4) ...
Setting up sphinx-common (8.1.3-4) ...
Setting up python3-greenlet (3.1.0-1+b1) ...
Setting up postgresql-common (270) ...
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 python3-idna (3.10-1) ...
Setting up python3-psycopg2 (2.9.10-1) ...
Setting up python3-typing-extensions (4.12.2-2) ...
Setting up python3-urllib3 (2.3.0-1) ...
Setting up python3-pluggy (1.5.0-1) ...
Setting up python3-infinity (1.5-4) ...
Setting up libnsl2:arm64 (1.3.0-3+b3) ...
Setting up python3-dateutil (2.9.0-3) ...
Setting up python3-imagesize (1.4.1-1) ...
Setting up python3-more-itertools (10.6.0-1) ...
Setting up python3-iniconfig (1.1.1-2) ...
Setting up python3-jaraco.functools (4.1.0-1) ...
Setting up libpython3.12-stdlib:arm64 (3.12.9-1) ...
Setting up python3-arrow (1.3.0-1.1) ...
Setting up python3-jaraco.context (6.0.0-1) ...
Setting up python3-babel (2.17.0-1) ...
update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode
Setting up postgresql-client-17 (17.2-1+b2) ...
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-defusedxml (0.7.1-3) ...
Setting up python3-charset-normalizer (3.4.0-1+b1) ...
Setting up python3-pytest (8.3.4-1) ...
Setting up python3-alabaster (0.7.16-0.1) ...
Setting up python3.12 (3.12.9-1) ...
Setting up python3-typeguard (4.4.1-1) ...
Setting up python3-all (3.13.1-2) ...
Setting up debhelper (13.24.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-requests (2.32.3+dfsg-1) ...
Setting up python3-pkg-resources (75.6.0-1) ...
Setting up python3-sqlalchemy-utils (0.41.0-5) ...
Setting up postgresql-17 (17.2-1+b2) ...
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-setuptools (75.6.0-1) ...
Setting up postgresql (17+270) ...
Setting up dh-python (6.20250108) ...
Processing triggers for libc-bin (2.40-6) ...
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 (8.1.3-4) ...
Processing triggers for ca-certificates (20241223) ...
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/3590962/tmp/hooks/A99_set_merged_usr starting
Not re-configuring usrmerge for trixie
I: user script /srv/workspace/pbuilder/3590962/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-3_source.changes
dpkg-buildpackage: info: source package sqlalchemy-i18n
dpkg-buildpackage: info: source version 1.1.0-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alexandre Detiste <tchet@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
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-aarch64' does not exist -- can't clean it
'build/scripts-3.12' does not exist -- can't clean it
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-aarch64' does not exist -- can't clean it
'build/scripts-3.13' 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.12 setup.py config 
running config
I: pybuild base:311: python3.13 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.12 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/utils.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/manager.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/exc.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/builders.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
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.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/translatable.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/expressions.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/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n
copying sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n
copying sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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 v8.1.3
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'}`.
loading intersphinx inventory 'python' 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 <class 'requests.exceptions.ProxyError'>: 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('<urllib3.connection.HTTPConnection object at 0xffffaa842a50>: 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. [docutils]
/build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:87: ERROR: Unexpected indentation. [docutils]
/build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:89: ERROR: Unexpected indentation. [docutils]
/build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:90: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
/build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/config.rst:91: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/_build/html/_static/language_data.js
Writing evaluated template result to /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/_build/html/_static/documentation_options.js
Writing evaluated template result to /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/_build/html/_static/basic.css
Writing evaluated template result to /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/_build/html/_static/sidebar.js
Writing evaluated template result to /build/reproducible-path/sqlalchemy-i18n-1.1.0/docs/_build/html/_static/classic.css
copying static files: done
copying extra files... 
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, 7 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.12_sqlalchemy-i18n/build /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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/tmpdajo6yko/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/tmpdajo6yko/data -l logfile start

2025-02-14 20:10:31.438 /USR/SHARE/ZONEINFO/ETC/GMT [3609133] LOG:  starting PostgreSQL 17.2 (Debian 17.2-1+b2) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 14.2.0-14) 14.2.0, 64-bit
2025-02-14 20:10:31.438 /USR/SHARE/ZONEINFO/ETC/GMT [3609133] LOG:  listening on IPv4 address "127.0.0.1", port 45467
2025-02-14 20:10:31.439 /USR/SHARE/ZONEINFO/ETC/GMT [3609133] LOG:  listening on Unix socket "/tmp/tmpdajo6yko/tmp/.s.PGSQL.45467"
2025-02-14 20:10:31.441 /USR/SHARE/ZONEINFO/ETC/GMT [3609137] LOG:  database system was shut down at 2025-02-14 20:10:31 /USR/SHARE/ZONEINFO/ETC/GMT
2025-02-14 20:10:31.447 /USR/SHARE/ZONEINFO/ETC/GMT [3609133] LOG:  database system is ready to accept connections
running initdb
starting server
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /build/reproducible-path/sqlalchemy-i18n-1.1.0
plugins: typeguard-4.4.1
collected 119 items

tests/test_common_base_class.py EE                                       [  1%]
tests/test_comparator.py EEEE                                            [  5%]
tests/test_composite_primary_key.py EE                                   [  6%]
tests/test_configuration.py EE                                           [  8%]
tests/test_current_translation_property.py EEEEEE                        [ 13%]
tests/test_current_translation_property_with_locale.py EE                [ 15%]
tests/test_custom_base_class.py E                                        [ 15%]
tests/test_expressions.py .                                              [ 16%]
tests/test_fallback_locale_as_callable.py EEEE                           [ 20%]
tests/test_fallback_locale_without_class_default.py EEEE                 [ 23%]
tests/test_fallback_translation.py EEEEEE                                [ 28%]
tests/test_find_translations.py EEEE                                     [ 31%]
tests/test_hybrid_property_as_dynamic_source_locale.py EE                [ 33%]
tests/test_hybrid_property_exclusion.py FE                               [ 35%]
tests/test_join_expressions.py EEEEEEEE                                  [ 42%]
tests/test_joined_loading.py EEEEEEEEEE                                  [ 50%]
tests/test_joined_table_inheritance.py EEEEEEEEEEEEEEEE                  [ 63%]
tests/test_property_collision.py .                                       [ 64%]
tests/test_relationships.py EE                                           [ 66%]
tests/test_translatable.py EEEEEEEEEEEEEEEE                              [ 79%]
tests/test_translation_auto_creation.py EE                               [ 81%]
tests/test_translation_auto_creation_with_non_nullables.py EE            [ 83%]
tests/test_translation_mapping.py EEEE2025-02-14 20:10:49.914 /USR/SHARE/ZONEINFO/ETC/GMT [3613797] FATAL:  sorry, too many clients already
E2025-02-14 20:10:50.238 /USR/SHARE/ZONEINFO/ETC/GMT [3613822] FATAL:  sorry, too many clients already
E2025-02-14 20:10:50.581 /USR/SHARE/ZONEINFO/ETC/GMT [3613846] FATAL:  sorry, too many clients already
E2025-02-14 20:10:50.905 /USR/SHARE/ZONEINFO/ETC/GMT [3613870] FATAL:  sorry, too many clients already
E2025-02-14 20:10:51.252 /USR/SHARE/ZONEINFO/ETC/GMT [3613897] FATAL:  sorry, too many clients already
E2025-02-14 20:10:51.582 /USR/SHARE/ZONEINFO/ETC/GMT [3613922] FATAL:  sorry, too many clients already
E2025-02-14 20:10:51.932 /USR/SHARE/ZONEINFO/ETC/GMT [3613959] FATAL:  sorry, too many clients already
E2025-02-14 20:10:52.262 /USR/SHARE/ZONEINFO/ETC/GMT [3614042] FATAL:  sorry, too many clients already
E2025-02-14 20:10:52.611 /USR/SHARE/ZONEINFO/ETC/GMT [3614180] FATAL:  sorry, too many clients already
E2025-02-14 20:10:52.934 /USR/SHARE/ZONEINFO/ETC/GMT [3614287] FATAL:  sorry, too many clients already
E2025-02-14 20:10:53.284 /USR/SHARE/ZONEINFO/ETC/GMT [3614465] FATAL:  sorry, too many clients already
E2025-02-14 20:10:53.608 /USR/SHARE/ZONEINFO/ETC/GMT [3614536] FATAL:  sorry, too many clients already
E2025-02-14 20:10:53.963 /USR/SHARE/ZONEINFO/ETC/GMT [3614713] FATAL:  sorry, too many clients already
E2025-02-14 20:10:54.294 /USR/SHARE/ZONEINFO/ETC/GMT [3614820] FATAL:  sorry, too many clients already
E2025-02-14 20:10:54.645 /USR/SHARE/ZONEINFO/ETC/GMT [3614863] FATAL:  sorry, too many clients already
E2025-02-14 20:10:55.003 /USR/SHARE/ZONEINFO/ETC/GMT [3614924] FATAL:  sorry, too many clients already
E                   [100%]

==================================== ERRORS ====================================
_ ERROR at setup of TestDeclarative.test_translatable_dict_copied_to_each_child_class _

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb732faf0>
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 = <tests.test_common_base_class.TestDeclarative object at 0xffffb8a95450>
method = <bound method Suite.test_translatable_dict_copied_to_each_child_class of <tests.test_common_base_class.TestDeclarative object at 0xffffb8a95450>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb732faf0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_common_base_class.TestClassic object at 0xffffb7431bd0>

    def create_mappers(self):
>       sa.orm.mapper(self.TextItem, self.textitems)

tests/test_common_base_class.py:105: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

arg = (<class 'tests.test_common_base_class.TestClassic.create_models.<locals>.TextItem'>, Table('textitems', MetaData(), Column('id', Integer(), table=<textitems>, 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb72af3f0>
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 = <tests.test_comparator.TestDeclarative object at 0xffffb7431950>
method = <bound method Suite.test_attribute_accessor_for_unknown_locale of <tests.test_comparator.TestDeclarative object at 0xffffb7431950>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb72af3f0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_attribute_accessors __________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6a3b2a0>
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 = <tests.test_comparator.TestDeclarative object at 0xffffb7431d10>
method = <bound method Suite.test_attribute_accessors of <tests.test_comparator.TestDeclarative object at 0xffffb7431d10>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6a3b2a0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_comparator.TestClassic object at 0xffffb7431e50>
method = <bound method Suite.test_attribute_accessor_for_unknown_locale of <tests.test_comparator.TestClassic object at 0xffffb7431e50>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_comparator.TestClassic object at 0xffffb7431f90>
method = <bound method Suite.test_attribute_accessors of <tests.test_comparator.TestClassic object at 0xffffb7431f90>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6b64440>
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 = <tests.test_composite_primary_key.TestDeclarative object at 0xffffb7432490>
method = <bound method Suite.test_relationships of <tests.test_composite_primary_key.TestDeclarative object at 0xffffb7432490>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6b64440>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_______________ ERROR at setup of TestClassic.test_relationships _______________

self = <tests.test_composite_primary_key.TestClassic object at 0xffffb74325d0>
method = <bound method Suite.test_relationships of <tests.test_composite_primary_key.TestClassic object at 0xffffb74325d0>>

    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 = (<class 'tests.test_composite_primary_key.TestClassic.create_models.<locals>.Article'>, Table('article', MetaData(), C...y_key=True, nullable=False), Column('id2', Integer(), table=<article>, 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6ac15c0>
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 = <tests.test_configuration.TestTranslationBaseCustomization object at 0xffffb7432710>
method = <bound method TestTranslationBaseCustomization.test_customize_foreign_key_args of <tests.test_configuration.TestTranslationBaseCustomization object at 0xffffb7432710>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6ac15c0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['fi', 'en']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_ ERROR at setup of TestTranslationBaseCustomization.test_customize_relationships_args _

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6b796a0>
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 = <tests.test_configuration.TestTranslationBaseCustomization object at 0xffffb7432350>
method = <bound method TestTranslationBaseCustomization.test_customize_relationships_args of <tests.test_configuration.TestTranslationBaseCustomization object at 0xffffb7432350>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6b796a0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['fi', 'en']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_as_object_property ___________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6d18670>
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 = <tests.test_current_translation_property.TestDeclarative object at 0xffffb7432850>
method = <bound method Suite.test_as_object_property of <tests.test_current_translation_property.TestDeclarative object at 0xffffb7432850>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6d18670>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['fi', 'en']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
___________ ERROR at setup of TestDeclarative.test_as_class_property ___________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6ce8210>
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 = <tests.test_current_translation_property.TestDeclarative object at 0xffffb7432990>
method = <bound method Suite.test_as_class_property of <tests.test_current_translation_property.TestDeclarative object at 0xffffb7432990>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6ce8210>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
________________ ERROR at setup of TestDeclarative.test_setter _________________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6cebe70>
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 = <tests.test_current_translation_property.TestDeclarative object at 0xffffb7481ba0>
method = <bound method Suite.test_setter of <tests.test_current_translation_property.TestDeclarative object at 0xffffb7481ba0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6cebe70>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
____________ ERROR at setup of TestClassic.test_as_object_property _____________

self = <tests.test_current_translation_property.TestClassic object at 0xffffb7432ad0>
method = <bound method Suite.test_as_object_property of <tests.test_current_translation_property.TestClassic object at 0xffffb7432ad0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_current_translation_property.TestClassic object at 0xffffb7432c10>
method = <bound method Suite.test_as_class_property of <tests.test_current_translation_property.TestClassic object at 0xffffb7432c10>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_current_translation_property.TestClassic object at 0xffffb7481cd0>
method = <bound method Suite.test_setter of <tests.test_current_translation_property.TestClassic object at 0xffffb7481cd0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb62fd9b0>
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 = <tests.test_current_translation_property_with_locale.TestDeclarative object at 0xffffb7432fd0>
method = <bound method Suite.test_converts_locale_object_to_unicode of <tests.test_current_translation_property_with_locale.TestDeclarative object at 0xffffb7432fd0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb62fd9b0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_current_translation_property_with_locale.TestClassic object at 0xffffb7433110>
method = <bound method Suite.test_converts_locale_object_to_unicode of <tests.test_current_translation_property_with_locale.TestClassic object at 0xffffb7433110>>

    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 = (<class 'tests.test_current_translation_property_with_locale.TestClassic.create_models.<locals>.Article'>, Table('arti...able=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb62e9ef0>
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 = <tests.test_custom_base_class.TestDeclarative object at 0xffffb7433250>
method = <bound method Suite.test_translatable_dict_copied_to_each_child_class of <tests.test_custom_base_class.TestDeclarative object at 0xffffb7433250>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb62e9ef0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7109c50>
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 = <tests.test_fallback_locale_as_callable.TestDeclarative object at 0xffffb74334d0>
method = <bound method Suite.test_hybrid_properties_support_callable_fallback_locales of <tests.test_fallback_locale_as_callable.TestDeclarative object at 0xffffb74334d0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7109c50>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
____________ ERROR at setup of TestDeclarative.test_locale_fallback ____________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7139470>
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 = <tests.test_fallback_locale_as_callable.TestDeclarative object at 0xffffb7433390>
method = <bound method Suite.test_locale_fallback of <tests.test_fallback_locale_as_callable.TestDeclarative object at 0xffffb7433390>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7139470>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_fallback_locale_as_callable.TestClassic object at 0xffffb7433610>
method = <bound method Suite.test_hybrid_properties_support_callable_fallback_locales of <tests.test_fallback_locale_as_callable.TestClassic object at 0xffffb7433610>>

    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 = (<class 'tests.test_fallback_locale_as_callable.TestClassic.create_models.<locals>.Article'>, Table('article', MetaDat...able=False), Column('locale', CHAR(length=2), table=<article>, 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 = <tests.test_fallback_locale_as_callable.TestClassic object at 0xffffb7433750>
method = <bound method Suite.test_locale_fallback of <tests.test_fallback_locale_as_callable.TestClassic object at 0xffffb7433750>>

    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 = (<class 'tests.test_fallback_locale_as_callable.TestClassic.create_models.<locals>.Article'>, Table('article', MetaDat...able=False), Column('locale', CHAR(length=2), table=<article>, 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb669e120>
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 = <tests.test_fallback_locale_without_class_default.TestDeclarative object at 0xffffb7433b10>
method = <bound method Suite.test_hybrid_properties_support_callable_fallback_locales of <tests.test_fallback_locale_without_class_default.TestDeclarative object at 0xffffb7433b10>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb669e120>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
____________ ERROR at setup of TestDeclarative.test_locale_fallback ____________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb65e9d30>
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 = <tests.test_fallback_locale_without_class_default.TestDeclarative object at 0xffffb74339d0>
method = <bound method Suite.test_locale_fallback of <tests.test_fallback_locale_without_class_default.TestDeclarative object at 0xffffb74339d0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb65e9d30>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_fallback_locale_without_class_default.TestClassic object at 0xffffb7433c50>
method = <bound method Suite.test_hybrid_properties_support_callable_fallback_locales of <tests.test_fallback_locale_without_class_default.TestClassic object at 0xffffb7433c50>>

    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 = (<class 'tests.test_fallback_locale_without_class_default.TestClassic.create_models.<locals>.Article'>, Table('article...able=False), Column('locale', CHAR(length=2), table=<article>, 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 = <tests.test_fallback_locale_without_class_default.TestClassic object at 0xffffb7433d90>
method = <bound method Suite.test_locale_fallback of <tests.test_fallback_locale_without_class_default.TestClassic object at 0xffffb7433d90>>

    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 = (<class 'tests.test_fallback_locale_without_class_default.TestClassic.create_models.<locals>.Article'>, Table('article...able=False), Column('locale', CHAR(length=2), table=<article>, 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb667f070>
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 = <tests.test_fallback_translation.TestDeclarative object at 0xffffb7433ed0>
method = <bound method Suite.test_as_object_property_with_force_locale of <tests.test_fallback_translation.TestDeclarative object at 0xffffb7433ed0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb667f070>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
___________ ERROR at setup of TestDeclarative.test_as_class_property ___________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb66eea50>
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 = <tests.test_fallback_translation.TestDeclarative object at 0xffffb7308050>
method = <bound method Suite.test_as_class_property of <tests.test_fallback_translation.TestDeclarative object at 0xffffb7308050>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb66eea50>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
________________ ERROR at setup of TestDeclarative.test_setter _________________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6796510>
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 = <tests.test_fallback_translation.TestDeclarative object at 0xffffb7482060>
method = <bound method Suite.test_setter of <tests.test_fallback_translation.TestDeclarative object at 0xffffb7482060>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6796510>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_fallback_translation.TestClassic object at 0xffffb7308190>
method = <bound method Suite.test_as_object_property_with_force_locale of <tests.test_fallback_translation.TestClassic object at 0xffffb7308190>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_fallback_translation.TestClassic object at 0xffffb73082d0>
method = <bound method Suite.test_as_class_property of <tests.test_fallback_translation.TestClassic object at 0xffffb73082d0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_fallback_translation.TestClassic object at 0xffffb7482190>
method = <bound method Suite.test_setter of <tests.test_fallback_translation.TestClassic object at 0xffffb7482190>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6f96c10>
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 = <tests.test_find_translations.TestDeclarative object at 0xffffb7308690>
method = <bound method Suite.test_with_full_confidence of <tests.test_find_translations.TestDeclarative object at 0xffffb7308690>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6f96c10>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
________ ERROR at setup of TestDeclarative.test_with_varying_confidence ________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6f13af0>
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 = <tests.test_find_translations.TestDeclarative object at 0xffffb7308550>
method = <bound method Suite.test_with_varying_confidence of <tests.test_find_translations.TestDeclarative object at 0xffffb7308550>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6f13af0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi', 'sv']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
___________ ERROR at setup of TestClassic.test_with_full_confidence ____________

self = <tests.test_find_translations.TestClassic object at 0xffffb73087d0>
method = <bound method Suite.test_with_full_confidence of <tests.test_find_translations.TestClassic object at 0xffffb73087d0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_find_translations.TestClassic object at 0xffffb7308910>
method = <bound method Suite.test_with_varying_confidence of <tests.test_find_translations.TestClassic object at 0xffffb7308910>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6c211d0>
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 = <tests.test_hybrid_property_as_dynamic_source_locale.TestDeclarative object at 0xffffb7308cd0>
method = <bound method Suite.test_joinedload_for_current_translation of <tests.test_hybrid_property_as_dynamic_source_locale.TestDeclarative object at 0xffffb7308cd0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6c211d0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_hybrid_property_as_dynamic_source_locale.TestClassic object at 0xffffb7308e10>
method = <bound method Suite.test_joinedload_for_current_translation of <tests.test_hybrid_property_as_dynamic_source_locale.TestClassic object at 0xffffb7308e10>>

    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 = (<class 'tests.test_hybrid_property_as_dynamic_source_locale.TestClassic.create_models.<locals>.Article'>, Table('arti...<article>), Column('_locale', CHAR(length=2), table=<article>, 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 = <tests.test_hybrid_property_exclusion.TestClassic object at 0xffffb7308f50>
method = <bound method Suite.test_does_not_generate_hybrid_properties of <tests.test_hybrid_property_exclusion.TestClassic object at 0xffffb7308f50>>

    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 = (<class 'tests.test_hybrid_property_exclusion.TestClassic.create_models.<locals>.Article'>, Table('article', MetaData(...e=<article>, default=ScalarElementColumnDefault('en')), Column('word_count', Integer(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6904d00>
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 = <tests.test_join_expressions.TestDeclarative object at 0xffffb7308410>
method = <bound method Suite.test_current_translation_as_expression of <tests.test_join_expressions.TestDeclarative object at 0xffffb7308410>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6904d00>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_________ ERROR at setup of TestDeclarative.test_order_by_translation __________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb699c9f0>
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 = <tests.test_join_expressions.TestDeclarative object at 0xffffb73091d0>
method = <bound method Suite.test_order_by_translation of <tests.test_join_expressions.TestDeclarative object at 0xffffb73091d0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb699c9f0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_____ ERROR at setup of TestDeclarative.test_fallback_locale_as_expression _____

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb68bc750>
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 = <tests.test_join_expressions.TestDeclarative object at 0xffffb7482520>
method = <bound method Suite.test_fallback_locale_as_expression of <tests.test_join_expressions.TestDeclarative object at 0xffffb7482520>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb68bc750>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_______________ ERROR at setup of TestDeclarative.test_querying ________________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb621c360>
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 = <tests.test_join_expressions.TestDeclarative object at 0xffffb74823f0>
method = <bound method Suite.test_querying of <tests.test_join_expressions.TestDeclarative object at 0xffffb74823f0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb621c360>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_____ ERROR at setup of TestClassic.test_current_translation_as_expression _____

self = <tests.test_join_expressions.TestClassic object at 0xffffb7309310>
method = <bound method Suite.test_current_translation_as_expression of <tests.test_join_expressions.TestClassic object at 0xffffb7309310>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_join_expressions.TestClassic object at 0xffffb7309450>
method = <bound method Suite.test_order_by_translation of <tests.test_join_expressions.TestClassic object at 0xffffb7309450>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_join_expressions.TestClassic object at 0xffffb74822c0>
method = <bound method Suite.test_fallback_locale_as_expression of <tests.test_join_expressions.TestClassic object at 0xffffb74822c0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_join_expressions.TestClassic object at 0xffffb7482650>
method = <bound method Suite.test_querying of <tests.test_join_expressions.TestClassic object at 0xffffb7482650>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb627ec80>
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 = <tests.test_joined_loading.TestDeclarative object at 0xffffb7309590>
method = <bound method Suite.test_joinedload_for_current_translation of <tests.test_joined_loading.TestDeclarative object at 0xffffb7309590>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb627ec80>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5fc2900>
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 = <tests.test_joined_loading.TestDeclarative object at 0xffffb73096d0>
method = <bound method Suite.test_contains_eager_for_current_translation of <tests.test_joined_loading.TestDeclarative object at 0xffffb73096d0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5fc2900>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
___ ERROR at setup of TestDeclarative.test_joinedload_for_single_translation ___

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6036580>
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 = <tests.test_joined_loading.TestDeclarative object at 0xffffb7482780>
method = <bound method Suite.test_joinedload_for_single_translation of <tests.test_joined_loading.TestDeclarative object at 0xffffb7482780>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6036580>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_____ ERROR at setup of TestDeclarative.test_joinedload_for_attr_accessor ______

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb64b62e0>
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 = <tests.test_joined_loading.TestDeclarative object at 0xffffb74828b0>
method = <bound method Suite.test_joinedload_for_attr_accessor of <tests.test_joined_loading.TestDeclarative object at 0xffffb74828b0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb64b62e0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
____ ERROR at setup of TestDeclarative.test_joinedload_for_all_translations ____

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb643a040>
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 = <tests.test_joined_loading.TestDeclarative object at 0xffffb72d7e30>
method = <bound method Suite.test_joinedload_for_all_translations of <tests.test_joined_loading.TestDeclarative object at 0xffffb72d7e30>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb643a040>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
____ ERROR at setup of TestClassic.test_joinedload_for_current_translation _____

self = <tests.test_joined_loading.TestClassic object at 0xffffb7309810>
method = <bound method Suite.test_joinedload_for_current_translation of <tests.test_joined_loading.TestClassic object at 0xffffb7309810>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_joined_loading.TestClassic object at 0xffffb7309950>
method = <bound method Suite.test_contains_eager_for_current_translation of <tests.test_joined_loading.TestClassic object at 0xffffb7309950>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_joined_loading.TestClassic object at 0xffffb74829e0>
method = <bound method Suite.test_joinedload_for_single_translation of <tests.test_joined_loading.TestClassic object at 0xffffb74829e0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_joined_loading.TestClassic object at 0xffffb7482b10>
method = <bound method Suite.test_joinedload_for_attr_accessor of <tests.test_joined_loading.TestClassic object at 0xffffb7482b10>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_joined_loading.TestClassic object at 0xffffb7364b90>
method = <bound method Suite.test_joinedload_for_all_translations of <tests.test_joined_loading.TestClassic object at 0xffffb7364b90>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb649cfa0>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7482ea0>
method = <bound method Suite.test_auto_creates_relations of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7482ea0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb649cfa0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
___ ERROR at setup of TestDeclarative.test_auto_creates_current_translation ____

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6882900>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7482d70>
method = <bound method Suite.test_auto_creates_current_translation of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7482d70>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6882900>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
________ ERROR at setup of TestDeclarative.test_translatable_attributes ________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5ef20b0>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7365010>
method = <bound method Suite.test_translatable_attributes of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7365010>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5ef20b0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_______ ERROR at setup of TestDeclarative.test_inherits_child_properties _______

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5f96200>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7484d10>
method = <bound method Suite.test_inherits_child_properties of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7484d10>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5f96200>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_translated_columns ___________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5be5e80>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7484c00>
method = <bound method Suite.test_translated_columns of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7484c00>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5be5e80>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_property_delegators __________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5c998d0>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb740bc50>
method = <bound method Suite.test_property_delegators of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb740bc50>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5c998d0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
______________ ERROR at setup of TestDeclarative.test_table_name _______________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5c39550>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7309a90>
method = <bound method TestDeclarative.test_table_name of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7309a90>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5c39550>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_________ ERROR at setup of TestDeclarative.test_inherits_parent_table _________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5cf11d0>
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 = <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7309bd0>
method = <bound method TestDeclarative.test_inherits_parent_table of <tests.test_joined_table_inheritance.TestDeclarative object at 0xffffb7309bd0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5cf11d0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestClassic.test_auto_creates_relations ___________

self = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7482c40>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7483100>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7366330>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7484e20>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7484f30>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb740bb50>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7309d10>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <tests.test_joined_table_inheritance.TestClassic object at 0xffffb7309e50>

    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 = (<class 'tests.test_joined_table_inheritance.TestClassic.create_models.<locals>.TextItem'>, Table('text_item', MetaDat...ion', UnicodeText(), table=<text_item>), Column('discriminator', Unicode(length=255), table=<text_item>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<text_item>)}

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb64e4ec0>
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 = <tests.test_relationships.TestDeclarative object at 0xffffb730a210>
method = <bound method Suite.test_nullify_relation of <tests.test_relationships.TestDeclarative object at 0xffffb730a210>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb64e4ec0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_____________ ERROR at setup of TestClassic.test_nullify_relation ______________

self = <tests.test_relationships.TestClassic object at 0xffffb730a350>

    def create_mappers(self):
>       sa.orm.mapper(self.Article, self.article)

tests/test_relationships.py:101: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

arg = (<class 'tests.test_relationships.TestClassic.create_models.<locals>.Article'>, Table('article', MetaData(), Column('i...), table=<article>, primary_key=True, nullable=False), Column('content', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6839b00>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb74835c0>
method = <bound method Suite.test_auto_creates_relations of <tests.test_translatable.TestDeclarative object at 0xffffb74835c0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6839b00>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
________ ERROR at setup of TestDeclarative.test_translatable_attributes ________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6821860>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb74836f0>
method = <bound method Suite.test_translatable_attributes of <tests.test_translatable.TestDeclarative object at 0xffffb74836f0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6821860>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_______ ERROR at setup of TestDeclarative.test_relationship_consistency ________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb731b690>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb7364950>
method = <bound method Suite.test_relationship_consistency of <tests.test_translatable.TestDeclarative object at 0xffffb7364950>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb731b690>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_property_delegators __________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb684ba80>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb7485370>
method = <bound method Suite.test_property_delegators of <tests.test_translatable.TestDeclarative object at 0xffffb7485370>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb684ba80>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
____________ ERROR at setup of TestDeclarative.test_commit_session _____________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb67fb7e0>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb7485040>
method = <bound method Suite.test_commit_session of <tests.test_translatable.TestDeclarative object at 0xffffb7485040>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb67fb7e0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
________________ ERROR at setup of TestDeclarative.test_delete _________________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb617f540>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb740b950>
method = <bound method Suite.test_delete of <tests.test_translatable.TestDeclarative object at 0xffffb740b950>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb617f540>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_translated_columns ___________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb61430e0>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb7309f90>
method = <bound method TestDeclarative.test_translated_columns of <tests.test_translatable.TestDeclarative object at 0xffffb7309f90>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb61430e0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6196d60>
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 = <tests.test_translatable.TestDeclarative object at 0xffffb730a490>
method = <bound method TestDeclarative.test_appends_locale_column_to_translation_table of <tests.test_translatable.TestDeclarative object at 0xffffb730a490>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6196d60>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestClassic.test_auto_creates_relations ___________

self = <tests.test_translatable.TestClassic object at 0xffffb7483820>
method = <bound method Suite.test_auto_creates_relations of <tests.test_translatable.TestClassic object at 0xffffb7483820>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb7483950>
method = <bound method Suite.test_translatable_attributes of <tests.test_translatable.TestClassic object at 0xffffb7483950>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb7348170>
method = <bound method Suite.test_relationship_consistency of <tests.test_translatable.TestClassic object at 0xffffb7348170>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb7485480>
method = <bound method Suite.test_property_delegators of <tests.test_translatable.TestClassic object at 0xffffb7485480>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb7485590>
method = <bound method Suite.test_commit_session of <tests.test_translatable.TestClassic object at 0xffffb7485590>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb740be50>
method = <bound method Suite.test_delete of <tests.test_translatable.TestClassic object at 0xffffb740be50>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb730a5d0>
method = <bound method TestClassic.test_translated_columns of <tests.test_translatable.TestClassic object at 0xffffb730a5d0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <tests.test_translatable.TestClassic object at 0xffffb730a710>
method = <bound method TestClassic.test_appends_locale_column_to_translation_table of <tests.test_translatable.TestClassic object at 0xffffb730a710>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5ab40c0>
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 = <tests.test_translation_auto_creation.TestDeclarative object at 0xffffb730a990>
method = <bound method Suite.test_auto_creates_translation_objects of <tests.test_translation_auto_creation.TestDeclarative object at 0xffffb730a990>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb5ab40c0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_____ ERROR at setup of TestClassic.test_auto_creates_translation_objects ______

self = <tests.test_translation_auto_creation.TestClassic object at 0xffffb730aad0>
method = <bound method Suite.test_auto_creates_translation_objects of <tests.test_translation_auto_creation.TestClassic object at 0xffffb730aad0>>

    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 = (<class 'tests.ClassicTestCase.create_models.<locals>.Article'>, Table('article', MetaData(), Column('id', Integer(), table=<article>, primary_key=True, nullable=False), Column('description', UnicodeText(), table=<article>), 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6e64f30>
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 = <tests.test_translation_auto_creation_with_non_nullables.TestDeclarative object at 0xffffb730ac10>
method = <bound method Suite.test_auto_sets_nullables_as_empty_strings of <tests.test_translation_auto_creation_with_non_nullables.TestDeclarative object at 0xffffb730ac10>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6e64f30>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <tests.test_translation_auto_creation_with_non_nullables.TestClassic object at 0xffffb730ad50>
method = <bound method Suite.test_auto_sets_nullables_as_empty_strings of <tests.test_translation_auto_creation_with_non_nullables.TestClassic object at 0xffffb730ad50>>

    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 = (<class 'tests.test_translation_auto_creation_with_non_nullables.TestClassic.create_models.<locals>.Article'>, Table('...ription', UnicodeText(), table=<article>), Column('discriminator', Unicode(length=255), table=<article>), schema=None))
kw = {'polymorphic_on': Column('discriminator', Unicode(length=255), table=<article>)}

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6e41fd0>
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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb730a850>
method = <bound method Suite.test_proxy_contains of <tests.test_translation_mapping.TestDeclarative object at 0xffffb730a850>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6e41fd0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_ ERROR at setup of TestDeclarative.test_translation_mapping_attribute_getter __

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6e4dcc0>
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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb730ae90>
method = <bound method Suite.test_translation_mapping_attribute_getter of <tests.test_translation_mapping.TestDeclarative object at 0xffffb730ae90>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6e4dcc0>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7001780>
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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb73ac2b0>
method = <bound method Suite.test_attribute_accessor_for_unknown_locale of <tests.test_translation_mapping.TestDeclarative object at 0xffffb73ac2b0>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7001780>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
__________ ERROR at setup of TestDeclarative.test_proxy_not_contains ___________

self = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7061470>
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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb73ac050>
method = <bound method Suite.test_proxy_not_contains of <tests.test_translation_mapping.TestDeclarative object at 0xffffb73ac050>>

    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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb7061470>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. Locale is not one of ['en', 'fi']

sqlalchemy_i18n/comparators.py:15: UnknownLocaleError
_________________ ERROR at setup of TestDeclarative.test_items _________________

self = <sqlalchemy.engine.base.Connection object at 0xffffb63e0f50>
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 45467 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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb7349490>
method = <bound method Suite.test_items of <tests.test_translation_mapping.TestDeclarative object at 0xffffb7349490>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6254ad0>
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 45467 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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb74858c0>
method = <bound method Suite.test_iteritems of <tests.test_translation_mapping.TestDeclarative object at 0xffffb74858c0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb63e0950>
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 45467 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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb74856a0>
method = <bound method Suite.test_set_item of <tests.test_translation_mapping.TestDeclarative object at 0xffffb74856a0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb5da2d50>
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 45467 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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb7374050>
method = <bound method Suite.test_repr of <tests.test_translation_mapping.TestDeclarative object at 0xffffb7374050>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb63e1e50>
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 45467 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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb7374150>
method = <bound method Suite.test_iter of <tests.test_translation_mapping.TestDeclarative object at 0xffffb7374150>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6177ad0>
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 45467 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 = <tests.test_translation_mapping.TestDeclarative object at 0xffffb74476b0>
method = <bound method Suite.test_values of <tests.test_translation_mapping.TestDeclarative object at 0xffffb74476b0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb63e0b90>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb730afd0>
method = <bound method Suite.test_proxy_contains of <tests.test_translation_mapping.TestClassic object at 0xffffb730afd0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb61747d0>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb730b110>
method = <bound method Suite.test_translation_mapping_attribute_getter of <tests.test_translation_mapping.TestClassic object at 0xffffb730b110>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb63e0950>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb73ac3e0>
method = <bound method Suite.test_attribute_accessor_for_unknown_locale of <tests.test_translation_mapping.TestClassic object at 0xffffb73ac3e0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6e3f1d0>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb73ac510>
method = <bound method Suite.test_proxy_not_contains of <tests.test_translation_mapping.TestClassic object at 0xffffb73ac510>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6174c50>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb734ac30>
method = <bound method Suite.test_items of <tests.test_translation_mapping.TestClassic object at 0xffffb734ac30>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6e3cad0>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb74859d0>
method = <bound method Suite.test_iteritems of <tests.test_translation_mapping.TestClassic object at 0xffffb74859d0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6175c10>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb7485ae0>
method = <bound method Suite.test_set_item of <tests.test_translation_mapping.TestClassic object at 0xffffb7485ae0>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6e3f410>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb7374250>
method = <bound method Suite.test_repr of <tests.test_translation_mapping.TestClassic object at 0xffffb7374250>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb6e3c1d0>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb7374350>
method = <bound method Suite.test_iter of <tests.test_translation_mapping.TestClassic object at 0xffffb7374350>>

    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 45467 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 = <sqlalchemy.engine.base.Connection object at 0xffffb5928350>
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 45467 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 = <tests.test_translation_mapping.TestClassic object at 0xffffb7446e40>
method = <bound method Suite.test_values of <tests.test_translation_mapping.TestClassic object at 0xffffb7446e40>>

    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 45467 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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6c31e80>
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 = <tests.test_hybrid_property_exclusion.TestDeclarative object at 0xffffb7309090>

    def test_does_not_generate_hybrid_properties(self):
>       self.Article()

tests/test_hybrid_property_exclusion.py:15: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
<string>: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 = <sqlalchemy_i18n.comparators.TranslationComparator object at 0xffffb6c31e80>
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 <class 'sqlalchemy.orm.decl_api.DeclarativeMeta'>. 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...2025-02-14 20:10:55.386 /USR/SHARE/ZONEINFO/ETC/GMT [3609133] LOG:  received smart shutdown request
2025-02-14 20:11:00.435 /USR/SHARE/ZONEINFO/ETC/GMT [3613747] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613594] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613046] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613043] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613037] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613009] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611977] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611908] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611837] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611625] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611618] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611440] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611425] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3610998] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3610973] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3609513] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613041] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3609943] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613689] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3611715] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613589] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.436 /USR/SHARE/ZONEINFO/ETC/GMT [3613708] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613584] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613595] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613597] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613588] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613623] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613580] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613729] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613686] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.437 /USR/SHARE/ZONEINFO/ETC/GMT [3613624] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.438 /USR/SHARE/ZONEINFO/ETC/GMT [3613250] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.438 /USR/SHARE/ZONEINFO/ETC/GMT [3611501] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.438 /USR/SHARE/ZONEINFO/ETC/GMT [3613184] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.438 /USR/SHARE/ZONEINFO/ETC/GMT [3611494] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.438 /USR/SHARE/ZONEINFO/ETC/GMT [3611355] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.438 /USR/SHARE/ZONEINFO/ETC/GMT [3609544] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.439 /USR/SHARE/ZONEINFO/ETC/GMT [3609324] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613077] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613308] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613388] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613048] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613272] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613600] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613052] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613044] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3611391] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3613039] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3611725] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3611619] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3611284] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3609260] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.441 /USR/SHARE/ZONEINFO/ETC/GMT [3609261] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.442 /USR/SHARE/ZONEINFO/ETC/GMT [3613578] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.442 /USR/SHARE/ZONEINFO/ETC/GMT [3612181] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.442 /USR/SHARE/ZONEINFO/ETC/GMT [3611444] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.442 /USR/SHARE/ZONEINFO/ETC/GMT [3611416] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.442 /USR/SHARE/ZONEINFO/ETC/GMT [3611021] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.443 /USR/SHARE/ZONEINFO/ETC/GMT [3612742] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3613040] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3611975] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3611710] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3611548] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3613047] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3613042] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3611264] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.444 /USR/SHARE/ZONEINFO/ETC/GMT [3611046] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.446 /USR/SHARE/ZONEINFO/ETC/GMT [3612241] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.446 /USR/SHARE/ZONEINFO/ETC/GMT [3611370] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.447 /USR/SHARE/ZONEINFO/ETC/GMT [3611970] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.447 /USR/SHARE/ZONEINFO/ETC/GMT [3612487] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.447 /USR/SHARE/ZONEINFO/ETC/GMT [3613038] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.449 /USR/SHARE/ZONEINFO/ETC/GMT [3612119] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.450 /USR/SHARE/ZONEINFO/ETC/GMT [3611892] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.450 /USR/SHARE/ZONEINFO/ETC/GMT [3611979] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.450 /USR/SHARE/ZONEINFO/ETC/GMT [3611982] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.452 /USR/SHARE/ZONEINFO/ETC/GMT [3611971] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.453 /USR/SHARE/ZONEINFO/ETC/GMT [3611711] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.453 /USR/SHARE/ZONEINFO/ETC/GMT [3611940] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.453 /USR/SHARE/ZONEINFO/ETC/GMT [3611972] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.455 /USR/SHARE/ZONEINFO/ETC/GMT [3611720] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.456 /USR/SHARE/ZONEINFO/ETC/GMT [3611546] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.456 /USR/SHARE/ZONEINFO/ETC/GMT [3611437] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.456 /USR/SHARE/ZONEINFO/ETC/GMT [3611519] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.457 /USR/SHARE/ZONEINFO/ETC/GMT [3611441] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.459 /USR/SHARE/ZONEINFO/ETC/GMT [3611497] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.459 /USR/SHARE/ZONEINFO/ETC/GMT [3611392] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.459 /USR/SHARE/ZONEINFO/ETC/GMT [3611393] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.460 /USR/SHARE/ZONEINFO/ETC/GMT [3611351] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.461 /USR/SHARE/ZONEINFO/ETC/GMT [3611439] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.462 /USR/SHARE/ZONEINFO/ETC/GMT [3611357] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.462 /USR/SHARE/ZONEINFO/ETC/GMT [3611319] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.462 /USR/SHARE/ZONEINFO/ETC/GMT [3610758] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.464 /USR/SHARE/ZONEINFO/ETC/GMT [3611331] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.465 /USR/SHARE/ZONEINFO/ETC/GMT [3610516] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.466 /USR/SHARE/ZONEINFO/ETC/GMT [3609359] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.468 /USR/SHARE/ZONEINFO/ETC/GMT [3610292] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.470 /USR/SHARE/ZONEINFO/ETC/GMT [3609370] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.472 /USR/SHARE/ZONEINFO/ETC/GMT [3609356] FATAL:  terminating connection due to unexpected postmaster exit
2025-02-14 20:11:00.475 /USR/SHARE/ZONEINFO/ETC/GMT [3609235] FATAL:  terminating connection due to unexpected postmaster exit

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...
============ 1 failed, 2 passed, 114 warnings, 116 errors in 23.65s ============
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.12 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/__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/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/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/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/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.12_sqlalchemy-i18n/build/sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n
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/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/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/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/expressions.py to expressions.cpython-312.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/manager.py to manager.cpython-312.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/translatable.py to translatable.cpython-312.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.12/dist-packages/sqlalchemy_i18n/utils.py to utils.cpython-312.pyc
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
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.13/dist-packages
creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build
creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/builders.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/comparators.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/exc.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/build/sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/sqlalchemy_i18n
creating /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_translation_mapping.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_translation_auto_creation.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_relationships.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_property_collision.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_joined_table_inheritance.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_joined_loading.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_join_expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_hybrid_property_exclusion.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_find_translations.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_fallback_translation.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_custom_base_class.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_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.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_current_translation_property.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_configuration.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_composite_primary_key.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_comparator.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/test_common_base_class.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/tests/__init__.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests
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/__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/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/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/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/expressions.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/manager.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/translatable.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n
copying /build/reproducible-path/sqlalchemy-i18n-1.1.0/.pybuild/cpython3_3.13_sqlalchemy-i18n/build/sqlalchemy_i18n/utils.py -> /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/build/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/build/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/build/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/build/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/build/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/build/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/build/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/build/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/tests/test_translation_mapping.py to test_translation_mapping.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_translation_auto_creation_with_non_nullables.py to test_translation_auto_creation_with_non_nullables.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_translation_auto_creation.py to test_translation_auto_creation.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_translatable.py to test_translatable.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_relationships.py to test_relationships.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_property_collision.py to test_property_collision.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_joined_table_inheritance.py to test_joined_table_inheritance.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_joined_loading.py to test_joined_loading.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_join_expressions.py to test_join_expressions.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_hybrid_property_exclusion.py to test_hybrid_property_exclusion.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_hybrid_property_as_dynamic_source_locale.py to test_hybrid_property_as_dynamic_source_locale.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_find_translations.py to test_find_translations.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_fallback_translation.py to test_fallback_translation.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_fallback_locale_without_class_default.py to test_fallback_locale_without_class_default.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_fallback_locale_as_callable.py to test_fallback_locale_as_callable.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_expressions.py to test_expressions.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_custom_base_class.py to test_custom_base_class.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_current_translation_property_with_locale.py to test_current_translation_property_with_locale.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_current_translation_property.py to test_current_translation_property.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_configuration.py to test_configuration.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_composite_primary_key.py to test_composite_primary_key.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_comparator.py to test_comparator.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/test_common_base_class.py to test_common_base_class.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/tests/__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/__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/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/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/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/expressions.py to expressions.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/manager.py to manager.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/translatable.py to translatable.cpython-313.pyc
byte-compiling /build/reproducible-path/sqlalchemy-i18n-1.1.0/debian/python3-sqlalchemy-i18n/usr/lib/python3.13/dist-packages/sqlalchemy_i18n/utils.py to utils.cpython-313.pyc
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
   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-3_all.deb'.
 dpkg-genbuildinfo --build=binary -O../sqlalchemy-i18n_1.1.0-3_arm64.buildinfo
 dpkg-genchanges --build=binary -O../sqlalchemy-i18n_1.1.0-3_arm64.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/3590962/tmp/hooks/B01_cleanup starting
I: user script /srv/workspace/pbuilder/3590962/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/3590962 and its subdirectories
I: Current time: Fri Feb 14 20:11:06 +14 2025
I: pbuilder-time-stamp: 1739513466