Your message dated Tue, 19 Dec 2023 12:12:49 +0000
with message-id <e1rfyxt-00dbhe...@fasolo.debian.org>
and subject line Bug#1058429: fixed in textdistance 4.6.0-1
has caused the Debian Bug report #1058429,
regarding textdistance: FTBFS: FAILED 
tests/test_external.py::test_list_of_numbers[Hamming] - RuntimeError: ...
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1058429: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058429
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: textdistance
Version: 4.5.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
> I: pybuild base:310: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance
> copying textdistance/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance
> copying textdistance/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance
> copying textdistance/libraries.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance
> copying textdistance/benchmark.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/compression_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/edit_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/phonetic.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/simple.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/token_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/vector_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/algorithms/sequence_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance/algorithms
> copying textdistance/libraries.json -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/textdistance
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance
> copying textdistance/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance
> copying textdistance/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance
> copying textdistance/libraries.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance
> copying textdistance/benchmark.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/compression_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/edit_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/phonetic.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/simple.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/token_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/vector_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/algorithms/sequence_based.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance/algorithms
> copying textdistance/libraries.json -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/textdistance
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
> python3.12 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: hypothesis-6.92.0
> collected 430 items
> 
> tests/test_common.py ................................................... [ 
> 11%]
> ........................................................................ [ 
> 28%]
> .............................................                            [ 
> 39%]
> tests/test_external.py .F..F.F..F.F..F.F..F.F..F.F..F                    [ 
> 46%]
> tests/test_compression/test_arith_ncd.py ....                            [ 
> 46%]
> tests/test_compression/test_bwtrle_ncd.py ..                             [ 
> 47%]
> tests/test_compression/test_bz2_ncd.py ..                                [ 
> 47%]
> tests/test_compression/test_common.py ............................       [ 
> 54%]
> tests/test_compression/test_entropy_ncd.py ........                      [ 
> 56%]
> tests/test_compression/test_sqrt_ncd.py .......                          [ 
> 57%]
> tests/test_edit/test_damerau_levenshtein.py ............................ [ 
> 64%]
> ....                                                                     [ 
> 65%]
> tests/test_edit/test_editex.py ............                              [ 
> 68%]
> tests/test_edit/test_gotoh.py .....                                      [ 
> 69%]
> tests/test_edit/test_hamming.py ......                                   [ 
> 70%]
> tests/test_edit/test_jaro.py ........                                    [ 
> 72%]
> tests/test_edit/test_jaro_winkler.py .......                             [ 
> 74%]
> tests/test_edit/test_levenshtein.py ......                               [ 
> 75%]
> tests/test_edit/test_matrix.py ..........                                [ 
> 77%]
> tests/test_edit/test_mlipns.py ...........                               [ 
> 80%]
> tests/test_edit/test_needleman_wunsch.py .....                           [ 
> 81%]
> tests/test_edit/test_smith_waterman.py .....                             [ 
> 82%]
> tests/test_edit/test_strcmp95.py ....                                    [ 
> 83%]
> tests/test_phonetic/test_editex.py ..............................        [ 
> 90%]
> tests/test_sequence/test_lcsseq.py ...........                           [ 
> 93%]
> tests/test_sequence/test_lcsstr.py ..........                            [ 
> 95%]
> tests/test_token/test_bag.py ....                                        [ 
> 96%]
> tests/test_token/test_cosine.py ..                                       [ 
> 96%]
> tests/test_token/test_jaccard.py .....                                   [ 
> 98%]
> tests/test_token/test_monge_elkan.py ..                                  [ 
> 98%]
> tests/test_token/test_overlap.py ...                                     [ 
> 99%]
> tests/test_token/test_sorensen.py ...                                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ____________________________ test_compare[Hamming] 
> _____________________________
> 
> alg = 'Hamming'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:24: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Hamming'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.settings(deadline=None)
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     def test_compare(left, right, alg):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.hamming
> E               Falsifying example: test_compare(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Hamming',
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:37: RuntimeError
> __________________________ test_compare[Levenshtein] 
> ___________________________
> 
> alg = 'Levenshtein'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:24: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Levenshtein'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.settings(deadline=None)
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     def test_compare(left, right, alg):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.distance
> E               Falsifying example: test_compare(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Levenshtein',
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:37: RuntimeError
> ___________________________ test_qval[None-Hamming] 
> ____________________________
> 
> alg = 'Hamming', qval = None
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Hamming', qval = None
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.hamming
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Hamming',
> E                   qval=None,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> _________________________ test_qval[None-Levenshtein] 
> __________________________
> 
> alg = 'Levenshtein', qval = None
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Levenshtein', qval = None
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.distance
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Levenshtein',
> E                   qval=None,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> _____________________________ test_qval[1-Hamming] 
> _____________________________
> 
> alg = 'Hamming', qval = 1
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Hamming', qval = 1
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.hamming
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Hamming',
> E                   qval=1,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> ___________________________ test_qval[1-Levenshtein] 
> ___________________________
> 
> alg = 'Levenshtein', qval = 1
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Levenshtein', qval = 1
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.distance
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Levenshtein',
> E                   qval=1,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> _____________________________ test_qval[2-Hamming] 
> _____________________________
> 
> alg = 'Hamming', qval = 2
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Hamming', qval = 2
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.hamming
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Hamming',
> E                   qval=2,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> ___________________________ test_qval[2-Levenshtein] 
> ___________________________
> 
> alg = 'Levenshtein', qval = 2
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Levenshtein', qval = 2
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.distance
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Levenshtein',
> E                   qval=2,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> _____________________________ test_qval[3-Hamming] 
> _____________________________
> 
> alg = 'Hamming', qval = 3
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Hamming', qval = 3
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.hamming
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Hamming',
> E                   qval=3,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> ___________________________ test_qval[3-Levenshtein] 
> ___________________________
> 
> alg = 'Levenshtein', qval = 3
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = '0', right = '0', alg = 'Levenshtein', qval = 3
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.text(min_size=1),
>         right=hypothesis.strategies.text(min_size=1),
>     )
>     @pytest.mark.parametrize('qval', (None, 1, 2, 3))
>     def test_qval(left, right, alg, qval):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.distance
> E               Falsifying example: test_qval(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Levenshtein',
> E                   qval=3,
> E                   left='0',  # or any other generated value
> E                   right='0',  # or any other generated value
> E               )
> 
> tests/test_external.py:62: RuntimeError
> ________________________ test_list_of_numbers[Hamming] 
> _________________________
> 
> alg = 'Hamming'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:84: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = [], right = [], alg = 'Hamming'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.lists(hypothesis.strategies.integers()),
>         right=hypothesis.strategies.lists(hypothesis.strategies.integers()),
>     )
>     def test_list_of_numbers(left, right, alg):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.hamming
> E               Falsifying example: test_list_of_numbers(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Hamming',
> E                   left=[],  # or any other generated value
> E                   right=[],  # or any other generated value
> E               )
> 
> tests/test_external.py:96: RuntimeError
> ______________________ test_list_of_numbers[Levenshtein] 
> _______________________
> 
> alg = 'Levenshtein'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
> >   @pytest.mark.external
> 
> tests/test_external.py:84: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> left = [], right = [], alg = 'Levenshtein'
> 
>     @pytest.mark.filterwarnings(*ABYDOS_WARNINGS)
>     @pytest.mark.external
>     @pytest.mark.parametrize('alg', libraries.get_algorithms())
>     @hypothesis.given(
>         left=hypothesis.strategies.lists(hypothesis.strategies.integers()),
>         right=hypothesis.strategies.lists(hypothesis.strategies.integers()),
>     )
>     def test_list_of_numbers(left, right, alg):
>         for lib in libraries.get_libs(alg):
>             conditions = lib.conditions or {}
>             internal_func = getattr(textdistance, alg)(external=False, 
> **conditions)
>             external_func = lib.get_function()
>             if external_func is None:
> >               raise RuntimeError('cannot import {}'.format(str(lib)))
> E               RuntimeError: cannot import Levenshtein.distance
> E               Falsifying example: test_list_of_numbers(
> E                   # The test always failed when commented parts were varied 
> together.
> E                   alg='Levenshtein',
> E                   left=[],  # or any other generated value
> E                   right=[],  # or any other generated value
> E               )
> 
> tests/test_external.py:96: RuntimeError
> =========================== short test summary info 
> ============================
> FAILED tests/test_external.py::test_compare[Hamming] - RuntimeError: cannot 
> i...
> FAILED tests/test_external.py::test_compare[Levenshtein] - RuntimeError: 
> cann...
> FAILED tests/test_external.py::test_qval[None-Hamming] - RuntimeError: 
> cannot...
> FAILED tests/test_external.py::test_qval[None-Levenshtein] - RuntimeError: 
> ca...
> FAILED tests/test_external.py::test_qval[1-Hamming] - RuntimeError: cannot 
> im...
> FAILED tests/test_external.py::test_qval[1-Levenshtein] - RuntimeError: 
> canno...
> FAILED tests/test_external.py::test_qval[2-Hamming] - RuntimeError: cannot 
> im...
> FAILED tests/test_external.py::test_qval[2-Levenshtein] - RuntimeError: 
> canno...
> FAILED tests/test_external.py::test_qval[3-Hamming] - RuntimeError: cannot 
> im...
> FAILED tests/test_external.py::test_qval[3-Levenshtein] - RuntimeError: 
> canno...
> FAILED tests/test_external.py::test_list_of_numbers[Hamming] - RuntimeError: 
> ...
> FAILED tests/test_external.py::test_list_of_numbers[Levenshtein] - 
> RuntimeErr...
> ================== 12 failed, 418 passed in 100.24s (0:01:40) 
> ==================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest tests
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: hypothesis-6.92.0
> collected 430 items
> 
> tests/test_common.py ................................................... [ 
> 11%]
> ........................................................................ [ 
> 28%]
> .............................................                            [ 
> 39%]
> tests/test_external.py ..............................                    [ 
> 46%]
> tests/test_compression/test_arith_ncd.py ....                            [ 
> 46%]
> tests/test_compression/test_bwtrle_ncd.py ..                             [ 
> 47%]
> tests/test_compression/test_bz2_ncd.py ..                                [ 
> 47%]
> tests/test_compression/test_common.py ............................       [ 
> 54%]
> tests/test_compression/test_entropy_ncd.py ........                      [ 
> 56%]
> tests/test_compression/test_sqrt_ncd.py .......                          [ 
> 57%]
> tests/test_edit/test_damerau_levenshtein.py ............................ [ 
> 64%]
> ....                                                                     [ 
> 65%]
> tests/test_edit/test_editex.py ............                              [ 
> 68%]
> tests/test_edit/test_gotoh.py .....                                      [ 
> 69%]
> tests/test_edit/test_hamming.py ......                                   [ 
> 70%]
> tests/test_edit/test_jaro.py ........                                    [ 
> 72%]
> tests/test_edit/test_jaro_winkler.py .......                             [ 
> 74%]
> tests/test_edit/test_levenshtein.py ......                               [ 
> 75%]
> tests/test_edit/test_matrix.py ..........                                [ 
> 77%]
> tests/test_edit/test_mlipns.py ...........                               [ 
> 80%]
> tests/test_edit/test_needleman_wunsch.py .....                           [ 
> 81%]
> tests/test_edit/test_smith_waterman.py .....                             [ 
> 82%]
> tests/test_edit/test_strcmp95.py ....                                    [ 
> 83%]
> tests/test_phonetic/test_editex.py ..............................        [ 
> 90%]
> tests/test_sequence/test_lcsseq.py ...........                           [ 
> 93%]
> tests/test_sequence/test_lcsstr.py ..........                            [ 
> 95%]
> tests/test_token/test_bag.py ....                                        [ 
> 96%]
> tests/test_token/test_cosine.py ..                                       [ 
> 96%]
> tests/test_token/test_jaccard.py .....                                   [ 
> 98%]
> tests/test_token/test_monge_elkan.py ..                                  [ 
> 98%]
> tests/test_token/test_overlap.py ...                                     [ 
> 99%]
> tests/test_token/test_sorensen.py ...                                    
> [100%]
> 
> ============================= 430 passed in 40.44s 
> =============================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/textdistance_4.5.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: textdistance
Source-Version: 4.6.0-1
Done: Julian Gilbey <j...@debian.org>

