Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-textdistance.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-530948-25669/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-textdistance.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-textdistance-4.2.0-9.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-textdistance.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-530948-25669/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-textdistance.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JWTIKF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf textdistance-4.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/textdistance-4.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd textdistance-4.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf textdistance.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vOh2Ux + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd textdistance-4.2.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running build running build_py creating build creating build/lib creating build/lib/textdistance copying textdistance/benchmark.py -> build/lib/textdistance copying textdistance/libraries.py -> build/lib/textdistance copying textdistance/__init__.py -> build/lib/textdistance copying textdistance/utils.py -> build/lib/textdistance creating build/lib/textdistance/algorithms copying textdistance/algorithms/vector_based.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/compression_based.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/simple.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/sequence_based.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/base.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/edit_based.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/__init__.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/phonetic.py -> build/lib/textdistance/algorithms copying textdistance/algorithms/token_based.py -> build/lib/textdistance/algorithms copying textdistance/libraries.json -> build/lib/textdistance + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TZ0oZn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch ++ dirname /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd textdistance-4.2.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch --prefix /usr /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr creating /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib creating /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance creating /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/vector_based.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/compression_based.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/simple.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/sequence_based.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/base.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/edit_based.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/__init__.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/phonetic.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/algorithms/token_based.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms copying build/lib/textdistance/libraries.json -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance copying build/lib/textdistance/benchmark.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance copying build/lib/textdistance/libraries.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance copying build/lib/textdistance/__init__.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance copying build/lib/textdistance/utils.py -> /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/vector_based.py to vector_based.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/compression_based.py to compression_based.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/simple.py to simple.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/sequence_based.py to sequence_based.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/edit_based.py to edit_based.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/phonetic.py to phonetic.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/algorithms/token_based.py to token_based.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/benchmark.py to benchmark.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/libraries.py to libraries.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance/utils.py to utils.cpython-311.pyc writing byte-compilation script '/tmp/tmpy1d4ygka.py' /usr/bin/python3 /tmp/tmpy1d4ygka.py removing /tmp/tmpy1d4ygka.py running install_egg_info running egg_info creating textdistance.egg-info writing textdistance.egg-info/PKG-INFO writing dependency_links to textdistance.egg-info/dependency_links.txt writing requirements to textdistance.egg-info/requires.txt writing top-level names to textdistance.egg-info/top_level.txt writing manifest file 'textdistance.egg-info/SOURCES.txt' reading manifest file 'textdistance.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'textdistance.egg-info/SOURCES.txt' Copying textdistance.egg-info to /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11/site-packages/textdistance-4.2.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/share/doc/python3-textdistance + cp -pr README.md /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/share/doc/python3-textdistance + chmod 644 /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/share/doc/python3-textdistance/README.md + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.2.0-9.fc38 --unique-debug-suffix -4.2.0-9.fc38.noarch --unique-debug-src-base python-textdistance-4.2.0-9.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/textdistance-4.2.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-textdistance-4.2.0-9.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HBt7Lc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd textdistance-4.2.0 + /usr/bin/python3 -m pytest -v -k 'not test_list_of_numbers and not test_qval and not test_compare' ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/builddir/build/BUILD/textdistance-4.2.0/.hypothesis/examples') rootdir: /builddir/build/BUILD/textdistance-4.2.0, configfile: setup.cfg plugins: hypothesis-6.62.1 collecting ... collected 398 items / 19 deselected / 379 selected tests/test_common.py::test_normalization_range[alg0] PASSED [ 0%] tests/test_common.py::test_normalization_range[alg1] PASSED [ 0%] tests/test_common.py::test_normalization_range[alg2] PASSED [ 0%] tests/test_common.py::test_normalization_range[alg3] PASSED [ 1%] tests/test_common.py::test_normalization_range[alg4] PASSED [ 1%] tests/test_common.py::test_normalization_range[alg5] PASSED [ 1%] tests/test_common.py::test_normalization_range[alg6] PASSED [ 1%] tests/test_common.py::test_normalization_range[alg7] PASSED [ 2%] tests/test_common.py::test_normalization_range[alg8] PASSED [ 2%] tests/test_common.py::test_normalization_range[alg9] PASSED [ 2%] tests/test_common.py::test_normalization_range[alg10] PASSED [ 2%] tests/test_common.py::test_normalization_range[alg11] PASSED [ 3%] tests/test_common.py::test_normalization_range[alg12] PASSED [ 3%] tests/test_common.py::test_normalization_range[alg13] PASSED [ 3%] tests/test_common.py::test_normalization_range[alg14] PASSED [ 3%] tests/test_common.py::test_normalization_range[alg15] PASSED [ 4%] tests/test_common.py::test_normalization_range[alg16] PASSED [ 4%] tests/test_common.py::test_normalization_range[alg17] PASSED [ 4%] tests/test_common.py::test_normalization_range[alg18] PASSED [ 5%] tests/test_common.py::test_normalization_range[alg19] PASSED [ 5%] tests/test_common.py::test_normalization_range[alg20] PASSED [ 5%] tests/test_common.py::test_normalization_range[alg21] PASSED [ 5%] tests/test_common.py::test_normalization_range[alg22] PASSED [ 6%] tests/test_common.py::test_normalization_range[alg23] PASSED [ 6%] tests/test_common.py::test_normalization_by_one[alg0] PASSED [ 6%] tests/test_common.py::test_normalization_by_one[alg1] PASSED [ 6%] tests/test_common.py::test_normalization_by_one[alg2] PASSED [ 7%] tests/test_common.py::test_normalization_by_one[alg3] PASSED [ 7%] tests/test_common.py::test_normalization_by_one[alg4] PASSED [ 7%] tests/test_common.py::test_normalization_by_one[alg5] PASSED [ 7%] tests/test_common.py::test_normalization_by_one[alg6] PASSED [ 8%] tests/test_common.py::test_normalization_by_one[alg7] PASSED [ 8%] tests/test_common.py::test_normalization_by_one[alg8] PASSED [ 8%] tests/test_common.py::test_normalization_by_one[alg9] PASSED [ 8%] tests/test_common.py::test_normalization_by_one[alg10] PASSED [ 9%] tests/test_common.py::test_normalization_by_one[alg11] PASSED [ 9%] tests/test_common.py::test_normalization_by_one[alg12] PASSED [ 9%] tests/test_common.py::test_normalization_by_one[alg13] PASSED [ 10%] tests/test_common.py::test_normalization_by_one[alg14] PASSED [ 10%] tests/test_common.py::test_normalization_by_one[alg15] PASSED [ 10%] tests/test_common.py::test_normalization_by_one[alg16] PASSED [ 10%] tests/test_common.py::test_normalization_by_one[alg17] PASSED [ 11%] tests/test_common.py::test_normalization_by_one[alg18] PASSED [ 11%] tests/test_common.py::test_normalization_by_one[alg19] PASSED [ 11%] tests/test_common.py::test_normalization_by_one[alg20] PASSED [ 11%] tests/test_common.py::test_normalization_by_one[alg21] PASSED [ 12%] tests/test_common.py::test_normalization_by_one[alg22] PASSED [ 12%] tests/test_common.py::test_normalization_by_one[alg23] PASSED [ 12%] tests/test_common.py::test_normalization_same[alg0] PASSED [ 12%] tests/test_common.py::test_normalization_same[alg1] PASSED [ 13%] tests/test_common.py::test_normalization_same[alg2] PASSED [ 13%] tests/test_common.py::test_normalization_same[alg3] PASSED [ 13%] tests/test_common.py::test_normalization_same[alg4] PASSED [ 13%] tests/test_common.py::test_normalization_same[alg5] PASSED [ 14%] tests/test_common.py::test_normalization_same[alg6] PASSED [ 14%] tests/test_common.py::test_normalization_same[alg7] PASSED [ 14%] tests/test_common.py::test_normalization_same[alg8] PASSED [ 15%] tests/test_common.py::test_normalization_same[alg9] PASSED [ 15%] tests/test_common.py::test_normalization_same[alg10] PASSED [ 15%] tests/test_common.py::test_normalization_same[alg11] PASSED [ 15%] tests/test_common.py::test_normalization_same[alg12] PASSED [ 16%] tests/test_common.py::test_normalization_same[alg13] PASSED [ 16%] tests/test_common.py::test_normalization_same[alg14] PASSED [ 16%] tests/test_common.py::test_normalization_same[alg15] PASSED [ 16%] tests/test_common.py::test_normalization_same[alg16] PASSED [ 17%] tests/test_common.py::test_normalization_same[alg17] PASSED [ 17%] tests/test_common.py::test_normalization_same[alg18] PASSED [ 17%] tests/test_common.py::test_normalization_same[alg19] PASSED [ 17%] tests/test_common.py::test_normalization_same[alg20] PASSED [ 18%] tests/test_common.py::test_normalization_same[alg21] FAILED [ 18%] tests/test_common.py::test_normalization_same[alg22] PASSED [ 18%] tests/test_common.py::test_normalization_same[alg23] PASSED [ 18%] tests/test_common.py::test_normalization_monotonic[alg0] PASSED [ 19%] tests/test_common.py::test_normalization_monotonic[alg1] PASSED [ 19%] tests/test_common.py::test_normalization_monotonic[alg2] PASSED [ 19%] tests/test_common.py::test_normalization_monotonic[alg3] PASSED [ 20%] tests/test_common.py::test_normalization_monotonic[alg4] PASSED [ 20%] tests/test_common.py::test_normalization_monotonic[alg5] PASSED [ 20%] tests/test_common.py::test_normalization_monotonic[alg6] PASSED [ 20%] tests/test_common.py::test_normalization_monotonic[alg7] PASSED [ 21%] tests/test_common.py::test_normalization_monotonic[alg8] PASSED [ 21%] tests/test_common.py::test_normalization_monotonic[alg9] PASSED [ 21%] tests/test_common.py::test_normalization_monotonic[alg10] PASSED [ 21%] tests/test_common.py::test_normalization_monotonic[alg11] PASSED [ 22%] tests/test_common.py::test_normalization_monotonic[alg12] PASSED [ 22%] tests/test_common.py::test_normalization_monotonic[alg13] PASSED [ 22%] tests/test_common.py::test_normalization_monotonic[alg14] PASSED [ 22%] tests/test_common.py::test_normalization_monotonic[alg15] PASSED [ 23%] tests/test_common.py::test_normalization_monotonic[alg16] FAILED [ 23%] tests/test_common.py::test_normalization_monotonic[alg17] PASSED [ 23%] tests/test_common.py::test_normalization_monotonic[alg18] PASSED [ 24%] tests/test_common.py::test_normalization_monotonic[alg19] PASSED [ 24%] tests/test_common.py::test_normalization_monotonic[alg20] PASSED [ 24%] tests/test_common.py::test_normalization_monotonic[alg21] FAILED [ 24%] tests/test_common.py::test_normalization_monotonic[alg22] PASSED [ 25%] tests/test_common.py::test_normalization_monotonic[alg23] PASSED [ 25%] tests/test_common.py::test_no_common_chars[alg0] PASSED [ 25%] tests/test_common.py::test_no_common_chars[alg1] PASSED [ 25%] tests/test_common.py::test_no_common_chars[alg2] PASSED [ 26%] tests/test_common.py::test_no_common_chars[alg3] PASSED [ 26%] tests/test_common.py::test_no_common_chars[alg4] PASSED [ 26%] tests/test_common.py::test_no_common_chars[alg5] PASSED [ 26%] tests/test_common.py::test_no_common_chars[alg6] PASSED [ 27%] tests/test_common.py::test_no_common_chars[alg7] PASSED [ 27%] tests/test_common.py::test_no_common_chars[alg8] PASSED [ 27%] tests/test_common.py::test_no_common_chars[alg9] PASSED [ 27%] tests/test_common.py::test_no_common_chars[alg10] PASSED [ 28%] tests/test_common.py::test_no_common_chars[alg11] PASSED [ 28%] tests/test_common.py::test_no_common_chars[alg12] PASSED [ 28%] tests/test_common.py::test_no_common_chars[alg13] PASSED [ 29%] tests/test_common.py::test_no_common_chars[alg14] PASSED [ 29%] tests/test_common.py::test_no_common_chars[alg15] PASSED [ 29%] tests/test_common.py::test_no_common_chars[alg16] PASSED [ 29%] tests/test_common.py::test_no_common_chars[alg17] PASSED [ 30%] tests/test_common.py::test_no_common_chars[alg18] PASSED [ 30%] tests/test_common.py::test_no_common_chars[alg19] PASSED [ 30%] tests/test_common.py::test_no_common_chars[alg20] PASSED [ 30%] tests/test_common.py::test_no_common_chars[alg21] PASSED [ 31%] tests/test_common.py::test_no_common_chars[alg22] PASSED [ 31%] tests/test_common.py::test_no_common_chars[alg23] PASSED [ 31%] tests/test_common.py::test_empty[alg0] PASSED [ 31%] tests/test_common.py::test_empty[alg1] PASSED [ 32%] tests/test_common.py::test_empty[alg2] PASSED [ 32%] tests/test_common.py::test_empty[alg3] PASSED [ 32%] tests/test_common.py::test_empty[alg4] PASSED [ 32%] tests/test_common.py::test_empty[alg5] PASSED [ 33%] tests/test_common.py::test_empty[alg6] PASSED [ 33%] tests/test_common.py::test_empty[alg7] PASSED [ 33%] tests/test_common.py::test_empty[alg8] PASSED [ 34%] tests/test_common.py::test_empty[alg9] PASSED [ 34%] tests/test_common.py::test_empty[alg10] PASSED [ 34%] tests/test_common.py::test_empty[alg11] PASSED [ 34%] tests/test_common.py::test_empty[alg12] PASSED [ 35%] tests/test_common.py::test_empty[alg13] PASSED [ 35%] tests/test_common.py::test_empty[alg14] PASSED [ 35%] tests/test_common.py::test_empty[alg15] PASSED [ 35%] tests/test_common.py::test_empty[alg16] PASSED [ 36%] tests/test_common.py::test_empty[alg17] PASSED [ 36%] tests/test_common.py::test_empty[alg18] PASSED [ 36%] tests/test_common.py::test_empty[alg19] PASSED [ 36%] tests/test_common.py::test_empty[alg20] PASSED [ 37%] tests/test_common.py::test_empty[alg21] PASSED [ 37%] tests/test_common.py::test_empty[alg22] PASSED [ 37%] tests/test_common.py::test_empty[alg23] PASSED [ 37%] tests/test_common.py::test_unequal_distance[alg0] PASSED [ 38%] tests/test_common.py::test_unequal_distance[alg1] PASSED [ 38%] tests/test_common.py::test_unequal_distance[alg2] PASSED [ 38%] tests/test_common.py::test_unequal_distance[alg3] PASSED [ 39%] tests/test_common.py::test_unequal_distance[alg4] PASSED [ 39%] tests/test_common.py::test_unequal_distance[alg5] PASSED [ 39%] tests/test_common.py::test_unequal_distance[alg6] PASSED [ 39%] tests/test_common.py::test_unequal_distance[alg7] PASSED [ 40%] tests/test_common.py::test_unequal_distance[alg8] PASSED [ 40%] tests/test_common.py::test_unequal_distance[alg9] PASSED [ 40%] tests/test_common.py::test_unequal_distance[alg10] PASSED [ 40%] tests/test_common.py::test_unequal_distance[alg11] PASSED [ 41%] tests/test_common.py::test_unequal_distance[alg12] PASSED [ 41%] tests/test_common.py::test_unequal_distance[alg13] PASSED [ 41%] tests/test_common.py::test_unequal_distance[alg14] PASSED [ 41%] tests/test_common.py::test_unequal_distance[alg15] PASSED [ 42%] tests/test_common.py::test_unequal_distance[alg16] PASSED [ 42%] tests/test_common.py::test_unequal_distance[alg17] PASSED [ 42%] tests/test_common.py::test_unequal_distance[alg18] PASSED [ 43%] tests/test_common.py::test_unequal_distance[alg19] PASSED [ 43%] tests/test_common.py::test_unequal_distance[alg20] PASSED [ 43%] tests/test_common.py::test_unequal_distance[alg21] PASSED [ 43%] tests/test_common.py::test_unequal_distance[alg22] PASSED [ 44%] tests/test_common.py::test_unequal_distance[alg23] PASSED [ 44%] tests/test_compression/test_arith_ncd.py::test_similarity[test-test-1] PASSED [ 44%] tests/test_compression/test_arith_ncd.py::test_similarity[test-nani-2.1666666666666665] PASSED [ 44%] tests/test_compression/test_arith_ncd.py::test_make_probs PASSED [ 45%] tests/test_compression/test_arith_ncd.py::test_arith_output PASSED [ 45%] tests/test_compression/test_bwtrle_ncd.py::test_similarity[test-test-0.6] PASSED [ 45%] tests/test_compression/test_bwtrle_ncd.py::test_similarity[test-nani-0.8] PASSED [ 45%] tests/test_compression/test_bz2_ncd.py::test_similarity[test-test-0.08] PASSED [ 46%] tests/test_compression/test_bz2_ncd.py::test_similarity[test-nani-0.16] PASSED [ 46%] tests/test_compression/test_common.py::test_monotonicity[alg0] PASSED [ 46%] tests/test_compression/test_common.py::test_monotonicity[alg1] PASSED [ 46%] tests/test_compression/test_common.py::test_monotonicity[alg2] PASSED [ 47%] tests/test_compression/test_common.py::test_monotonicity[alg3] PASSED [ 47%] tests/test_compression/test_common.py::test_monotonicity[alg4] PASSED [ 47%] tests/test_compression/test_common.py::test_monotonicity[alg5] PASSED [ 48%] tests/test_compression/test_common.py::test_monotonicity[alg6] PASSED [ 48%] tests/test_compression/test_common.py::test_simmetry[alg0] FAILED [ 48%] tests/test_compression/test_common.py::test_simmetry[alg1] PASSED [ 48%] tests/test_compression/test_common.py::test_simmetry[alg2] PASSED [ 49%] tests/test_compression/test_common.py::test_simmetry[alg3] PASSED [ 49%] tests/test_compression/test_common.py::test_simmetry[alg4] PASSED [ 49%] tests/test_compression/test_common.py::test_simmetry[alg5] PASSED [ 49%] tests/test_compression/test_common.py::test_simmetry[alg6] PASSED [ 50%] tests/test_compression/test_common.py::test_is_normalized[alg0] PASSED [ 50%] tests/test_compression/test_common.py::test_is_normalized[alg1] PASSED [ 50%] tests/test_compression/test_common.py::test_is_normalized[alg2] PASSED [ 50%] tests/test_compression/test_common.py::test_is_normalized[alg3] PASSED [ 51%] tests/test_compression/test_common.py::test_is_normalized[alg4] PASSED [ 51%] tests/test_compression/test_common.py::test_is_normalized[alg5] PASSED [ 51%] tests/test_compression/test_common.py::test_is_normalized[alg6] PASSED [ 51%] tests/test_compression/test_common.py::test_normalized_by_one[alg0] PASSED [ 52%] tests/test_compression/test_common.py::test_normalized_by_one[alg1] PASSED [ 52%] tests/test_compression/test_common.py::test_normalized_by_one[alg2] PASSED [ 52%] tests/test_compression/test_common.py::test_normalized_by_one[alg3] PASSED [ 53%] tests/test_compression/test_common.py::test_normalized_by_one[alg4] PASSED [ 53%] tests/test_compression/test_common.py::test_normalized_by_one[alg5] PASSED [ 53%] tests/test_compression/test_common.py::test_normalized_by_one[alg6] PASSED [ 53%] tests/test_compression/test_entropy_ncd.py::test_similarity[test-test-1] PASSED [ 54%] tests/test_compression/test_entropy_ncd.py::test_similarity[aaa-bbb-0] PASSED [ 54%] tests/test_compression/test_entropy_ncd.py::test_similarity[test-nani-0.6] PASSED [ 54%] tests/test_compression/test_entropy_ncd.py::test_simmetry_compressor PASSED [ 54%] tests/test_compression/test_entropy_ncd.py::test_idempotency_compressor PASSED [ 55%] tests/test_compression/test_entropy_ncd.py::test_monotonicity_compressor PASSED [ 55%] tests/test_compression/test_entropy_ncd.py::test_distributivity_compressor PASSED [ 55%] tests/test_compression/test_entropy_ncd.py::test_normalization_range PASSED [ 55%] tests/test_compression/test_sqrt_ncd.py::test_similarity[test-test-0.41421356237309503] PASSED [ 56%] tests/test_compression/test_sqrt_ncd.py::test_similarity[test-nani-1] PASSED [ 56%] tests/test_compression/test_sqrt_ncd.py::test_simmetry_compressor PASSED [ 56%] tests/test_compression/test_sqrt_ncd.py::test_idempotency_compressor PASSED [ 56%] tests/test_compression/test_sqrt_ncd.py::test_monotonicity_compressor PASSED [ 57%] tests/test_compression/test_sqrt_ncd.py::test_distributivity_compressor PASSED [ 57%] tests/test_compression/test_sqrt_ncd.py::test_normalization_range PASSED [ 57%] tests/test_edit/test_damerau_levenshtein.py::test_distance[test-text-1] PASSED [ 58%] tests/test_edit/test_damerau_levenshtein.py::test_distance[test-tset-1] PASSED [ 58%] tests/test_edit/test_damerau_levenshtein.py::test_distance[test-qwy-4] PASSED [ 58%] tests/test_edit/test_damerau_levenshtein.py::test_distance[test-testit-2] PASSED [ 58%] tests/test_edit/test_damerau_levenshtein.py::test_distance[test-tesst-1] PASSED [ 59%] tests/test_edit/test_damerau_levenshtein.py::test_distance[test-tet-1] PASSED [ 59%] tests/test_edit/test_damerau_levenshtein.py::test_distance[cat-hat-1] PASSED [ 59%] tests/test_edit/test_damerau_levenshtein.py::test_distance[Niall-Neil-3] PASSED [ 59%] tests/test_edit/test_damerau_levenshtein.py::test_distance[aluminum-Catalan-7] PASSED [ 60%] tests/test_edit/test_damerau_levenshtein.py::test_distance[ATCG-TAGC-2] PASSED [ 60%] tests/test_edit/test_damerau_levenshtein.py::test_distance[ab-ba-10] PASSED [ 60%] tests/test_edit/test_damerau_levenshtein.py::test_distance[ab-cde-3] PASSED [ 60%] tests/test_edit/test_damerau_levenshtein.py::test_distance[ab-ac-1] PASSED [ 61%] tests/test_edit/test_damerau_levenshtein.py::test_distance[ab-ba-11] PASSED [ 61%] tests/test_edit/test_damerau_levenshtein.py::test_distance[ab-bc-2] PASSED [ 61%] tests/test_edit/test_editex.py::test_distance[--0] PASSED [ 62%] tests/test_edit/test_editex.py::test_distance[nelson--12] PASSED [ 62%] tests/test_edit/test_editex.py::test_distance[-neilsen-14] PASSED [ 62%] tests/test_edit/test_editex.py::test_distance[ab-a-2] PASSED [ 62%] tests/test_edit/test_editex.py::test_distance[ab-c-4] PASSED [ 63%] tests/test_edit/test_editex.py::test_distance[ALIE-ALI-1] PASSED [ 63%] tests/test_edit/test_editex.py::test_distance[-MARTHA-12] PASSED [ 63%] tests/test_edit/test_editex.py::test_distance_with_params[MARTHA-MARHTA-params0-12] PASSED [ 63%] tests/test_edit/test_editex.py::test_distance_with_params[MARTHA-MARHTA-params1-14] PASSED [ 64%] tests/test_edit/test_editex.py::test_distance_with_params[MARTHA-MARHTA-params2-3] PASSED [ 64%] tests/test_edit/test_editex.py::test_distance_with_params[MARTHA-MARHTA-params3-4] PASSED [ 64%] tests/test_edit/test_editex.py::test_distance_with_params[MARTHA-MARHTA-params4-5] PASSED [ 64%] tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] PASSED [ 65%] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] PASSED [ 65%] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] PASSED [ 65%] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] PASSED [ 65%] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] PASSED [ 66%] tests/test_edit/test_hamming.py::test_distance[test-text-1] PASSED [ 66%] tests/test_edit/test_hamming.py::test_distance[test-tset-2] PASSED [ 66%] tests/test_edit/test_hamming.py::test_distance[test-qwe-4] PASSED [ 67%] tests/test_edit/test_hamming.py::test_distance[test-testit-2] PASSED [ 67%] tests/test_edit/test_hamming.py::test_distance[test-tesst-2] PASSED [ 67%] tests/test_edit/test_hamming.py::test_distance[test-tet-2] PASSED [ 67%] tests/test_edit/test_jaro.py::test_distance[hello-haloa-0.7333333333333334] PASSED [ 68%] tests/test_edit/test_jaro.py::test_distance[fly-ant-0.0] PASSED [ 68%] tests/test_edit/test_jaro.py::test_distance[frog-fog-0.9166666666666666] PASSED [ 68%] tests/test_edit/test_jaro.py::test_distance[ATCG-TAGC-0.8333333333333334] PASSED [ 68%] tests/test_edit/test_jaro.py::test_distance[MARTHA-MARHTA-0.944444444] PASSED [ 69%] tests/test_edit/test_jaro.py::test_distance[DWAYNE-DUANE-0.822222222] PASSED [ 69%] tests/test_edit/test_jaro.py::test_distance[DIXON-DICKSONX-0.7666666666666666] PASSED [ 69%] tests/test_edit/test_jaro.py::test_distance[Sint-Pietersplein 6, 9000 Gent-Test 10, 1010 Brussel-0.5182539682539683] PASSED [ 69%] tests/test_edit/test_jaro_winkler.py::test_distance[elephant-hippo-0.44166666666666665] PASSED [ 70%] tests/test_edit/test_jaro_winkler.py::test_distance[fly-ant-0.0] PASSED [ 70%] tests/test_edit/test_jaro_winkler.py::test_distance[frog-fog-0.916666666] FAILED [ 70%] tests/test_edit/test_jaro_winkler.py::test_distance[MARTHA-MARHTA-0.9611111111111111] PASSED [ 70%] tests/test_edit/test_jaro_winkler.py::test_distance[DWAYNE-DUANE-0.84] PASSED [ 71%] tests/test_edit/test_jaro_winkler.py::test_distance[DIXON-DICKSONX-0.8133333333333332] PASSED [ 71%] tests/test_edit/test_jaro_winkler.py::test_distance[duck donald-duck daisy-0.867272727272] PASSED [ 71%] tests/test_edit/test_levenshtein.py::test_distance[test-text-1] PASSED [ 72%] tests/test_edit/test_levenshtein.py::test_distance[test-tset-2] PASSED [ 72%] tests/test_edit/test_levenshtein.py::test_distance[test-qwe-4] PASSED [ 72%] tests/test_edit/test_levenshtein.py::test_distance[test-testit-2] PASSED [ 72%] tests/test_edit/test_levenshtein.py::test_distance[test-tesst-1] PASSED [ 73%] tests/test_edit/test_levenshtein.py::test_distance[test-tet-1] PASSED [ 73%] tests/test_edit/test_matrix.py::test_distance[--1] PASSED [ 73%] tests/test_edit/test_matrix.py::test_distance[-a-0] PASSED [ 73%] tests/test_edit/test_matrix.py::test_distance[abcd-abcd-1] PASSED [ 74%] tests/test_edit/test_matrix.py::test_distance[A-C--3] PASSED [ 74%] tests/test_edit/test_matrix.py::test_distance[G-G-7] PASSED [ 74%] tests/test_edit/test_matrix.py::test_distance[A-A-10] PASSED [ 74%] tests/test_edit/test_matrix.py::test_distance[T-A--4] PASSED [ 75%] tests/test_edit/test_matrix.py::test_distance[T-C-0] PASSED [ 75%] tests/test_edit/test_matrix.py::test_distance[A-G--1] PASSED [ 75%] tests/test_edit/test_matrix.py::test_distance[C-T-0] PASSED [ 75%] tests/test_edit/test_mlipns.py::test_distance[--1] PASSED [ 76%] tests/test_edit/test_mlipns.py::test_distance[a--0] PASSED [ 76%] tests/test_edit/test_mlipns.py::test_distance[-a-0] PASSED [ 76%] tests/test_edit/test_mlipns.py::test_distance[a-a-1] PASSED [ 77%] tests/test_edit/test_mlipns.py::test_distance[ab-a-1] PASSED [ 77%] tests/test_edit/test_mlipns.py::test_distance[abc-abc-1] PASSED [ 77%] tests/test_edit/test_mlipns.py::test_distance[abc-abcde-1] PASSED [ 77%] tests/test_edit/test_mlipns.py::test_distance[abcg-abcdeg-1] PASSED [ 78%] tests/test_edit/test_mlipns.py::test_distance[abcg-abcdefg-0] PASSED [ 78%] tests/test_edit/test_mlipns.py::test_distance[Tomato-Tamato-1] PASSED [ 78%] tests/test_edit/test_mlipns.py::test_distance[ato-Tam-1] PASSED [ 78%] tests/test_edit/test_needleman_wunsch.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-16] PASSED [ 79%] tests/test_edit/test_needleman_wunsch.py::test_distance_ident[GATTACA-GCATGCU-0] PASSED [ 79%] tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC--5] PASSED [ 79%] tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC--7] PASSED [ 79%] tests/test_edit/test_needleman_wunsch.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] PASSED [ 80%] tests/test_edit/test_smith_waterman.py::test_distance_matrix[AGACTAGTTAC-CGAGACGT-26] PASSED [ 80%] tests/test_edit/test_smith_waterman.py::test_distance_ident[GATTACA-GCATGCU-0] PASSED [ 80%] tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[CGATATCAG-TGACGSTGC-0] PASSED [ 81%] tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-TGACGSTGC-1] PASSED [ 81%] tests/test_edit/test_smith_waterman.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT-0] PASSED [ 81%] tests/test_edit/test_strcmp95.py::test_distance[MARTHA-MARHTA-0.9611111111111111] PASSED [ 81%] tests/test_edit/test_strcmp95.py::test_distance[DWAYNE-DUANE-0.873] PASSED [ 82%] tests/test_edit/test_strcmp95.py::test_distance[DIXON-DICKSONX-0.839333333] PASSED [ 82%] tests/test_edit/test_strcmp95.py::test_distance[TEST-TEXT-0.9066666666666666] PASSED [ 82%] tests/test_phonetic/test_editex.py::test_distance[--0] PASSED [ 82%] tests/test_phonetic/test_editex.py::test_distance[nelson--12] PASSED [ 83%] tests/test_phonetic/test_editex.py::test_distance[-neilsen-14] PASSED [ 83%] tests/test_phonetic/test_editex.py::test_distance[ab-a-2] PASSED [ 83%] tests/test_phonetic/test_editex.py::test_distance[ab-c-4] PASSED [ 83%] tests/test_phonetic/test_editex.py::test_distance[nelson-neilsen-2] PASSED [ 84%] tests/test_phonetic/test_editex.py::test_distance[neilsen-nelson-2] PASSED [ 84%] tests/test_phonetic/test_editex.py::test_distance[niall-neal-1] PASSED [ 84%] tests/test_phonetic/test_editex.py::test_distance[neal-niall-1] PASSED [ 84%] tests/test_phonetic/test_editex.py::test_distance[niall-nihal-2] PASSED [ 85%] tests/test_phonetic/test_editex.py::test_distance[nihal-niall-2] PASSED [ 85%] tests/test_phonetic/test_editex.py::test_distance[neal-nihl-3] PASSED [ 85%] tests/test_phonetic/test_editex.py::test_distance[nihl-neal-3] PASSED [ 86%] tests/test_phonetic/test_editex.py::test_distance[cat-hat-2] PASSED [ 86%] tests/test_phonetic/test_editex.py::test_distance[Niall-Neil-2] PASSED [ 86%] tests/test_phonetic/test_editex.py::test_distance[aluminum-Catalan-12] PASSED [ 86%] tests/test_phonetic/test_editex.py::test_distance[ATCG-TAGC-6] PASSED [ 87%] tests/test_phonetic/test_editex.py::test_local[--0] PASSED [ 87%] tests/test_phonetic/test_editex.py::test_local[nelson--12] PASSED [ 87%] tests/test_phonetic/test_editex.py::test_local[-neilsen-14] PASSED [ 87%] tests/test_phonetic/test_editex.py::test_local[ab-a-2] PASSED [ 88%] tests/test_phonetic/test_editex.py::test_local[ab-c-2] PASSED [ 88%] tests/test_phonetic/test_editex.py::test_local[nelson-neilsen-2] PASSED [ 88%] tests/test_phonetic/test_editex.py::test_local[neilsen-nelson-2] PASSED [ 88%] tests/test_phonetic/test_editex.py::test_local[niall-neal-1] PASSED [ 89%] tests/test_phonetic/test_editex.py::test_local[neal-niall-1] PASSED [ 89%] tests/test_phonetic/test_editex.py::test_local[niall-nihal-2] PASSED [ 89%] tests/test_phonetic/test_editex.py::test_local[nihal-niall-2] PASSED [ 89%] tests/test_phonetic/test_editex.py::test_local[neal-nihl-3] PASSED [ 90%] tests/test_phonetic/test_editex.py::test_local[nihl-neal-3] PASSED [ 90%] tests/test_sequence/test_lcsseq.py::test_distance[ab-cd-] PASSED [ 90%] tests/test_sequence/test_lcsseq.py::test_distance[abcd-abcd-abcd] PASSED [ 91%] tests/test_sequence/test_lcsseq.py::test_distance[test-text-tet] PASSED [ 91%] tests/test_sequence/test_lcsseq.py::test_distance[thisisatest-testing123testing-tsitest] PASSED [ 91%] tests/test_sequence/test_lcsseq.py::test_distance[DIXON-DICKSONX-DION] PASSED [ 91%] tests/test_sequence/test_lcsseq.py::test_distance[random exponential-layer activation-ratia] PASSED [ 92%] tests/test_sequence/test_lcsseq.py::test_distance[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] PASSED [ 92%] tests/test_sequence/test_lcsseq.py::test_distance[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-] PASSED [ 92%] tests/test_sequence/test_lcsseq.py::test_distance_multiseq[seqs0-] PASSED [ 92%] tests/test_sequence/test_lcsseq.py::test_distance_multiseq[seqs1-a] PASSED [ 93%] tests/test_sequence/test_lcsseq.py::test_distance_multiseq[seqs2-tet] PASSED [ 93%] tests/test_sequence/test_lcsstr.py::test_distance[ab-abcd-ab] PASSED [ 93%] tests/test_sequence/test_lcsstr.py::test_distance[abcd-ab-ab] PASSED [ 93%] tests/test_sequence/test_lcsstr.py::test_distance[abcd-bc-bc] PASSED [ 94%] tests/test_sequence/test_lcsstr.py::test_distance[bc-abcd-bc] PASSED [ 94%] tests/test_sequence/test_lcsstr.py::test_distance[abcd-cd-cd0] PASSED [ 94%] tests/test_sequence/test_lcsstr.py::test_distance[abcd-cd-cd1] PASSED [ 94%] tests/test_sequence/test_lcsstr.py::test_distance[abcd-ef-] PASSED [ 95%] tests/test_sequence/test_lcsstr.py::test_distance[ef-abcd-] PASSED [ 95%] tests/test_sequence/test_lcsstr.py::test_distance[MYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTEST-TEST-TEST] PASSED [ 95%] tests/test_sequence/test_lcsstr.py::test_distance[TEST-MYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTESTMYTEST-TEST] PASSED [ 96%] tests/test_token/test_bag.py::test_distance[qwe-qwe-0] PASSED [ 96%] tests/test_token/test_bag.py::test_distance[qwe-erty-3] PASSED [ 96%] tests/test_token/test_bag.py::test_distance[qwe-ewq-0] PASSED [ 96%] tests/test_token/test_bag.py::test_distance[qwe-rtys-4] PASSED [ 97%] tests/test_token/test_cosine.py::test_distance[test-text-0.75] PASSED [ 97%] tests/test_token/test_cosine.py::test_distance[nelson-neilsen-0.7715167498104595] PASSED [ 97%] tests/test_token/test_jaccard.py::test_distance[test-text-0.6] PASSED [ 97%] tests/test_token/test_jaccard.py::test_distance[nelson-neilsen-0.625] PASSED [ 98%] tests/test_token/test_jaccard.py::test_distance[decide-resize-0.3333333333333333] PASSED [ 98%] tests/test_token/test_monge_elkan.py::test_similarity[left0-right0-0.805] PASSED [ 98%] tests/test_token/test_monge_elkan.py::test_similarity[left1-right1-0.7866666666666667] PASSED [ 98%] tests/test_token/test_overlap.py::test_distance[test-text-0.75] PASSED [ 99%] tests/test_token/test_overlap.py::test_distance[testme-textthis-0.6666666666666666] PASSED [ 99%] tests/test_token/test_overlap.py::test_distance[nelson-neilsen-0.8333333333333334] PASSED [ 99%] tests/test_token/test_sorensen.py::test_distance[test-text-0.75] PASSED [100%] =================================== FAILURES =================================== ________________________ test_normalization_same[alg21] ________________________ alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) @pytest.mark.parametrize('alg', ALGS) > @hypothesis.given(text=hypothesis.strategies.text()) tests/test_common.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('1\x0cy»21\x98_1\U000a0204Ìŭ4Ņu\x8a\x9d\x9c0\U000582a74¤k0', NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True})) kwargs = {}, initial_draws = 1, start = 823103.990866635, result = None finish = 823104.264732837, internal_draw_time = 0 runtime = datetime.timedelta(microseconds=273866) current_deadline = timedelta(milliseconds=200) @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: > raise DeadlineExceeded(runtime, self.settings.deadline) E hypothesis.errors.DeadlineExceeded: Test took 273.87ms, which exceeds the deadline of 200.00ms E Falsifying example: test_normalization_same( E text='1\x0cy»21\x98_1\U000a0204Ìŭ4Ņu\x8a\x9d\x9c0\U000582a74¤k0', E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), E ) /usr/lib/python3.11/site-packages/hypothesis/core.py:781: DeadlineExceeded ---------------------------------- Hypothesis ---------------------------------- WARNING: Hypothesis has spent more than five minutes working to shrink a failing example, and stopped because it is making very slow progress. When you re-run your tests, shrinking will resume and may take this long before aborting again. PLEASE REPORT THIS if you can provide a reproducing example, so that we can improve shrinking performance for everyone. _____________________ test_normalization_monotonic[alg16] ______________________ self = data = ConjectureData(INTERESTING, 98 bytes, frozen) def _execute_once_for_engine(self, data): """Wrapper around ``execute_once`` that intercepts test failure exceptions and single-test control exceptions, and turns them into appropriate method calls to `data` instead. This allows the engine to assume that any exception other than ``StopTest`` must be a fatal error, and should stop the entire engine. """ try: trace = frozenset() if ( self.failed_normally and not self.failed_due_to_deadline and Phase.shrink in self.settings.phases and Phase.explain in self.settings.phases and sys.gettrace() is None and not PYPY ): # pragma: no cover # This is in fact covered by our *non-coverage* tests, but due to the # settrace() contention *not* by our coverage tests. Ah well. tracer = Tracer() try: sys.settrace(tracer.trace) result = self.execute_once(data) if data.status == Status.VALID: self.explain_traces[None].add(frozenset(tracer.branches)) finally: sys.settrace(None) trace = frozenset(tracer.branches) else: > result = self.execute_once(data) /usr/lib/python3.11/site-packages/hypothesis/core.py:879: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = data = ConjectureData(INTERESTING, 98 bytes, frozen), print_example = False is_final = False, expected_failure = None def execute_once( self, data, print_example=False, is_final=False, expected_failure=None ): """Run the test function once, using ``data`` as input. If the test raises an exception, it will propagate through to the caller of this method. Depending on its type, this could represent an ordinary test failure, or a fatal error, or a control exception. If this method returns normally, the test might have passed, or it might have placed ``data`` in an unsuccessful state and then swallowed the corresponding control exception. """ self.ever_executed = True data.is_find = self.is_find text_repr = None if self.settings.deadline is None: test = self.test else: @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: raise DeadlineExceeded(runtime, self.settings.deadline) return result def run(data): # Set up dynamic context needed by a single test run. with local_settings(self.settings): with deterministic_PRNG(): with BuildContext(data, is_final=is_final): # Generate all arguments to the test function. args, kwargs = data.draw(self.search_strategy) if expected_failure is not None: nonlocal text_repr text_repr = repr_call(test, args, kwargs) if print_example or current_verbosity() >= Verbosity.verbose: output = StringIO() printer = RepresentationPrinter(output) if print_example: printer.text("Falsifying example:") else: printer.text("Trying example:") if self.print_given_args: printer.text(" ") printer.repr_call( test.__name__, args, kwargs, force_split=True, ) report(printer.getvalue()) return test(*args, **kwargs) # Run the test function once, via the executor hook. # In most cases this will delegate straight to `run(data)`. > result = self.test_runner(data, run) /usr/lib/python3.11/site-packages/hypothesis/core.py:818: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = ConjectureData(INTERESTING, 98 bytes, frozen) function = .run at 0x3fe162e200> def default_new_style_executor(data, function): > return function(data) /usr/lib/python3.11/site-packages/hypothesis/executors.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = ConjectureData(INTERESTING, 98 bytes, frozen) def run(data): # Set up dynamic context needed by a single test run. with local_settings(self.settings): with deterministic_PRNG(): with BuildContext(data, is_final=is_final): # Generate all arguments to the test function. args, kwargs = data.draw(self.search_strategy) if expected_failure is not None: nonlocal text_repr text_repr = repr_call(test, args, kwargs) if print_example or current_verbosity() >= Verbosity.verbose: output = StringIO() printer = RepresentationPrinter(output) if print_example: printer.text("Falsifying example:") else: printer.text("Trying example:") if self.print_given_args: printer.text(" ") printer.repr_call( test.__name__, args, kwargs, force_split=True, ) report(printer.getvalue()) > return test(*args, **kwargs) /usr/lib/python3.11/site-packages/hypothesis/core.py:814: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ left = '38:\U000f7704𐨁5112\U0005db90TÐ' right = '\x96\x8e4¼1\x1b묁\U00040a01Â42\U000a1203Q7' alg = MongeElkan({'algorithm': DamerauLevenshtein({'qval': 1, 'test_func': , 'external': True}), 'symmetric': False, 'qval': 1, 'external': True}) @pytest.mark.parametrize('alg', ALGS) > @hypothesis.given( left=hypothesis.strategies.text(min_size=1), right=hypothesis.strategies.text(min_size=1), ) tests/test_common.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('38:\U000f7704𐨁5112\U0005db90TÐ', '\x96\x8e4¼1\x1b묁\U00040a01Â42\U000a1203Q7', MongeElkan({'algorithm': DamerauLevens...t_func': , 'external': True}), 'symmetric': False, 'qval': 1, 'external': True})) kwargs = {}, initial_draws = 1, start = 823500.82710466, result = None finish = 823501.087667562, internal_draw_time = 0 runtime = datetime.timedelta(microseconds=260563) current_deadline = datetime.timedelta(microseconds=250000) @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: > raise DeadlineExceeded(runtime, self.settings.deadline) E hypothesis.errors.DeadlineExceeded: Test took 260.56ms, which exceeds the deadline of 200.00ms /usr/lib/python3.11/site-packages/hypothesis/core.py:781: DeadlineExceeded The above exception was the direct cause of the following exception: alg = MongeElkan({'algorithm': DamerauLevenshtein({'qval': 1, 'test_func': , 'external': True}), 'symmetric': False, 'qval': 1, 'external': True}) @pytest.mark.parametrize('alg', ALGS) > @hypothesis.given( left=hypothesis.strategies.text(min_size=1), right=hypothesis.strategies.text(min_size=1), ) tests/test_common.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = data = ConjectureData(VALID, 98 bytes, frozen), print_example = True is_final = True expected_failure = (DeadlineExceeded('Test took 260.56ms, which exceeds the deadline of 200.00ms'), "args = ('38:\\U000f7704𐨁5112\\U0005d...hich exceeds the deadline of 200.00ms\n\n/usr/lib/python3.11/site-packages/hypothesis/core.py:781: DeadlineExceeded\n") def execute_once( self, data, print_example=False, is_final=False, expected_failure=None ): """Run the test function once, using ``data`` as input. If the test raises an exception, it will propagate through to the caller of this method. Depending on its type, this could represent an ordinary test failure, or a fatal error, or a control exception. If this method returns normally, the test might have passed, or it might have placed ``data`` in an unsuccessful state and then swallowed the corresponding control exception. """ self.ever_executed = True data.is_find = self.is_find text_repr = None if self.settings.deadline is None: test = self.test else: @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: raise DeadlineExceeded(runtime, self.settings.deadline) return result def run(data): # Set up dynamic context needed by a single test run. with local_settings(self.settings): with deterministic_PRNG(): with BuildContext(data, is_final=is_final): # Generate all arguments to the test function. args, kwargs = data.draw(self.search_strategy) if expected_failure is not None: nonlocal text_repr text_repr = repr_call(test, args, kwargs) if print_example or current_verbosity() >= Verbosity.verbose: output = StringIO() printer = RepresentationPrinter(output) if print_example: printer.text("Falsifying example:") else: printer.text("Trying example:") if self.print_given_args: printer.text(" ") printer.repr_call( test.__name__, args, kwargs, force_split=True, ) report(printer.getvalue()) return test(*args, **kwargs) # Run the test function once, via the executor hook. # In most cases this will delegate straight to `run(data)`. result = self.test_runner(data, run) # If a failure was expected, it should have been raised already, so # instead raise an appropriate diagnostic error. if expected_failure is not None: exception, traceback = expected_failure if ( isinstance(exception, DeadlineExceeded) and self.__test_runtime is not None ): report( "Unreliable test timings! On an initial run, this " "test took %.2fms, which exceeded the deadline of " "%.2fms, but on a subsequent run it took %.2f ms, " "which did not. If you expect this sort of " "variability in your test timings, consider turning " "deadlines off for this test by setting deadline=None." % ( exception.runtime.total_seconds() * 1000, self.settings.deadline.total_seconds() * 1000, self.__test_runtime.total_seconds() * 1000, ) ) else: report("Failed to reproduce exception. Expected: \n" + traceback) > raise Flaky( f"Hypothesis {text_repr} produces unreliable results: " "Falsified on the first call but did not on a subsequent one" ) from exception E hypothesis.errors.Flaky: Hypothesis test_normalization_monotonic(left='38:\U000f7704𐨁5112\U0005db90TÐ', right='\x96\x8e4¼1\x1b묁\U00040a01Â42\U000a1203Q7', alg=MongeElkan({'algorithm': DamerauLevenshtein({'qval': 1, 'test_func': , 'external': True}), 'symmetric': False, 'qval': 1, 'external': True})) produces unreliable results: Falsified on the first call but did not on a subsequent one E Falsifying example: test_normalization_monotonic( E left='38:\U000f7704𐨁5112\U0005db90TÐ', E right='\x96\x8e4¼1\x1b묁\U00040a01Â42\U000a1203Q7', E alg=MongeElkan({'algorithm': DamerauLevenshtein({'qval': 1, 'test_func': , 'external': True}), 'symmetric': False, 'qval': 1, 'external': True}), E ) E Unreliable test timings! On an initial run, this test took 260.56ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 155.92 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None. /usr/lib/python3.11/site-packages/hypothesis/core.py:843: Flaky ---------------------------------- Hypothesis ---------------------------------- WARNING: Hypothesis has spent more than five minutes working to shrink a failing example, and stopped because it is making very slow progress. When you re-run your tests, shrinking will resume and may take this long before aborting again. PLEASE REPORT THIS if you can provide a reproducing example, so that we can improve shrinking performance for everyone. _____________________ test_normalization_monotonic[alg21] ______________________ alg = NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}) @pytest.mark.parametrize('alg', ALGS) > @hypothesis.given( left=hypothesis.strategies.text(min_size=1), right=hypothesis.strategies.text(min_size=1), ) tests/test_common.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('\U00060956022Ú00Ă¢\U000530c9B𐤄瀇𠨁\U0004fcd3Í0l01ā0𐤂', '\U000afeb32ā0001āЁ𐴐1ā𰷿Ă00', NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True})) kwargs = {}, initial_draws = 1, start = 823846.215956531, result = None finish = 823846.467118133, internal_draw_time = 0 runtime = datetime.timedelta(microseconds=251162) current_deadline = timedelta(milliseconds=200) @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: > raise DeadlineExceeded(runtime, self.settings.deadline) E hypothesis.errors.DeadlineExceeded: Test took 251.16ms, which exceeds the deadline of 200.00ms E Falsifying example: test_normalization_monotonic( E left='\U00060956022Ú00Ă¢\U000530c9B𐤄瀇𠨁\U0004fcd3Í0l01ā0𐤂', E right='\U000afeb32ā0001āЁ𐴐1ā𰷿Ă00', E alg=NeedlemanWunsch({'qval': 1, 'gap_cost': 1.0, 'sim_func': , 'external': True}), E ) /usr/lib/python3.11/site-packages/hypothesis/core.py:781: DeadlineExceeded ---------------------------------- Hypothesis ---------------------------------- WARNING: Hypothesis has spent more than five minutes working to shrink a failing example, and stopped because it is making very slow progress. When you re-run your tests, shrinking will resume and may take this long before aborting again. PLEASE REPORT THIS if you can provide a reproducing example, so that we can improve shrinking performance for everyone. _____________________________ test_simmetry[alg0] ______________________________ alg = ArithNCD({'base': 2, 'terminator': None, 'qval': 1}) @pytest.mark.parametrize('alg', ALGS) > @hypothesis.given( left=hypothesis.strategies.text(), right=hypothesis.strategies.text(), ) tests/test_compression/test_common.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ('7©Êÿ\x17\tß;U\U00069463\U0007e10bÃm\x0fWµ\U0003d40d\U0001971b\U000c63ecÃ', '', ArithNCD({'base': 2, 'terminator': None, 'qval': 1})) kwargs = {}, initial_draws = 1, start = 823872.465478612, result = None finish = 823872.691546413, internal_draw_time = 0 runtime = datetime.timedelta(microseconds=226068) current_deadline = timedelta(milliseconds=200) @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: > raise DeadlineExceeded(runtime, self.settings.deadline) E hypothesis.errors.DeadlineExceeded: Test took 226.07ms, which exceeds the deadline of 200.00ms E Falsifying example: test_simmetry( E left='7©Êÿ\x17\tß;U\U00069463\U0007e10bÃm\x0fWµ\U0003d40d\U0001971b\U000c63ecÃ', E right='', E alg=ArithNCD({'base': 2, 'terminator': None, 'qval': 1}), E ) /usr/lib/python3.11/site-packages/hypothesis/core.py:781: DeadlineExceeded _____________________ test_distance[frog-fog-0.916666666] ______________________ left = 'frog', right = 'fog', expected = 0.916666666 @pytest.mark.parametrize('left, right, expected', [ ('elephant', 'hippo', 0.44166666666666665), ('fly', 'ant', 0.0), ('frog', 'fog', 0.916666666), ('MARTHA', 'MARHTA', 0.9611111111111111), ('DWAYNE', 'DUANE', 0.84), ('DIXON', 'DICKSONX', 0.8133333333333332), # https://github.com/life4/textdistance/issues/39 ('duck donald', 'duck daisy', 0.867272727272), ]) def test_distance(left, right, expected): actual = ALG(winklerize=True, external=False)(left, right) assert isclose(actual, expected) actual = ALG(winklerize=True, external=True)(left, right) > assert isclose(actual, expected) E assert False E + where False = isclose(0.9249999999999999, 0.916666666) tests/test_edit/test_jaro_winkler.py:30: AssertionError =============================== warnings summary =============================== tests/test_common.py: 483 warnings /usr/lib/python3.11/site-packages/jellyfish/__init__.py:23: DeprecationWarning: the jaro_distance function incorrectly returns the jaro similarity, replace your usage with jaro_similarity before 1.0 warnings.warn( tests/test_common.py: 463 warnings tests/test_edit/test_jaro_winkler.py: 7 warnings tests/test_token/test_monge_elkan.py: 2 warnings /usr/lib/python3.11/site-packages/jellyfish/__init__.py:14: DeprecationWarning: the name 'jaro_winkler' is deprecated and will be removed in jellyfish 1.0, for the same functionality please use jaro_winkler_similarity warnings.warn( tests/test_common.py: 1087 warnings tests/test_sequence/test_lcsseq.py: 16 warnings /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/sequence_based.py:39: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations lengths = numpy.zeros((len(seq1) + 1, len(seq2) + 1), dtype=numpy.int) tests/test_common.py: 7285 warnings tests/test_edit/test_needleman_wunsch.py: 5 warnings /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/edit_based.py:395: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations dtype=numpy.float, tests/test_common.py: 523 warnings tests/test_edit/test_smith_waterman.py: 5 warnings /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/edit_based.py:445: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations dtype=numpy.float, tests/test_common.py: 488 warnings tests/test_edit/test_editex.py: 16 warnings tests/test_phonetic/test_editex.py: 48 warnings /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/phonetic.py:145: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations d_mat = numpy.zeros((len_s1 + 1, len_s2 + 1), dtype=numpy.int) tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/edit_based.py:494: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations d_mat = numpy.zeros((len_s1 + 1, len_s2 + 1), dtype=numpy.float) tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/edit_based.py:495: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations p_mat = numpy.zeros((len_s1 + 1, len_s2 + 1), dtype=numpy.float) tests/test_edit/test_gotoh.py::test_distance_ident[GATTACA-GCATGCU-0] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[GATTACA-GCATGCU-0] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-TGACGSTGC-1.5] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_05[AGACTAGTTAC-CGAGACGT-1] tests/test_edit/test_gotoh.py::test_distance_ident_with_gap_5[AGACTAGTTAC-CGAGACGT--15] /builddir/build/BUILD/textdistance-4.2.0/textdistance/algorithms/edit_based.py:496: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations q_mat = numpy.zeros((len_s1 + 1, len_s2 + 1), dtype=numpy.float) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_common.py::test_normalization_same[alg21] - hypothesis.erro... FAILED tests/test_common.py::test_normalization_monotonic[alg16] - hypothesis... FAILED tests/test_common.py::test_normalization_monotonic[alg21] - hypothesis... FAILED tests/test_compression/test_common.py::test_simmetry[alg0] - hypothesi... FAILED tests/test_edit/test_jaro_winkler.py::test_distance[frog-fog-0.916666666] == 5 failed, 374 passed, 19 deselected, 10443 warnings in 1541.40s (0:25:41) === error: Bad exit status from /var/tmp/rpm-tmp.HBt7Lc (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HBt7Lc (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-textdistance.spec