Source: python-tld
Version: 0.13-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250124 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/python-tld-0.13'
> dh_auto_build
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld  
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: 
> UserWarning: Unknown distribution option: 'test_suite'
>   warnings.warn(msg)
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: 
> UserWarning: Unknown distribution option: 'tests_require'
>   warnings.warn(msg)
> /usr/lib/python3/dist-packages/setuptools/dist.py:488: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'license-file' will not be supported in future
>         versions. Please use the underscore name 'license_file' instead.
> 
>         By 2025-Mar-03, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running bdist_wheel
> The [wheel] section is deprecated. Use [bdist_wheel] instead.
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:111: 
> SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
> !!
> 
>         
> ********************************************************************************
>         With Python 2.7 end-of-life, support for building universal wheels
>         (i.e., wheels that support both Python 2 and Python 3)
>         is being obviated.
>         Please discontinue using this option, or if you still need it,
>         file an issue with pypa/setuptools describing your use case.
> 
>         By 2025-Aug-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
>         
> ********************************************************************************
> 
> !!
>   self.finalize_options()
> running build
> running build_py
> creating build/lib/tld
> copying src/tld/utils.py -> build/lib/tld
> copying src/tld/helpers.py -> build/lib/tld
> copying src/tld/registry.py -> build/lib/tld
> copying src/tld/base.py -> build/lib/tld
> copying src/tld/conf.py -> build/lib/tld
> copying src/tld/__init__.py -> build/lib/tld
> copying src/tld/defaults.py -> build/lib/tld
> copying src/tld/exceptions.py -> build/lib/tld
> copying src/tld/trie.py -> build/lib/tld
> copying src/tld/result.py -> build/lib/tld
> creating build/lib/tld/tests
> copying src/tld/tests/test_registry.py -> build/lib/tld/tests
> copying src/tld/tests/base.py -> build/lib/tld/tests
> copying src/tld/tests/__init__.py -> build/lib/tld/tests
> copying src/tld/tests/test_core.py -> build/lib/tld/tests
> copying src/tld/py.typed -> build/lib/tld
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/tld
> copying build/lib/tld/utils.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/helpers.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/registry.py -> build/bdist.linux-x86_64/wheel/./tld
> creating build/bdist.linux-x86_64/wheel/tld/tests
> copying build/lib/tld/tests/test_registry.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/tests/base.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/tests/__init__.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/tests/test_core.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/py.typed -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/base.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/conf.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/__init__.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/defaults.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/exceptions.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/trie.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/result.py -> build/bdist.linux-x86_64/wheel/./tld
> running install_egg_info
> running egg_info
> creating src/tld.egg-info
> writing src/tld.egg-info/PKG-INFO
> writing dependency_links to src/tld.egg-info/dependency_links.txt
> writing top-level names to src/tld.egg-info/top_level.txt
> writing manifest file 'src/tld.egg-info/SOURCES.txt'
> reading manifest file 'src/tld.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*' under directory 'src_py27/tld/res'
> warning: no files found matching '*' under directory 'src_py35/tld/res'
> warning: no directories found matching 'src_py27/tld/tests/res'
> warning: no directories found matching 'src_py35/tld/tests/res'
> adding license file 'LICENSE_LGPL_2.1.txt'
> writing manifest file 'src/tld.egg-info/SOURCES.txt'
> Copying src/tld.egg-info to build/bdist.linux-x86_64/wheel/./tld-0.13.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/tld-0.13.dist-info/WHEEL
> creating 
> '/build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/.tmp-3ld5ib9h/tld-0.13-py2.py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'tld/__init__.py'
> adding 'tld/base.py'
> adding 'tld/conf.py'
> adding 'tld/defaults.py'
> adding 'tld/exceptions.py'
> adding 'tld/helpers.py'
> adding 'tld/py.typed'
> adding 'tld/registry.py'
> adding 'tld/result.py'
> adding 'tld/trie.py'
> adding 'tld/utils.py'
> adding 'tld/tests/__init__.py'
> adding 'tld/tests/base.py'
> adding 'tld/tests/test_core.py'
> adding 'tld/tests/test_registry.py'
> adding 'tld-0.13.dist-info/LICENSE_LGPL_2.1.txt'
> adding 'tld-0.13.dist-info/METADATA'
> adding 'tld-0.13.dist-info/WHEEL'
> adding 'tld-0.13.dist-info/top_level.txt'
> adding 'tld-0.13.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built tld-0.13-py2.py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
> module
> I: pybuild base:311: python3.13 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld  
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: 
> UserWarning: Unknown distribution option: 'test_suite'
>   warnings.warn(msg)
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: 
> UserWarning: Unknown distribution option: 'tests_require'
>   warnings.warn(msg)
> /usr/lib/python3/dist-packages/setuptools/dist.py:488: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'license-file' will not be supported in future
>         versions. Please use the underscore name 'license_file' instead.
> 
>         By 2025-Mar-03, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running bdist_wheel
> The [wheel] section is deprecated. Use [bdist_wheel] instead.
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:111: 
> SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
> !!
> 
>         
> ********************************************************************************
>         With Python 2.7 end-of-life, support for building universal wheels
>         (i.e., wheels that support both Python 2 and Python 3)
>         is being obviated.
>         Please discontinue using this option, or if you still need it,
>         file an issue with pypa/setuptools describing your use case.
> 
>         By 2025-Aug-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
>         
> ********************************************************************************
> 
> !!
>   self.finalize_options()
> running build
> running build_py
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/tld
> copying build/lib/tld/utils.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/helpers.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/registry.py -> build/bdist.linux-x86_64/wheel/./tld
> creating build/bdist.linux-x86_64/wheel/tld/tests
> copying build/lib/tld/tests/test_registry.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/tests/base.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/tests/__init__.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/tests/test_core.py -> 
> build/bdist.linux-x86_64/wheel/./tld/tests
> copying build/lib/tld/py.typed -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/base.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/conf.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/__init__.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/defaults.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/exceptions.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/trie.py -> build/bdist.linux-x86_64/wheel/./tld
> copying build/lib/tld/result.py -> build/bdist.linux-x86_64/wheel/./tld
> running install_egg_info
> running egg_info
> writing src/tld.egg-info/PKG-INFO
> writing dependency_links to src/tld.egg-info/dependency_links.txt
> writing top-level names to src/tld.egg-info/top_level.txt
> reading manifest file 'src/tld.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*' under directory 'src_py27/tld/res'
> warning: no files found matching '*' under directory 'src_py35/tld/res'
> warning: no directories found matching 'src_py27/tld/tests/res'
> warning: no directories found matching 'src_py35/tld/tests/res'
> adding license file 'LICENSE_LGPL_2.1.txt'
> writing manifest file 'src/tld.egg-info/SOURCES.txt'
> Copying src/tld.egg-info to build/bdist.linux-x86_64/wheel/./tld-0.13.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/tld-0.13.dist-info/WHEEL
> creating 
> '/build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/.tmp-gobxq80x/tld-0.13-py2.py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'tld/__init__.py'
> adding 'tld/base.py'
> adding 'tld/conf.py'
> adding 'tld/defaults.py'
> adding 'tld/exceptions.py'
> adding 'tld/helpers.py'
> adding 'tld/py.typed'
> adding 'tld/registry.py'
> adding 'tld/result.py'
> adding 'tld/trie.py'
> adding 'tld/utils.py'
> adding 'tld/tests/__init__.py'
> adding 'tld/tests/base.py'
> adding 'tld/tests/test_core.py'
> adding 'tld/tests/test_registry.py'
> adding 'tld-0.13.dist-info/LICENSE_LGPL_2.1.txt'
> adding 'tld-0.13.dist-info/METADATA'
> adding 'tld-0.13.dist-info/WHEEL'
> adding 'tld-0.13.dist-info/top_level.txt'
> adding 'tld-0.13.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built tld-0.13-py2.py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
> "installer" module
> PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ 
> build/html # HTML generator
> Running Sphinx v8.1.3
> loading translations [en]... done
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
> 'restructuredtext'}`.
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 7 source files that are out of date
> updating environment: [new config] 7 added, 0 changed, 0 removed
> reading sources... [ 14%] changelog
> reading sources... [ 29%] code_of_conduct
> reading sources... [ 43%] contributor_guidelines
> reading sources... [ 57%] documentation
> reading sources... [ 71%] index
> reading sources... [ 86%] security
> reading sources... [100%] tld
> 
> /build/reproducible-path/python-tld-0.13/docs/documentation.rst:9: WARNING: 
> toctree contains reference to nonexisting document 'index' [toc.not_readable]
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... 
> /build/reproducible-path/python-tld-0.13/docs/changelog.rst: document is 
> referenced in multiple toctrees: ['documentation', 'index'], selecting: index 
> <- changelog
> /build/reproducible-path/python-tld-0.13/docs/code_of_conduct.rst: document 
> is referenced in multiple toctrees: ['documentation', 'index'], selecting: 
> index <- code_of_conduct
> /build/reproducible-path/python-tld-0.13/docs/contributor_guidelines.rst: 
> document is referenced in multiple toctrees: ['documentation', 'index'], 
> selecting: index <- contributor_guidelines
> /build/reproducible-path/python-tld-0.13/docs/security.rst: document is 
> referenced in multiple toctrees: ['documentation', 'index'], selecting: index 
> <- security
> /build/reproducible-path/python-tld-0.13/docs/tld.rst: document is referenced 
> in multiple toctrees: ['documentation', 'index'], selecting: index <- tld
> done
> preparing documents... done
> copying assets... 
> copying static files... 
> Writing evaluated template result to 
> /build/reproducible-path/python-tld-0.13/build/html/_static/documentation_options.js
> Writing evaluated template result to 
> /build/reproducible-path/python-tld-0.13/build/html/_static/basic.css
> Writing evaluated template result to 
> /build/reproducible-path/python-tld-0.13/build/html/_static/language_data.js
> Writing evaluated template result to 
> /build/reproducible-path/python-tld-0.13/build/html/_static/classic.css
> Writing evaluated template result to 
> /build/reproducible-path/python-tld-0.13/build/html/_static/sidebar.js
> copying static files: done
> copying extra files... 
> copying extra files: done
> copying assets: done
> writing output... [ 14%] changelog
> writing output... [ 29%] code_of_conduct
> writing output... [ 43%] contributor_guidelines
> writing output... [ 57%] documentation
> writing output... [ 71%] index
> writing output... [ 86%] security
> writing output... [100%] tld
> 
> generating indices... genindex py-modindex done
> highlighting module code... [ 14%] tld.base
> highlighting module code... [ 29%] tld.conf
> highlighting module code... [ 43%] tld.exceptions
> highlighting module code... [ 57%] tld.helpers
> highlighting module code... [ 71%] tld.result
> highlighting module code... [ 86%] tld.trie
> highlighting module code... [100%] tld.utils
> 
> writing additional pages... search done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 2 warnings.
> 
> The HTML pages are in build/html.
> make[1]: Leaving directory '/build/reproducible-path/python-tld-0.13'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:308: mkdir -p 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build/tld/res;ln
>  -sf /usr/share/publicsuffix/effective_tld_names.dat 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build/tld/res/effective_tld_names.dat.txt;cp
>  -r /build/reproducible-path/python-tld-0.13/src/tld/tests/res 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build/tld/tests
> I: pybuild base:311: cd 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build; 
> python3.12 -m pytest -k 'not test_7_public_private and not test_26_case'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
> rootdir: 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build
> configfile: pytest.ini
> plugins: cov-5.0.0, typeguard-4.4.1, Faker-33.1.0
> collected 26 items / 2 deselected / 24 selected
> 
> tld/tests/test_core.py ..FF............F..F..F
> tld/tests/test_registry.py .
> 
> =================================== FAILURES 
> ===================================
> ___________________ TestCore.test_11_parse_tld_good_patterns 
> ___________________
> 
> self = <tld.tests.test_core.TestCore 
> testMethod=test_11_parse_tld_good_patterns>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:583: in test_11_parse_tld_good_patterns
>     self.assertEqual(
> E   AssertionError: Tuples differ: ('com.au', 'blogspot', 'm.fr') != 
> ('blogspot.com.au', 'fr', 'm')
> E   
> E   First differing element 0:
> E   'com.au'
> E   'blogspot.com.au'
> E   
> E   - ('com.au', 'blogspot', 'm.fr')
> E   + ('blogspot.com.au', 'fr', 'm')
> ____________________ TestCore.test_12_is_tld_good_patterns 
> _____________________
> 
> self = <tld.tests.test_core.TestCore testMethod=test_12_is_tld_good_patterns>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:593: in test_12_is_tld_good_patterns
>     self.assertTrue(is_tld(data["tld"]))
> E   AssertionError: False is not true
> ____________________ TestCore.test_2_fld_good_patterns_pass 
> ____________________
> 
> self = <tld.tests.test_core.TestCore testMethod=test_2_fld_good_patterns_pass>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:432: in test_2_fld_good_patterns_pass
>     self.assertEqual(_res, data["fld"])
> E   AssertionError: 'blogspot.com.au' != 'fr.blogspot.com.au'
> E   - blogspot.com.au
> E   + fr.blogspot.com.au
> E   ? +++
> _____________ TestCore.test_5_tld_good_patterns_pass_parsed_object 
> _____________
> 
> self = <tld.tests.test_core.TestCore 
> testMethod=test_5_tld_good_patterns_pass_parsed_object>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:470: in test_5_tld_good_patterns_pass_parsed_object
>     self.assertEqual(_res.tld, data["tld"])
> E   AssertionError: 'com.au' != 'blogspot.com.au'
> E   - com.au
> E   + blogspot.com.au
> ____________________ TestCore.test_9_tld_good_patterns_pass 
> ____________________
> 
> self = <tld.tests.test_core.TestCore testMethod=test_9_tld_good_patterns_pass>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:563: in test_9_tld_good_patterns_pass
>     self.assertEqual(_res, data["tld"])
> E   AssertionError: 'com.au' != 'blogspot.com.au'
> E   - com.au
> E   + blogspot.com.au
> =============================== warnings summary 
> ===============================
> tld/tests/test_core.py::TestCore::test_0_tld_names_loaded
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_0_tld_names_loaded>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_10_tld_bad_patterns_pass
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_10_tld_bad_patterns_pass>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_20_parse_tld_custom_tld_names_good_patterns
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_20_parse_tld_custom_tld_names_good_patterns>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_21_tld_custom_tld_names_good_patterns_pass_parsed_object
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_21_tld_custom_tld_names_good_patterns_pass_parsed_object>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_22_reset_tld_names_for_custom_parser
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_22_reset_tld_names_for_custom_parser>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_27_tld_fail_silently_pass
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_27_tld_fail_silently_pass>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_3_fld_bad_patterns_pass
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_3_fld_bad_patterns_pass>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_4_override_settings
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_4_override_settings>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_8_fld_bad_patterns_exceptions
>   /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_8_fld_bad_patterns_exceptions>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_registry.py::TestRegistry::test_import_from_registry
>   
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build/tld/registry.py:10:
>  DeprecationWarning: The `Registry` class is moved from `tld.registry` to 
> `tld.base`.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> 
> ---------- coverage: platform linux, python 3.12.8-final-0 -----------
> Name                         Stmts   Miss  Cover
> ------------------------------------------------
> tld/__init__.py                  7      0   100%
> tld/base.py                     59      9    85%
> tld/conf.py                     25      1    96%
> tld/defaults.py                  7      0   100%
> tld/exceptions.py               12      0   100%
> tld/helpers.py                  10      0   100%
> tld/registry.py                  7      0   100%
> tld/result.py                   29      1    97%
> tld/tests/__init__.py            0      0   100%
> tld/tests/base.py               47     19    60%
> tld/tests/test_core.py         289     33    89%
> tld/tests/test_registry.py       8      0   100%
> tld/trie.py                     37      0   100%
> tld/utils.py                   206     33    84%
> ------------------------------------------------
> TOTAL                          743     96    87%
> Coverage annotated source written next to source
> Coverage HTML written to dir htmlcov
> 
> =========================== short test summary info 
> ============================
> FAILED tld/tests/test_core.py::TestCore::test_11_parse_tld_good_patterns - 
> As...
> FAILED tld/tests/test_core.py::TestCore::test_12_is_tld_good_patterns - 
> Asser...
> FAILED tld/tests/test_core.py::TestCore::test_2_fld_good_patterns_pass - 
> Asse...
> FAILED 
> tld/tests/test_core.py::TestCore::test_5_tld_good_patterns_pass_parsed_object
> FAILED tld/tests/test_core.py::TestCore::test_9_tld_good_patterns_pass - 
> Asse...
> =========== 5 failed, 19 passed, 2 deselected, 10 warnings in 1.43s 
> ============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.12_tld/build; 
> python3.12 -m pytest -k 'not test_7_public_private and not test_26_case'
> I: pybuild pybuild:308: mkdir -p 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build/tld/res;ln
>  -sf /usr/share/publicsuffix/effective_tld_names.dat 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build/tld/res/effective_tld_names.dat.txt;cp
>  -r /build/reproducible-path/python-tld-0.13/src/tld/tests/res 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build/tld/tests
> I: pybuild base:311: cd 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build; 
> python3.13 -m pytest -k 'not test_7_public_private and not test_26_case'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
> rootdir: 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build
> configfile: pytest.ini
> plugins: cov-5.0.0, typeguard-4.4.1, Faker-33.1.0
> collected 26 items / 2 deselected / 24 selected
> 
> tld/tests/test_core.py ..FF............F..F..F
> tld/tests/test_registry.py .
> 
> =================================== FAILURES 
> ===================================
> ___________________ TestCore.test_11_parse_tld_good_patterns 
> ___________________
> 
> self = <tld.tests.test_core.TestCore 
> testMethod=test_11_parse_tld_good_patterns>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:583: in test_11_parse_tld_good_patterns
>     self.assertEqual(
> E   AssertionError: Tuples differ: ('com.au', 'blogspot', 'm.fr') != 
> ('blogspot.com.au', 'fr', 'm')
> E   
> E   First differing element 0:
> E   'com.au'
> E   'blogspot.com.au'
> E   
> E   - ('com.au', 'blogspot', 'm.fr')
> E   + ('blogspot.com.au', 'fr', 'm')
> ____________________ TestCore.test_12_is_tld_good_patterns 
> _____________________
> 
> self = <tld.tests.test_core.TestCore testMethod=test_12_is_tld_good_patterns>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:593: in test_12_is_tld_good_patterns
>     self.assertTrue(is_tld(data["tld"]))
> E   AssertionError: False is not true
> ____________________ TestCore.test_2_fld_good_patterns_pass 
> ____________________
> 
> self = <tld.tests.test_core.TestCore testMethod=test_2_fld_good_patterns_pass>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:432: in test_2_fld_good_patterns_pass
>     self.assertEqual(_res, data["fld"])
> E   AssertionError: 'blogspot.com.au' != 'fr.blogspot.com.au'
> E   - blogspot.com.au
> E   + fr.blogspot.com.au
> E   ? +++
> _____________ TestCore.test_5_tld_good_patterns_pass_parsed_object 
> _____________
> 
> self = <tld.tests.test_core.TestCore 
> testMethod=test_5_tld_good_patterns_pass_parsed_object>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:470: in test_5_tld_good_patterns_pass_parsed_object
>     self.assertEqual(_res.tld, data["tld"])
> E   AssertionError: 'com.au' != 'blogspot.com.au'
> E   - com.au
> E   + blogspot.com.au
> ____________________ TestCore.test_9_tld_good_patterns_pass 
> ____________________
> 
> self = <tld.tests.test_core.TestCore testMethod=test_9_tld_good_patterns_pass>
> args = (), kwargs = {}
> 
>     def inner(self, *args, **kwargs):
>         """Inner."""
> >       result = func(self, *args, **kwargs)
> 
> tld/tests/base.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tld/tests/test_core.py:563: in test_9_tld_good_patterns_pass
>     self.assertEqual(_res, data["tld"])
> E   AssertionError: 'com.au' != 'blogspot.com.au'
> E   - com.au
> E   + blogspot.com.au
> =============================== warnings summary 
> ===============================
> tld/tests/test_core.py::TestCore::test_0_tld_names_loaded
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_0_tld_names_loaded>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_10_tld_bad_patterns_pass
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_10_tld_bad_patterns_pass>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_20_parse_tld_custom_tld_names_good_patterns
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_20_parse_tld_custom_tld_names_good_patterns>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_21_tld_custom_tld_names_good_patterns_pass_parsed_object
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_21_tld_custom_tld_names_good_patterns_pass_parsed_object>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_22_reset_tld_names_for_custom_parser
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_22_reset_tld_names_for_custom_parser>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_27_tld_fail_silently_pass
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_27_tld_fail_silently_pass>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_3_fld_bad_patterns_pass
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_3_fld_bad_patterns_pass>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_4_override_settings
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_4_override_settings>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_core.py::TestCore::test_8_fld_bad_patterns_exceptions
>   /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
> deprecated to return a value that is not None from a test case (<bound method 
> log_info.<locals>.inner of <tld.tests.test_core.TestCore 
> testMethod=test_8_fld_bad_patterns_exceptions>>)
>     return self.run(*args, **kwds)
> 
> tld/tests/test_registry.py::TestRegistry::test_import_from_registry
>   
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build/tld/registry.py:10:
>  DeprecationWarning: The `Registry` class is moved from `tld.registry` to 
> `tld.base`.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> 
> ---------- coverage: platform linux, python 3.13.1-final-0 -----------
> Name                         Stmts   Miss  Cover
> ------------------------------------------------
> tld/__init__.py                  7      0   100%
> tld/base.py                     59      9    85%
> tld/conf.py                     25      1    96%
> tld/defaults.py                  7      0   100%
> tld/exceptions.py               12      0   100%
> tld/helpers.py                  10      0   100%
> tld/registry.py                  7      0   100%
> tld/result.py                   29      1    97%
> tld/tests/__init__.py            0      0   100%
> tld/tests/base.py               47     19    60%
> tld/tests/test_core.py         289     33    89%
> tld/tests/test_registry.py       8      0   100%
> tld/trie.py                     37      0   100%
> tld/utils.py                   206     33    84%
> ------------------------------------------------
> TOTAL                          743     96    87%
> Coverage annotated source written next to source
> Coverage HTML written to dir htmlcov
> 
> =========================== short test summary info 
> ============================
> FAILED tld/tests/test_core.py::TestCore::test_11_parse_tld_good_patterns - 
> As...
> FAILED tld/tests/test_core.py::TestCore::test_12_is_tld_good_patterns - 
> Asser...
> FAILED tld/tests/test_core.py::TestCore::test_2_fld_good_patterns_pass - 
> Asse...
> FAILED 
> tld/tests/test_core.py::TestCore::test_5_tld_good_patterns_pass_parsed_object
> FAILED tld/tests/test_core.py::TestCore::test_9_tld_good_patterns_pass - 
> Asse...
> =========== 5 failed, 19 passed, 2 deselected, 10 warnings in 1.27s 
> ============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /build/reproducible-path/python-tld-0.13/.pybuild/cpython3_3.13_tld/build; 
> python3.13 -m pytest -k 'not test_7_public_private and not test_26_case'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.13" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2025/01/24/python-tld_0.13-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&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.

Reply via email to