0s autopkgtest [11:17:13]: starting date and time: 2024-11-13 11:17:13+0000 0s autopkgtest [11:17:13]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [11:17:13]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.o1ydd1vd/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade textdistance --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-3.secgroup --name adt-plucky-arm64-textdistance-20241113-111713-juju-7f2275-prod-proposed-migration-environment-15-bb3a2571-cac1-4ac6-97d6-218b6ed15cb6 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 73s autopkgtest [11:18:26]: testbed dpkg architecture: arm64 73s autopkgtest [11:18:26]: testbed apt version: 2.9.8 73s autopkgtest [11:18:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 74s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 74s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 74s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 74s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 75s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 75s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 75s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 75s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 75s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 75s Fetched 1794 kB in 1s (1529 kB/s) 75s Reading package lists... 78s Reading package lists... 78s Building dependency tree... 78s Reading state information... 79s Calculating upgrade... 79s The following NEW packages will be installed: 79s python3.13-gdbm 79s The following packages will be upgraded: 79s libpython3-stdlib python3 python3-gdbm python3-minimal 79s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 79s Need to get 101 kB of archives. 79s After this operation, 141 kB of additional disk space will be used. 79s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 79s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 79s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 79s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 79s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 80s Fetched 101 kB in 0s (258 kB/s) 80s (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 ... 79924 files and directories currently installed.) 80s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 80s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 80s Setting up python3-minimal (3.12.7-1) ... 81s (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 ... 79924 files and directories currently installed.) 81s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 81s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 81s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 81s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 81s Selecting previously unselected package python3.13-gdbm. 81s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 81s Unpacking python3.13-gdbm (3.13.0-2) ... 81s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 81s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 81s Setting up python3.13-gdbm (3.13.0-2) ... 81s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 81s Setting up python3 (3.12.7-1) ... 81s Setting up python3-gdbm:arm64 (3.12.7-1) ... 81s Processing triggers for man-db (2.12.1-3) ... 82s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 84s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 84s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 84s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 85s Reading package lists... 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 86s Calculating upgrade... 86s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s autopkgtest [11:18:45]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 92s autopkgtest [11:18:45]: @@@@@@@@@@@@@@@@@@@@ apt-source textdistance 95s Get:1 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (dsc) [2362 B] 95s Get:2 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (tar) [46.6 kB] 95s Get:3 http://ftpmaster.internal/ubuntu plucky/universe textdistance 4.6.3-4 (diff) [4188 B] 96s gpgv: Signature made Mon Sep 9 19:25:22 2024 UTC 96s gpgv: using RSA key 7E1AC3FA27A649284C323EF6695C429316C07BFE 96s gpgv: issuer "jdg@debian.org" 96s gpgv: Can't check signature: No public key 96s dpkg-source: warning: cannot verify inline signature for ./textdistance_4.6.3-4.dsc: no acceptable signature found 96s autopkgtest [11:18:49]: testing package textdistance version 4.6.3-4 97s autopkgtest [11:18:50]: build not needed 99s autopkgtest [11:18:52]: test pybuild-autopkgtest: preparing testbed 104s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 106s The following additional packages will be installed: 106s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 106s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 106s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 106s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 106s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext intltool-debian 106s libarchive-zip-perl libasan8 libblas3 libcc1-0 libdebhelper-perl 106s libfile-stripnondeterminism-perl libgcc-14-dev libgfortran5 libgomp1 106s libhwasan0 libisl23 libitm1 liblapack3 liblsan0 libmpc3 106s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool libtsan2 106s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest python3-all 106s python3-dateutil python3-hypothesis python3-iniconfig python3-isort 106s python3-jellyfish python3-levenshtein python3-numpy python3-packaging 106s python3-pluggy python3-pylev python3-pytest python3-pyxdameraulevenshtein 106s python3-rapidfuzz python3-six python3-sortedcontainers python3-textdistance 106s python3.13 python3.13-minimal 106s Suggested packages: 106s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 106s cpp-14-doc dh-make flit python3-build python3-installer python3-wheel 106s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 106s gdb-aarch64-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 106s libstdc++-14-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 106s libmail-box-perl python-hypothesis-doc python-jellyfish-doc gfortran 106s python-numpy-doc python3-dev python-rapidfuzz-doc 106s python-sortedcontainers-doc python3.13-venv python3.13-doc binfmt-support 106s Recommended packages: 106s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl python3-click 106s The following NEW packages will be installed: 106s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 106s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper 106s debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 106s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 106s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext intltool-debian 106s libarchive-zip-perl libasan8 libblas3 libcc1-0 libdebhelper-perl 106s libfile-stripnondeterminism-perl libgcc-14-dev libgfortran5 libgomp1 106s libhwasan0 libisl23 libitm1 liblapack3 liblsan0 libmpc3 106s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool libtsan2 106s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest python3-all 106s python3-dateutil python3-hypothesis python3-iniconfig python3-isort 106s python3-jellyfish python3-levenshtein python3-numpy python3-packaging 106s python3-pluggy python3-pylev python3-pytest python3-pyxdameraulevenshtein 106s python3-rapidfuzz python3-six python3-sortedcontainers python3-textdistance 106s python3.13 python3.13-minimal 106s 0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 79.0 MB/79.0 MB of archives. 106s After this operation, 282 MB of additional disk space will be used. 106s Get:1 /tmp/autopkgtest.pyZvTA/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [860 B] 106s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 106s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 107s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 107s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 107s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 107s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 107s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 107s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 107s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 107s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 107s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 107s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 107s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 107s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 107s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 107s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 107s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 107s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 107s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 107s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 107s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 107s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 107s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 108s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 108s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 108s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 108s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 108s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 108s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 108s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 108s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 108s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 108s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 108s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-7build1 [166 kB] 108s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 108s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 108s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 108s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 108s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 108s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 108s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 108s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 108s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 108s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 108s Get:46 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20241024 [112 kB] 108s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-3build2 [152 kB] 108s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-8ubuntu1 [438 kB] 108s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-3build2 [2293 kB] 108s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 108s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 108s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 109s Get:53 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 109s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.16.0-7 [13.1 kB] 109s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dateutil all 2.9.0-2 [80.3 kB] 109s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-sortedcontainers all 2.4.0-2 [27.6 kB] 109s Get:57 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-hypothesis all 6.116.0-1 [326 kB] 109s Get:58 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 109s Get:59 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-isort all 5.13.2-2 [59.3 kB] 109s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-jellyfish arm64 1.1.0-1 [257 kB] 109s Get:61 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-rapidfuzz arm64 3.9.4+ds-1 [987 kB] 109s Get:62 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-levenshtein arm64 0.26.0-1 [114 kB] 109s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-11build1 [3654 kB] 109s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 109s Get:65 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 109s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pylev all 1.4.0-1 [6594 B] 109s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 109s Get:68 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyxdameraulevenshtein arm64 1.7.1-2build3 [24.4 kB] 109s Get:69 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-textdistance all 4.6.3-4 [37.0 kB] 109s Fetched 79.0 MB in 3s (26.3 MB/s) 109s Selecting previously unselected package libpython3.13-minimal:arm64. 109s (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 ... 79931 files and directories currently installed.) 109s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_arm64.deb ... 110s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 110s Selecting previously unselected package python3.13-minimal. 110s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_arm64.deb ... 110s Unpacking python3.13-minimal (3.13.0-2) ... 110s Selecting previously unselected package m4. 110s Preparing to unpack .../02-m4_1.4.19-4build1_arm64.deb ... 110s Unpacking m4 (1.4.19-4build1) ... 110s Selecting previously unselected package autoconf. 110s Preparing to unpack .../03-autoconf_2.72-3_all.deb ... 110s Unpacking autoconf (2.72-3) ... 110s Selecting previously unselected package autotools-dev. 110s Preparing to unpack .../04-autotools-dev_20220109.1_all.deb ... 110s Unpacking autotools-dev (20220109.1) ... 110s Selecting previously unselected package automake. 110s Preparing to unpack .../05-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 110s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 110s Selecting previously unselected package autopoint. 110s Preparing to unpack .../06-autopoint_0.22.5-2_all.deb ... 110s Unpacking autopoint (0.22.5-2) ... 110s Selecting previously unselected package libisl23:arm64. 110s Preparing to unpack .../07-libisl23_0.27-1_arm64.deb ... 110s Unpacking libisl23:arm64 (0.27-1) ... 110s Selecting previously unselected package libmpc3:arm64. 110s Preparing to unpack .../08-libmpc3_1.3.1-1build2_arm64.deb ... 110s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 110s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 110s Preparing to unpack .../09-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 110s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package cpp-14. 110s Preparing to unpack .../10-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 110s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package cpp-aarch64-linux-gnu. 110s Preparing to unpack .../11-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 110s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 110s Selecting previously unselected package cpp. 110s Preparing to unpack .../12-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 110s Unpacking cpp (4:14.1.0-2ubuntu1) ... 110s Selecting previously unselected package libcc1-0:arm64. 110s Preparing to unpack .../13-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 110s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package libgomp1:arm64. 110s Preparing to unpack .../14-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 110s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package libitm1:arm64. 111s Preparing to unpack .../15-libitm1_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package libasan8:arm64. 111s Preparing to unpack .../16-libasan8_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package liblsan0:arm64. 111s Preparing to unpack .../17-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package libtsan2:arm64. 111s Preparing to unpack .../18-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package libubsan1:arm64. 111s Preparing to unpack .../19-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package libhwasan0:arm64. 111s Preparing to unpack .../20-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package libgcc-14-dev:arm64. 111s Preparing to unpack .../21-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 111s Preparing to unpack .../22-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 111s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 112s Selecting previously unselected package gcc-14. 112s Preparing to unpack .../23-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 112s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 112s Selecting previously unselected package gcc-aarch64-linux-gnu. 112s Preparing to unpack .../24-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 112s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 112s Selecting previously unselected package gcc. 112s Preparing to unpack .../25-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 112s Unpacking gcc (4:14.1.0-2ubuntu1) ... 112s Selecting previously unselected package libstdc++-14-dev:arm64. 112s Preparing to unpack .../26-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 112s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 112s Selecting previously unselected package g++-14-aarch64-linux-gnu. 112s Preparing to unpack .../27-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 112s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 112s Selecting previously unselected package g++-14. 112s Preparing to unpack .../28-g++-14_14.2.0-8ubuntu1_arm64.deb ... 112s Unpacking g++-14 (14.2.0-8ubuntu1) ... 112s Selecting previously unselected package g++-aarch64-linux-gnu. 112s Preparing to unpack .../29-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 112s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 112s Selecting previously unselected package g++. 112s Preparing to unpack .../30-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 112s Unpacking g++ (4:14.1.0-2ubuntu1) ... 112s Selecting previously unselected package build-essential. 112s Preparing to unpack .../31-build-essential_12.10ubuntu1_arm64.deb ... 112s Unpacking build-essential (12.10ubuntu1) ... 112s Selecting previously unselected package libdebhelper-perl. 113s Preparing to unpack .../32-libdebhelper-perl_13.20ubuntu1_all.deb ... 113s Unpacking libdebhelper-perl (13.20ubuntu1) ... 113s Selecting previously unselected package libtool. 113s Preparing to unpack .../33-libtool_2.4.7-7build1_all.deb ... 113s Unpacking libtool (2.4.7-7build1) ... 113s Selecting previously unselected package dh-autoreconf. 113s Preparing to unpack .../34-dh-autoreconf_20_all.deb ... 113s Unpacking dh-autoreconf (20) ... 113s Selecting previously unselected package libarchive-zip-perl. 113s Preparing to unpack .../35-libarchive-zip-perl_1.68-1_all.deb ... 113s Unpacking libarchive-zip-perl (1.68-1) ... 113s Selecting previously unselected package libfile-stripnondeterminism-perl. 113s Preparing to unpack .../36-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 113s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 113s Selecting previously unselected package dh-strip-nondeterminism. 113s Preparing to unpack .../37-dh-strip-nondeterminism_1.14.0-1_all.deb ... 113s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 113s Selecting previously unselected package debugedit. 113s Preparing to unpack .../38-debugedit_1%3a5.1-1_arm64.deb ... 113s Unpacking debugedit (1:5.1-1) ... 113s Selecting previously unselected package dwz. 113s Preparing to unpack .../39-dwz_0.15-1build6_arm64.deb ... 113s Unpacking dwz (0.15-1build6) ... 113s Selecting previously unselected package gettext. 113s Preparing to unpack .../40-gettext_0.22.5-2_arm64.deb ... 113s Unpacking gettext (0.22.5-2) ... 113s Selecting previously unselected package intltool-debian. 113s Preparing to unpack .../41-intltool-debian_0.35.0+20060710.6_all.deb ... 113s Unpacking intltool-debian (0.35.0+20060710.6) ... 113s Selecting previously unselected package po-debconf. 113s Preparing to unpack .../42-po-debconf_1.0.21+nmu1_all.deb ... 113s Unpacking po-debconf (1.0.21+nmu1) ... 113s Selecting previously unselected package debhelper. 113s Preparing to unpack .../43-debhelper_13.20ubuntu1_all.deb ... 113s Unpacking debhelper (13.20ubuntu1) ... 113s Selecting previously unselected package dh-python. 113s Preparing to unpack .../44-dh-python_6.20241024_all.deb ... 113s Unpacking dh-python (6.20241024) ... 113s Selecting previously unselected package libblas3:arm64. 113s Preparing to unpack .../45-libblas3_3.12.0-3build2_arm64.deb ... 113s Unpacking libblas3:arm64 (3.12.0-3build2) ... 113s Selecting previously unselected package libgfortran5:arm64. 113s Preparing to unpack .../46-libgfortran5_14.2.0-8ubuntu1_arm64.deb ... 113s Unpacking libgfortran5:arm64 (14.2.0-8ubuntu1) ... 113s Selecting previously unselected package liblapack3:arm64. 113s Preparing to unpack .../47-liblapack3_3.12.0-3build2_arm64.deb ... 113s Unpacking liblapack3:arm64 (3.12.0-3build2) ... 113s Selecting previously unselected package libpython3.13-stdlib:arm64. 113s Preparing to unpack .../48-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 113s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 114s Selecting previously unselected package pybuild-plugin-autopkgtest. 114s Preparing to unpack .../49-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 114s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 114s Selecting previously unselected package python3.13. 114s Preparing to unpack .../50-python3.13_3.13.0-2_arm64.deb ... 114s Unpacking python3.13 (3.13.0-2) ... 114s Selecting previously unselected package python3-all. 114s Preparing to unpack .../51-python3-all_3.12.7-1_arm64.deb ... 114s Unpacking python3-all (3.12.7-1) ... 114s Selecting previously unselected package python3-six. 114s Preparing to unpack .../52-python3-six_1.16.0-7_all.deb ... 114s Unpacking python3-six (1.16.0-7) ... 114s Selecting previously unselected package python3-dateutil. 114s Preparing to unpack .../53-python3-dateutil_2.9.0-2_all.deb ... 114s Unpacking python3-dateutil (2.9.0-2) ... 114s Selecting previously unselected package python3-sortedcontainers. 114s Preparing to unpack .../54-python3-sortedcontainers_2.4.0-2_all.deb ... 114s Unpacking python3-sortedcontainers (2.4.0-2) ... 114s Selecting previously unselected package python3-hypothesis. 114s Preparing to unpack .../55-python3-hypothesis_6.116.0-1_all.deb ... 114s Unpacking python3-hypothesis (6.116.0-1) ... 114s Selecting previously unselected package python3-iniconfig. 114s Preparing to unpack .../56-python3-iniconfig_1.1.1-2_all.deb ... 114s Unpacking python3-iniconfig (1.1.1-2) ... 114s Selecting previously unselected package python3-isort. 114s Preparing to unpack .../57-python3-isort_5.13.2-2_all.deb ... 114s Unpacking python3-isort (5.13.2-2) ... 114s Selecting previously unselected package python3-jellyfish. 114s Preparing to unpack .../58-python3-jellyfish_1.1.0-1_arm64.deb ... 114s Unpacking python3-jellyfish (1.1.0-1) ... 114s Selecting previously unselected package python3-rapidfuzz. 114s Preparing to unpack .../59-python3-rapidfuzz_3.9.4+ds-1_arm64.deb ... 114s Unpacking python3-rapidfuzz (3.9.4+ds-1) ... 114s Selecting previously unselected package python3-levenshtein. 114s Preparing to unpack .../60-python3-levenshtein_0.26.0-1_arm64.deb ... 114s Unpacking python3-levenshtein (0.26.0-1) ... 114s Selecting previously unselected package python3-numpy. 114s Preparing to unpack .../61-python3-numpy_1%3a1.26.4+ds-11build1_arm64.deb ... 114s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 114s Selecting previously unselected package python3-packaging. 114s Preparing to unpack .../62-python3-packaging_24.1-1_all.deb ... 114s Unpacking python3-packaging (24.1-1) ... 114s Selecting previously unselected package python3-pluggy. 114s Preparing to unpack .../63-python3-pluggy_1.5.0-1_all.deb ... 114s Unpacking python3-pluggy (1.5.0-1) ... 114s Selecting previously unselected package python3-pylev. 114s Preparing to unpack .../64-python3-pylev_1.4.0-1_all.deb ... 114s Unpacking python3-pylev (1.4.0-1) ... 114s Selecting previously unselected package python3-pytest. 114s Preparing to unpack .../65-python3-pytest_8.3.3-1_all.deb ... 114s Unpacking python3-pytest (8.3.3-1) ... 114s Selecting previously unselected package python3-pyxdameraulevenshtein:arm64. 114s Preparing to unpack .../66-python3-pyxdameraulevenshtein_1.7.1-2build3_arm64.deb ... 114s Unpacking python3-pyxdameraulevenshtein:arm64 (1.7.1-2build3) ... 114s Selecting previously unselected package python3-textdistance. 114s Preparing to unpack .../67-python3-textdistance_4.6.3-4_all.deb ... 114s Unpacking python3-textdistance (4.6.3-4) ... 115s Selecting previously unselected package autopkgtest-satdep. 115s Preparing to unpack .../68-1-autopkgtest-satdep.deb ... 115s Unpacking autopkgtest-satdep (0) ... 115s Setting up dh-python (6.20241024) ... 115s Setting up python3-iniconfig (1.1.1-2) ... 115s Setting up python3-rapidfuzz (3.9.4+ds-1) ... 115s Setting up python3-jellyfish (1.1.0-1) ... 116s Setting up python3-pyxdameraulevenshtein:arm64 (1.7.1-2build3) ... 116s Setting up libarchive-zip-perl (1.68-1) ... 116s Setting up libdebhelper-perl (13.20ubuntu1) ... 116s Setting up python3-pylev (1.4.0-1) ... 116s Setting up m4 (1.4.19-4build1) ... 116s Setting up python3-sortedcontainers (2.4.0-2) ... 116s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 116s Setting up python3-six (1.16.0-7) ... 116s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 116s Setting up autotools-dev (20220109.1) ... 116s Setting up libblas3:arm64 (3.12.0-3build2) ... 116s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 116s Setting up python3-packaging (24.1-1) ... 117s Setting up libmpc3:arm64 (1.3.1-1build2) ... 117s Setting up autopoint (0.22.5-2) ... 117s Setting up libgfortran5:arm64 (14.2.0-8ubuntu1) ... 117s Setting up autoconf (2.72-3) ... 117s Setting up python3-isort (5.13.2-2) ... 117s Setting up python3-pluggy (1.5.0-1) ... 117s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 117s Setting up dwz (0.15-1build6) ... 117s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 117s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 117s Setting up debugedit (1:5.1-1) ... 117s Setting up python3.13-minimal (3.13.0-2) ... 118s Setting up python3-dateutil (2.9.0-2) ... 119s Setting up python3-levenshtein (0.26.0-1) ... 119s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 119s Setting up libisl23:arm64 (0.27-1) ... 119s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 119s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 119s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 119s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 119s Setting up python3-textdistance (4.6.3-4) ... 119s Setting up automake (1:1.16.5-1.3ubuntu1) ... 119s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 119s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 119s Setting up liblapack3:arm64 (3.12.0-3build2) ... 119s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 119s Setting up gettext (0.22.5-2) ... 119s Setting up python3.13 (3.13.0-2) ... 120s Setting up python3-pytest (8.3.3-1) ... 121s Setting up python3-hypothesis (6.116.0-1) ... 122s Setting up python3-all (3.12.7-1) ... 122s Setting up intltool-debian (0.35.0+20060710.6) ... 122s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 126s Setting up dh-strip-nondeterminism (1.14.0-1) ... 126s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 126s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 126s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 126s Setting up po-debconf (1.0.21+nmu1) ... 126s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Setting up cpp-14 (14.2.0-8ubuntu1) ... 126s Setting up cpp (4:14.1.0-2ubuntu1) ... 126s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 126s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 126s Setting up gcc-14 (14.2.0-8ubuntu1) ... 126s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Setting up g++-14 (14.2.0-8ubuntu1) ... 126s Setting up libtool (2.4.7-7build1) ... 126s Setting up gcc (4:14.1.0-2ubuntu1) ... 126s Setting up dh-autoreconf (20) ... 126s Setting up g++ (4:14.1.0-2ubuntu1) ... 126s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 126s Setting up build-essential (12.10ubuntu1) ... 126s Setting up debhelper (13.20ubuntu1) ... 126s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 126s Setting up autopkgtest-satdep (0) ... 126s Processing triggers for systemd (256.5-2ubuntu4) ... 126s Processing triggers for man-db (2.12.1-3) ... 127s Processing triggers for install-info (7.1.1-1) ... 127s Processing triggers for libc-bin (2.40-1ubuntu3) ... 131s (Reading database ... 84422 files and directories currently installed.) 131s Removing autopkgtest-satdep (0) ... 132s autopkgtest [11:19:25]: test pybuild-autopkgtest: pybuild-autopkgtest 132s autopkgtest [11:19:25]: test pybuild-autopkgtest: [----------------------- 132s pybuild-autopkgtest 133s I: pybuild base:311: cd /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build; python3.13 -m pytest tests 134s ============================= test session starts ============================== 134s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 134s rootdir: /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build 134s configfile: setup.cfg 134s plugins: typeguard-4.4.1, hypothesis-6.116.0 134s collected 430 items 134s 168s tests/test_common.py .....................FF......................FF.... [ 11%] 222s ..................FF......................FF......................FF.... [ 28%] 222s ..................FF......................F.. [ 39%] 222s tests/test_compression/test_arith_ncd.py .... [ 40%] 222s tests/test_compression/test_bwtrle_ncd.py .. [ 40%] 222s tests/test_compression/test_bz2_ncd.py .. [ 40%] 228s tests/test_compression/test_common.py ............................ [ 47%] 229s tests/test_compression/test_entropy_ncd.py ........ [ 49%] 229s tests/test_compression/test_sqrt_ncd.py ....... [ 50%] 230s tests/test_edit/test_damerau_levenshtein.py ............................ [ 57%] 230s .... [ 58%] 230s tests/test_edit/test_editex.py ............ [ 61%] 230s tests/test_edit/test_gotoh.py FFFFF [ 62%] 230s tests/test_edit/test_hamming.py ...... [ 63%] 230s tests/test_edit/test_jaro.py ........ [ 65%] 230s tests/test_edit/test_jaro_winkler.py ....... [ 67%] 230s tests/test_edit/test_levenshtein.py ...... [ 68%] 230s tests/test_edit/test_matrix.py .......... [ 70%] 230s tests/test_edit/test_mlipns.py ........... [ 73%] 230s tests/test_edit/test_needleman_wunsch.py FFFFF [ 74%] 230s tests/test_edit/test_smith_waterman.py FFFFF [ 75%] 230s tests/test_edit/test_strcmp95.py .... [ 76%] 320s tests/test_external.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 83%] 320s tests/test_phonetic/test_editex.py .............................. [ 90%] 320s tests/test_sequence/test_lcsseq.py ........... [ 93%] 320s tests/test_sequence/test_lcsstr.py .......... [ 95%] 320s tests/test_token/test_bag.py .... [ 96%] 320s tests/test_token/test_cosine.py .. [ 96%] 321s tests/test_token/test_jaccard.py ..... [ 98%] 321s tests/test_token/test_monge_elkan.py .. [ 98%] 321s tests/test_token/test_overlap.py ... [ 99%] 321s tests/test_token/test_sorensen.py ... [100%] 321s 321s =================================== FAILURES =================================== 321s _______________________ test_normalization_range[alg21] ________________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.given( 321s left=hypothesis.strategies.text(), 321s right=hypothesis.strategies.text(), 321s ) 321s 321s tests/test_common.py:50: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:55: in test_normalization_range 321s assert 0 <= alg.normalized_distance(left, right) <= 1 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 321s return (self.distance(*sequences) - minimum) / (maximum - minimum) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 321s return -1 * self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s E Falsifying example: test_normalization_range( 321s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E left='', # or any other generated value 321s E right='0', 321s E ) 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s _______________________ test_normalization_range[alg22] ________________________ 321s 321s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.given( 321s left=hypothesis.strategies.text(), 321s right=hypothesis.strategies.text(), 321s ) 321s 321s tests/test_common.py:50: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:55: in test_normalization_range 321s assert 0 <= alg.normalized_distance(left, right) <= 1 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 321s return self.distance(*sequences) / maximum 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 321s return self.maximum(*sequences) - self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '0', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s E Falsifying example: test_normalization_range( 321s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179 321s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s _______________________ test_normalization_by_one[alg21] _______________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.given( 321s left=hypothesis.strategies.text(), 321s right=hypothesis.strategies.text(), 321s ) 321s 321s tests/test_common.py:60: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:65: in test_normalization_by_one 321s d = alg.normalized_distance(left, right) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 321s return (self.distance(*sequences) - minimum) / (maximum - minimum) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 321s return -1 * self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s E Falsifying example: test_normalization_by_one( 321s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E left='', # or any other generated value 321s E right='0', 321s E ) 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s _______________________ test_normalization_by_one[alg22] _______________________ 321s 321s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.given( 321s left=hypothesis.strategies.text(), 321s right=hypothesis.strategies.text(), 321s ) 321s 321s tests/test_common.py:60: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:65: in test_normalization_by_one 321s d = alg.normalized_distance(left, right) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 321s return self.distance(*sequences) / maximum 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 321s return self.maximum(*sequences) - self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '0', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s E Falsifying example: test_normalization_by_one( 321s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179 321s E /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s ________________________ test_normalization_same[alg21] ________________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.given(text=hypothesis.strategies.text()) 321s 321s tests/test_common.py:71: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:73: in test_normalization_same 321s assert alg.normalized_distance(text, text) == 0 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 321s return (self.distance(*sequences) - minimum) / (maximum - minimum) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 321s return -1 * self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '0', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s E Falsifying example: test_normalization_same( 321s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E text='0', 321s E ) 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ________________________ test_normalization_same[alg22] ________________________ 321s 321s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.given(text=hypothesis.strategies.text()) 321s 321s tests/test_common.py:71: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:75: in test_normalization_same 321s assert alg.distance(text, text) == 0 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 321s return self.maximum(*sequences) - self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '', s2 = '' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s E Falsifying example: test_normalization_same( 321s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E text='', # or any other generated value 321s E ) 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s _____________________ test_normalization_monotonic[alg21] ______________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.settings(deadline=None) 321s 321s tests/test_common.py:80: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:86: in test_normalization_monotonic 321s nd = alg.normalized_distance(left, right) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:467: in normalized_distance 321s return (self.distance(*sequences) - minimum) / (maximum - minimum) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 321s return -1 * self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '0', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s E Falsifying example: test_normalization_monotonic( 321s E # The test always failed when commented parts were varied together. 321s E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s _____________________ test_normalization_monotonic[alg22] ______________________ 321s 321s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s > @hypothesis.settings(deadline=None) 321s 321s tests/test_common.py:80: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s tests/test_common.py:86: in test_normalization_monotonic 321s nd = alg.normalized_distance(left, right) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:50: in normalized_distance 321s return self.distance(*sequences) / maximum 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 321s return self.maximum(*sequences) - self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '0', s2 = '0' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s E Falsifying example: test_normalization_monotonic( 321s E # The test always failed when commented parts were varied together. 321s E alg=SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s _________________________ test_no_common_chars[alg21] __________________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s def test_no_common_chars(alg): 321s if alg is textdistance.editex: 321s return 321s > assert alg.similarity('spam', 'qwer') == 0 321s 321s tests/test_common.py:97: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = 'spam', s2 = 'qwer' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s _________________________ test_no_common_chars[alg22] __________________________ 321s 321s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s def test_no_common_chars(alg): 321s if alg is textdistance.editex: 321s return 321s > assert alg.similarity('spam', 'qwer') == 0 321s 321s tests/test_common.py:97: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = 'spam', s2 = 'qwer' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s ______________________________ test_empty[alg21] _______________________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s def test_empty(alg): 321s > assert alg.distance('', '') == 0 321s 321s tests/test_common.py:102: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 321s return -1 * self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '', s2 = '' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ______________________________ test_empty[alg22] _______________________________ 321s 321s alg = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s def test_empty(alg): 321s > assert alg.distance('', '') == 0 321s 321s tests/test_common.py:102: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:176: in distance 321s return self.maximum(*sequences) - self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '', s2 = '' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s _________________________ test_unequal_distance[alg21] _________________________ 321s 321s alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s 321s @pytest.mark.parametrize('alg', ALGS) 321s def test_unequal_distance(alg): 321s if alg.maximum('', 'qwertyui'): 321s > assert alg.distance('', 'qwertyui') > 0 321s 321s tests/test_common.py:108: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:458: in distance 321s return -1 * self.similarity(*sequences) 321s /usr/lib/python3/dist-packages/textdistance/algorithms/base.py:179: in similarity 321s return self(*sequences) 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = '', s2 = 'qwertyui' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 321s 321s left = 'GATTACA', right = 'GCATGCU', expected = 0 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('GATTACA', 'GCATGCU', 0), 321s ]) 321s def test_distance_ident(left, right, expected): 321s > actual = ALG(gap_open=1, gap_ext=1, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_gotoh.py:35: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 1, 'sim_func': , 'external': True}) 321s s1 = 'GATTACA', s2 = 'GCATGCU' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Gotoh measure') 321s E ImportError: Please, install numpy for Gotoh measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 321s ______________ test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] ______________ 321s 321s left = 'GATTACA', right = 'GCATGCU', expected = 0 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('GATTACA', 'GCATGCU', 0), 321s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 321s ('AGACTAGTTAC', 'CGAGACGT', 1), 321s ]) 321s def test_distance_ident_with_gap_05(left, right, expected): 321s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_gotoh.py:45: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 321s s1 = 'GATTACA', s2 = 'GCATGCU' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Gotoh measure') 321s E ImportError: Please, install numpy for Gotoh measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 321s __________ test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] __________ 321s 321s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = 1.5 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('GATTACA', 'GCATGCU', 0), 321s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 321s ('AGACTAGTTAC', 'CGAGACGT', 1), 321s ]) 321s def test_distance_ident_with_gap_05(left, right, expected): 321s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_gotoh.py:45: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Gotoh measure') 321s E ImportError: Please, install numpy for Gotoh measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 321s ___________ test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] ____________ 321s 321s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 1 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('GATTACA', 'GCATGCU', 0), 321s ('AGACTAGTTAC', 'TGACGSTGC', 1.5), 321s ('AGACTAGTTAC', 'CGAGACGT', 1), 321s ]) 321s def test_distance_ident_with_gap_05(left, right, expected): 321s > actual = ALG(gap_open=1, gap_ext=.5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_gotoh.py:45: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = Gotoh({'qval': 1, 'gap_open': 1, 'gap_ext': 0.5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Gotoh measure') 321s E ImportError: Please, install numpy for Gotoh measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 321s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] ___________ 321s 321s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = -15 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('AGACTAGTTAC', 'CGAGACGT', -15), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_open=5, gap_ext=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_gotoh.py:53: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = Gotoh({'qval': 1, 'gap_open': 5, 'gap_ext': 5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Gotoh measure') 321s E ImportError: Please, install numpy for Gotoh measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:594: ImportError 321s ________________ test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] _________________ 321s 321s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 16 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('AGACTAGTTAC', 'CGAGACGT', 16), 321s ]) 321s def test_distance_matrix(left, right, expected): 321s sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True) 321s > actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right) 321s 321s tests/test_edit/test_needleman_wunsch.py:29: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': Matrix({'mat': {('A', 'A'): 10, ('G', 'G'): 7, ('C', 'C'): 9, (... 'C'): -5, ('G', 'T'): -3, ('C', 'T'): 0}, 'mismatch_cost': 0, 'match_cost': 1, 'symmetric': True}), 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 321s 321s left = 'GATTACA', right = 'GCATGCU', expected = 0 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('GATTACA', 'GCATGCU', 0), 321s ]) 321s def test_distance_ident(left, right, expected): 321s > actual = ALG(sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_needleman_wunsch.py:44: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = 'GATTACA', s2 = 'GCATGCU' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ____________ test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] ____________ 321s 321s left = 'CGATATCAG', right = 'TGACGSTGC', expected = -5 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('CGATATCAG', 'TGACGSTGC', -5), 321s ('AGACTAGTTAC', 'TGACGSTGC', -7), 321s ('AGACTAGTTAC', 'CGAGACGT', -15), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_needleman_wunsch.py:54: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 321s s1 = 'CGATATCAG', s2 = 'TGACGSTGC' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] ___________ 321s 321s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = -7 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('CGATATCAG', 'TGACGSTGC', -5), 321s ('AGACTAGTTAC', 'TGACGSTGC', -7), 321s ('AGACTAGTTAC', 'CGAGACGT', -15), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_needleman_wunsch.py:54: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] ___________ 321s 321s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = -15 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('CGATATCAG', 'TGACGSTGC', -5), 321s ('AGACTAGTTAC', 'TGACGSTGC', -7), 321s ('AGACTAGTTAC', 'CGAGACGT', -15), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_needleman_wunsch.py:54: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = NeedlemanWunsch({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Needleman-Wunsch measure') 321s E ImportError: Please, install numpy for Needleman-Wunsch measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:480: ImportError 321s ________________ test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] _________________ 321s 321s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 26 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('AGACTAGTTAC', 'CGAGACGT', 26), 321s ]) 321s def test_distance_matrix(left, right, expected): 321s sim_matrix = textdistance.Matrix(NW_MATRIX, symmetric=True) 321s > actual = ALG(gap_cost=5, sim_func=sim_matrix)(left, right) 321s 321s tests/test_edit/test_smith_waterman.py:29: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': Matrix({'mat': {('A', 'A'): 10, ('G', 'G'): 7, ('C', 'C'): 9, ('T... 'C'): -5, ('G', 'T'): -3, ('C', 'T'): 0}, 'mismatch_cost': 0, 'match_cost': 1, 'symmetric': True}), 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s ____________________ test_distance_ident[GATTACA-GCATGCU-0] ____________________ 321s 321s left = 'GATTACA', right = 'GCATGCU', expected = 0 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('GATTACA', 'GCATGCU', 0), 321s ]) 321s def test_distance_ident(left, right, expected): 321s > actual = ALG(sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_smith_waterman.py:44: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) 321s s1 = 'GATTACA', s2 = 'GCATGCU' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s ____________ test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] _____________ 321s 321s left = 'CGATATCAG', right = 'TGACGSTGC', expected = 0 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('CGATATCAG', 'TGACGSTGC', 0), 321s ('AGACTAGTTAC', 'TGACGSTGC', 1), 321s ('AGACTAGTTAC', 'CGAGACGT', 0), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_smith_waterman.py:54: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 321s s1 = 'CGATATCAG', s2 = 'TGACGSTGC' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s ___________ test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] ____________ 321s 321s left = 'AGACTAGTTAC', right = 'TGACGSTGC', expected = 1 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('CGATATCAG', 'TGACGSTGC', 0), 321s ('AGACTAGTTAC', 'TGACGSTGC', 1), 321s ('AGACTAGTTAC', 'CGAGACGT', 0), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_smith_waterman.py:54: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'TGACGSTGC' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s ____________ test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] ____________ 321s 321s left = 'AGACTAGTTAC', right = 'CGAGACGT', expected = 0 321s 321s @pytest.mark.parametrize('left, right, expected', [ 321s ('CGATATCAG', 'TGACGSTGC', 0), 321s ('AGACTAGTTAC', 'TGACGSTGC', 1), 321s ('AGACTAGTTAC', 'CGAGACGT', 0), 321s ]) 321s def test_distance_ident_with_gap_5(left, right, expected): 321s > actual = ALG(gap_cost=5, sim_func=sim_ident)(left, right) 321s 321s tests/test_edit/test_smith_waterman.py:54: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s self = SmithWaterman({'qval': 1, 'gap_cost': 5, 'sim_func': , 'external': True}) 321s s1 = 'AGACTAGTTAC', s2 = 'CGAGACGT' 321s 321s def __call__(self, s1: Sequence[T], s2: Sequence[T]) -> float: 321s if not numpy: 321s > raise ImportError('Please, install numpy for Smith-Waterman measure') 321s E ImportError: Please, install numpy for Smith-Waterman measure 321s 321s /usr/lib/python3/dist-packages/textdistance/algorithms/edit_based.py:537: ImportError 321s _______________________ test_compare[DamerauLevenshtein] _______________________ 321s 321s alg = 'DamerauLevenshtein' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:21: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'DamerauLevenshtein' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.settings(deadline=None) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s def test_compare(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 321s E Falsifying example: test_compare( 321s E # The test always failed when commented parts were varied together. 321s E alg='DamerauLevenshtein', 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:39: RuntimeError 321s ____________________________ test_compare[Hamming] _____________________________ 321s 321s alg = 'Hamming' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:21: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Hamming' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.settings(deadline=None) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s def test_compare(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import Levenshtein.hamming 321s E Falsifying example: test_compare( 321s E # The test always failed when commented parts were varied together. 321s E alg='Hamming', 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:39: RuntimeError 321s ______________________________ test_compare[Jaro] ______________________________ 321s 321s alg = 'Jaro' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:21: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Jaro' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.settings(deadline=None) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s def test_compare(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_similarity 321s E Falsifying example: test_compare( 321s E alg='Jaro', 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:39 321s 321s tests/test_external.py:39: RuntimeError 321s __________________________ test_compare[JaroWinkler] ___________________________ 321s 321s alg = 'JaroWinkler' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:21: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'JaroWinkler' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.settings(deadline=None) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s def test_compare(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 321s E Falsifying example: test_compare( 321s E alg='JaroWinkler', 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:39 321s 321s tests/test_external.py:39: RuntimeError 321s __________________________ test_compare[Levenshtein] ___________________________ 321s 321s alg = 'Levenshtein' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:21: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Levenshtein' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.settings(deadline=None) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s def test_compare(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.levenshtein_distance 321s E Falsifying example: test_compare( 321s E # The test always failed when commented parts were varied together. 321s E alg='Levenshtein', 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:39: RuntimeError 321s ______________________ test_qval[None-DamerauLevenshtein] ______________________ 321s 321s alg = 'DamerauLevenshtein', qval = None 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = None 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='DamerauLevenshtein', 321s E qval=None, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[None-Hamming] ____________________________ 321s 321s alg = 'Hamming', qval = None 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Hamming', qval = None 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import Levenshtein.hamming 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Hamming', 321s E qval=None, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _____________________________ test_qval[None-Jaro] _____________________________ 321s 321s alg = 'Jaro', qval = None 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Jaro', qval = None 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_similarity 321s E Falsifying example: test_qval( 321s E alg='Jaro', 321s E qval=None, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s _________________________ test_qval[None-JaroWinkler] __________________________ 321s 321s alg = 'JaroWinkler', qval = None 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'JaroWinkler', qval = None 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 321s E Falsifying example: test_qval( 321s E alg='JaroWinkler', 321s E qval=None, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s _________________________ test_qval[None-Levenshtein] __________________________ 321s 321s alg = 'Levenshtein', qval = None 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Levenshtein', qval = None 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Levenshtein', 321s E qval=None, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _______________________ test_qval[1-DamerauLevenshtein] ________________________ 321s 321s alg = 'DamerauLevenshtein', qval = 1 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 1 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='DamerauLevenshtein', 321s E qval=1, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _____________________________ test_qval[1-Hamming] _____________________________ 321s 321s alg = 'Hamming', qval = 1 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Hamming', qval = 1 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import Levenshtein.hamming 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Hamming', 321s E qval=1, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s ______________________________ test_qval[1-Jaro] _______________________________ 321s 321s alg = 'Jaro', qval = 1 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Jaro', qval = 1 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_similarity 321s E Falsifying example: test_qval( 321s E alg='Jaro', 321s E qval=1, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[1-JaroWinkler] ___________________________ 321s 321s alg = 'JaroWinkler', qval = 1 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'JaroWinkler', qval = 1 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 321s E Falsifying example: test_qval( 321s E alg='JaroWinkler', 321s E qval=1, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[1-Levenshtein] ___________________________ 321s 321s alg = 'Levenshtein', qval = 1 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Levenshtein', qval = 1 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Levenshtein', 321s E qval=1, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _______________________ test_qval[2-DamerauLevenshtein] ________________________ 321s 321s alg = 'DamerauLevenshtein', qval = 2 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 2 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='DamerauLevenshtein', 321s E qval=2, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _____________________________ test_qval[2-Hamming] _____________________________ 321s 321s alg = 'Hamming', qval = 2 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Hamming', qval = 2 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import Levenshtein.hamming 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Hamming', 321s E qval=2, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s ______________________________ test_qval[2-Jaro] _______________________________ 321s 321s alg = 'Jaro', qval = 2 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Jaro', qval = 2 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_similarity 321s E Falsifying example: test_qval( 321s E alg='Jaro', 321s E qval=2, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[2-JaroWinkler] ___________________________ 321s 321s alg = 'JaroWinkler', qval = 2 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'JaroWinkler', qval = 2 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 321s E Falsifying example: test_qval( 321s E alg='JaroWinkler', 321s E qval=2, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[2-Levenshtein] ___________________________ 321s 321s alg = 'Levenshtein', qval = 2 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Levenshtein', qval = 2 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Levenshtein', 321s E qval=2, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _______________________ test_qval[3-DamerauLevenshtein] ________________________ 321s 321s alg = 'DamerauLevenshtein', qval = 3 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'DamerauLevenshtein', qval = 3 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='DamerauLevenshtein', 321s E qval=3, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s _____________________________ test_qval[3-Hamming] _____________________________ 321s 321s alg = 'Hamming', qval = 3 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Hamming', qval = 3 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import Levenshtein.hamming 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Hamming', 321s E qval=3, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s ______________________________ test_qval[3-Jaro] _______________________________ 321s 321s alg = 'Jaro', qval = 3 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Jaro', qval = 3 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_similarity 321s E Falsifying example: test_qval( 321s E alg='Jaro', 321s E qval=3, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[3-JaroWinkler] ___________________________ 321s 321s alg = 'JaroWinkler', qval = 3 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'JaroWinkler', qval = 3 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 321s E Falsifying example: test_qval( 321s E alg='JaroWinkler', 321s E qval=3, 321s E left='0', 321s E right='0', 321s E ) 321s E Explanation: 321s E These lines were always and only run by failing examples: 321s E /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build/tests/test_external.py:69 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________________ test_qval[3-Levenshtein] ___________________________ 321s 321s alg = 'Levenshtein', qval = 3 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:51: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = '0', right = '0', alg = 'Levenshtein', qval = 3 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.text(min_size=1), 321s right=hypothesis.strategies.text(min_size=1), 321s ) 321s @pytest.mark.parametrize('qval', (None, 1, 2, 3)) 321s def test_qval(left: str, right: str, alg: str, qval: int | None) -> None: 321s for lib in libraries.get_libs(alg): 321s 321s if lib.module_name == 'jellyfish': 321s ascii = set(string.printable) 321s if (set(left) | set(right)) - ascii: 321s continue 321s 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.levenshtein_distance 321s E Falsifying example: test_qval( 321s E # The test always failed when commented parts were varied together. 321s E alg='Levenshtein', 321s E qval=3, 321s E left='0', # or any other generated value 321s E right='0', # or any other generated value 321s E ) 321s 321s tests/test_external.py:69: RuntimeError 321s ___________________ test_list_of_numbers[DamerauLevenshtein] ___________________ 321s 321s alg = 'DamerauLevenshtein' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:91: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = [], right = [], alg = 'DamerauLevenshtein' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s ) 321s def test_list_of_numbers(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import pyxdameraulevenshtein.damerau_levenshtein_distance 321s E Falsifying example: test_list_of_numbers( 321s E # The test always failed when commented parts were varied together. 321s E alg='DamerauLevenshtein', 321s E left=[], # or any other generated value 321s E right=[], # or any other generated value 321s E ) 321s 321s tests/test_external.py:102: RuntimeError 321s ________________________ test_list_of_numbers[Hamming] _________________________ 321s 321s alg = 'Hamming' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:91: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = [], right = [], alg = 'Hamming' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s ) 321s def test_list_of_numbers(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import Levenshtein.hamming 321s E Falsifying example: test_list_of_numbers( 321s E # The test always failed when commented parts were varied together. 321s E alg='Hamming', 321s E left=[], # or any other generated value 321s E right=[], # or any other generated value 321s E ) 321s 321s tests/test_external.py:102: RuntimeError 321s __________________________ test_list_of_numbers[Jaro] __________________________ 321s 321s alg = 'Jaro' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:91: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = [], right = [], alg = 'Jaro' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s ) 321s def test_list_of_numbers(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_similarity 321s E Falsifying example: test_list_of_numbers( 321s E # The test always failed when commented parts were varied together. 321s E alg='Jaro', 321s E left=[], # or any other generated value 321s E right=[], # or any other generated value 321s E ) 321s 321s tests/test_external.py:102: RuntimeError 321s ______________________ test_list_of_numbers[JaroWinkler] _______________________ 321s 321s alg = 'JaroWinkler' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:91: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = [], right = [], alg = 'JaroWinkler' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s ) 321s def test_list_of_numbers(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.jaro_winkler_similarity 321s E Falsifying example: test_list_of_numbers( 321s E # The test always failed when commented parts were varied together. 321s E alg='JaroWinkler', 321s E left=[], # or any other generated value 321s E right=[], # or any other generated value 321s E ) 321s 321s tests/test_external.py:102: RuntimeError 321s ______________________ test_list_of_numbers[Levenshtein] _______________________ 321s 321s alg = 'Levenshtein' 321s 321s @pytest.mark.external 321s > @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s 321s tests/test_external.py:91: 321s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321s 321s left = [], right = [], alg = 'Levenshtein' 321s 321s @pytest.mark.external 321s @pytest.mark.parametrize('alg', libraries.get_algorithms()) 321s @hypothesis.given( 321s left=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s right=hypothesis.strategies.lists(hypothesis.strategies.integers()), 321s ) 321s def test_list_of_numbers(left, right, alg): 321s for lib in libraries.get_libs(alg): 321s conditions = lib.conditions or {} 321s internal_func = getattr(textdistance, alg)(external=False, **conditions) 321s external_func = lib.get_function() 321s if external_func is None: 321s > raise RuntimeError('cannot import {}'.format(str(lib))) 321s E RuntimeError: cannot import jellyfish.levenshtein_distance 321s E Falsifying example: test_list_of_numbers( 321s E # The test always failed when commented parts were varied together. 321s E alg='Levenshtein', 321s E left=[], # or any other generated value 321s E right=[], # or any other generated value 321s E ) 321s 321s tests/test_external.py:102: RuntimeError 321s =========================== short test summary info ============================ 321s FAILED tests/test_common.py::test_normalization_range[alg21] - ImportError: P... 321s FAILED tests/test_common.py::test_normalization_range[alg22] - ImportError: P... 321s FAILED tests/test_common.py::test_normalization_by_one[alg21] - ImportError: ... 321s FAILED tests/test_common.py::test_normalization_by_one[alg22] - ImportError: ... 321s FAILED tests/test_common.py::test_normalization_same[alg21] - ImportError: Pl... 321s FAILED tests/test_common.py::test_normalization_same[alg22] - ImportError: Pl... 321s FAILED tests/test_common.py::test_normalization_monotonic[alg21] - ImportErro... 321s FAILED tests/test_common.py::test_normalization_monotonic[alg22] - ImportErro... 321s FAILED tests/test_common.py::test_no_common_chars[alg21] - ImportError: Pleas... 321s FAILED tests/test_common.py::test_no_common_chars[alg22] - ImportError: Pleas... 321s FAILED tests/test_common.py::test_empty[alg21] - ImportError: Please, install... 321s FAILED tests/test_common.py::test_empty[alg22] - ImportError: Please, install... 321s FAILED tests/test_common.py::test_unequal_distance[alg21] - ImportError: Plea... 321s FAILED tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] 321s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] 321s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] 321s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] 321s FAILED tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] 321s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] 321s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident[GATTACA-GCATGCU-0] 321s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] 321s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] 321s FAILED tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] 321s FAILED tests/test_edit/test_smith_waterman.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] 321s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident[GATTACA-GCATGCU-0] 321s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] 321s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] 321s FAILED tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] 321s FAILED tests/test_external.py::test_compare[DamerauLevenshtein] - RuntimeErro... 321s FAILED tests/test_external.py::test_compare[Hamming] - RuntimeError: cannot i... 321s FAILED tests/test_external.py::test_compare[Jaro] - RuntimeError: cannot impo... 321s FAILED tests/test_external.py::test_compare[JaroWinkler] - RuntimeError: cann... 321s FAILED tests/test_external.py::test_compare[Levenshtein] - RuntimeError: cann... 321s FAILED tests/test_external.py::test_qval[None-DamerauLevenshtein] - RuntimeEr... 321s FAILED tests/test_external.py::test_qval[None-Hamming] - RuntimeError: cannot... 321s FAILED tests/test_external.py::test_qval[None-Jaro] - RuntimeError: cannot im... 321s FAILED tests/test_external.py::test_qval[None-JaroWinkler] - RuntimeError: ca... 321s FAILED tests/test_external.py::test_qval[None-Levenshtein] - RuntimeError: ca... 321s FAILED tests/test_external.py::test_qval[1-DamerauLevenshtein] - RuntimeError... 321s FAILED tests/test_external.py::test_qval[1-Hamming] - RuntimeError: cannot im... 321s FAILED tests/test_external.py::test_qval[1-Jaro] - RuntimeError: cannot impor... 321s FAILED tests/test_external.py::test_qval[1-JaroWinkler] - RuntimeError: canno... 321s FAILED tests/test_external.py::test_qval[1-Levenshtein] - RuntimeError: canno... 321s FAILED tests/test_external.py::test_qval[2-DamerauLevenshtein] - RuntimeError... 321s FAILED tests/test_external.py::test_qval[2-Hamming] - RuntimeError: cannot im... 321s FAILED tests/test_external.py::test_qval[2-Jaro] - RuntimeError: cannot impor... 321s FAILED tests/test_external.py::test_qval[2-JaroWinkler] - RuntimeError: canno... 321s FAILED tests/test_external.py::test_qval[2-Levenshtein] - RuntimeError: canno... 321s FAILED tests/test_external.py::test_qval[3-DamerauLevenshtein] - RuntimeError... 321s FAILED tests/test_external.py::test_qval[3-Hamming] - RuntimeError: cannot im... 321s FAILED tests/test_external.py::test_qval[3-Jaro] - RuntimeError: cannot impor... 321s FAILED tests/test_external.py::test_qval[3-JaroWinkler] - RuntimeError: canno... 321s FAILED tests/test_external.py::test_qval[3-Levenshtein] - RuntimeError: canno... 321s FAILED tests/test_external.py::test_list_of_numbers[DamerauLevenshtein] - Run... 321s FAILED tests/test_external.py::test_list_of_numbers[Hamming] - RuntimeError: ... 321s FAILED tests/test_external.py::test_list_of_numbers[Jaro] - RuntimeError: can... 321s FAILED tests/test_external.py::test_list_of_numbers[JaroWinkler] - RuntimeErr... 321s FAILED tests/test_external.py::test_list_of_numbers[Levenshtein] - RuntimeErr... 321s ================== 58 failed, 372 passed in 188.02s (0:03:08) ================== 322s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build; python3.13 -m pytest tests 322s I: pybuild base:311: cd /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build; python3.12 -m pytest tests 323s ============================= test session starts ============================== 323s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 323s rootdir: /tmp/autopkgtest.pyZvTA/autopkgtest_tmp/build 323s configfile: setup.cfg 323s plugins: typeguard-4.4.1, hypothesis-6.116.0 323s collected 430 items 323s 335s tests/test_common.py ................................................... [ 11%] 339s ........................................................................ [ 28%] 339s ............................................. [ 39%] 339s tests/test_compression/test_arith_ncd.py .... [ 40%] 339s tests/test_compression/test_bwtrle_ncd.py .. [ 40%] 339s tests/test_compression/test_bz2_ncd.py .. [ 40%] 344s tests/test_compression/test_common.py ............................ [ 47%] 344s tests/test_compression/test_entropy_ncd.py ........ [ 49%] 345s tests/test_compression/test_sqrt_ncd.py ....... [ 50%] 345s tests/test_edit/test_damerau_levenshtein.py ............................ [ 57%] 345s .... [ 58%] 345s tests/test_edit/test_editex.py ............ [ 61%] 345s tests/test_edit/test_gotoh.py ..... [ 62%] 345s tests/test_edit/test_hamming.py ...... [ 63%] 345s tests/test_edit/test_jaro.py ........ [ 65%] 345s tests/test_edit/test_jaro_winkler.py ....... [ 67%] 345s tests/test_edit/test_levenshtein.py ...... [ 68%] 345s tests/test_edit/test_matrix.py .......... [ 70%] 345s tests/test_edit/test_mlipns.py ........... [ 73%] 345s tests/test_edit/test_needleman_wunsch.py ..... [ 74%] 345s tests/test_edit/test_smith_waterman.py ..... [ 75%] 345s tests/test_edit/test_strcmp95.py .... [ 76%] 351s tests/test_external.py .............................. [ 83%] 351s tests/test_phonetic/test_editex.py .............................. [ 90%] 351s tests/test_sequence/test_lcsseq.py ........... [ 93%] 351s tests/test_sequence/test_lcsstr.py .......... [ 95%] 351s tests/test_token/test_bag.py .... [ 96%] 351s tests/test_token/test_cosine.py .. [ 96%] 351s tests/test_token/test_jaccard.py ..... [ 98%] 351s tests/test_token/test_monge_elkan.py .. [ 98%] 351s tests/test_token/test_overlap.py ... [ 99%] 351s tests/test_token/test_sorensen.py ... [100%] 351s 351s ============================= 430 passed in 29.65s ============================= 352s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 352s make: *** [/tmp/Imsm6sqg8B/run:4: pybuild-autopkgtest] Error 25 352s pybuild-autopkgtest: error: /tmp/Imsm6sqg8B/run pybuild-autopkgtest returned exit code 2 362s autopkgtest [11:23:15]: test pybuild-autopkgtest: -----------------------] 364s pybuild-autopkgtest FAIL non-zero exit status 25 364s autopkgtest [11:23:17]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 365s autopkgtest [11:23:18]: @@@@@@@@@@@@@@@@@@@@ summary 365s pybuild-autopkgtest FAIL non-zero exit status 25 390s nova [W] Skipping flock in bos03-arm64 390s Creating nova instance adt-plucky-arm64-textdistance-20241113-111713-juju-7f2275-prod-proposed-migration-environment-15-bb3a2571-cac1-4ac6-97d6-218b6ed15cb6 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...