We believe that the bug you reported is fixed in the latest version of
textdistance, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Gilbey <j...@debian.org> (supplier of updated textdistance package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 19 Dec 2023 11:25:15 +0000
Source: textdistance
Architecture: source
Version: 4.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Julian Gilbey <j...@debian.org>
Closes: 1058429
Changes:
 textdistance (4.6.0-1) unstable; urgency=medium
 .
   * New upstream version (closes: #1058429)
   * Drop dependencies on libraries that are no longer used (abydos,
     py_stringmatching and python-Levenshtein), as well as on libraries
     that are not available in Debian (rapidfuzz, Levenshtein)
Checksums-Sha1:
 a85b41ee445abc102dcf1aa71faced9b4c3059c1 2498 textdistance_4.6.0-1.dsc
 915c419046b95a98912526ad11a93831818d27f0 46639 textdistance_4.6.0.orig.tar.gz
 f9ef42ea14e48647bfb219e198d0f8dc4aa5cd9e 3832 
textdistance_4.6.0-1.debian.tar.xz
 7ef44e104b481f79f371b3c404d7fdcb5c8b9ead 7615 
textdistance_4.6.0-1_amd64.buildinfo
Checksums-Sha256:
 b140984b1a23767c31091f88136302657cdfc529865349937ffdc9e7ad5d39d6 2498 
textdistance_4.6.0-1.dsc
 8da297cafe0c0a99ed859ef80c6328b9235a365832c8bc17c6887d48998bee6f 46639 
textdistance_4.6.0.orig.tar.gz
 4f367b579798641cc17fb0ac6d89db60b863150f3f0a827019c78f49142a0ee7 3832 
textdistance_4.6.0-1.debian.tar.xz
 ca557000cc57f148118ff5290b1759d5d2278465f2da9a0d29d41a5e56d65a86 7615 
textdistance_4.6.0-1_amd64.buildinfo
Files:
 601cff0ba3a5434bb841cf6830f7d5b4 2498 python optional textdistance_4.6.0-1.dsc
 2b53399cf15c2646dac8cd6f3ef9a9db 46639 python optional 
textdistance_4.6.0.orig.tar.gz
 b5626890b566699cfbbfd7ff2a5ce264 3832 python optional 
textdistance_4.6.0-1.debian.tar.xz
 176531ae02a61220c8eb622e2071a56b 7615 python optional 
textdistance_4.6.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmWBgM4PHGpkZ0BkZWJp
YW4ub3JnAAoJEGlcQpMWwHv+5E8P/jOKCQ4eVis7lYYoHScdafe2s6M7z358JkUF
Ekljv29MP9jEXCCQMo9Q9XYNz/E3MBsam9idZSQhdonazUfLmQYfkXjJ9QELdjr1
KyyCh0UPKZqBjQSYksPwjKjZfCsp6mvZOghsZJUOLH8wbU1y6PzucGFBQ4AV3Wrp
xPMqk4+AsoSoSDs/JLs6feUjHd2W8w4qyNBFHGmCQhueqOo8Kpt/4aKKA2/Hz4J6
3ssgy5yWSIss/kUgsCcPgn1/JVenEYG9DvaSoai4Zmm/IYihx/LeAcOBhpPy4Fnw
1zYKDco0nuUTRKD7p82wlnqW5FDSog+VufALkWCCpQHl8YgOmFJFl+rxnlNNk9AA
iCZEgl+dSmJH02U7IOQxcC31jIVUMt8OCZLHIrGNnzmA46cov+RNd1xSjXNzPUAP
J+GNzmdxE1To67hW4K10zGDUAH0Vn5ga6TGlpfzp3cYCLKPe0PsWMjF2SZSlcayp
UD++5E5MV1d8kbh3kTDQnyWxJQmRIc3JWSYqmKXn2zvhrR9XqD+/SmdUgGY9ay4+
WrGMPK3ZNXkKlKOWGw8mI5FnGHBPA9gcquDjnlmlGk1pfJFaElJXDeTJ9mGTPnd7
xN7WkpJmXpGeU50uEahb2tJhOVVXwMtEem0LcawXClKYl712oT66y7m0ta5fai4B
3fYnft5C
=OIpU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to