Source: python-languagecodes
Version: 1.1.1-2
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/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' 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.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /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/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' 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.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /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/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' 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.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /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_languagecodes/build/languagecodes
> copying languagecodes/iso639.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> copying languagecodes/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> copying languagecodes/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> copying languagecodes/generate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> copying languagecodes/synonyms.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> running egg_info
> creating languagecodes.egg-info
> writing languagecodes.egg-info/PKG-INFO
> writing dependency_links to languagecodes.egg-info/dependency_links.txt
> writing namespace_packages to languagecodes.egg-info/namespace_packages.txt
> writing requirements to languagecodes.egg-info/requires.txt
> writing top-level names to languagecodes.egg-info/top_level.txt
> writing manifest file 'languagecodes.egg-info/SOURCES.txt'
> reading manifest file 'languagecodes.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'languagecodes.egg-info/SOURCES.txt'
> copying languagecodes/iso-639-3.tab -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> copying languagecodes/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build/languagecodes
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/dist.py:744: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' 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.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> /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_languagecodes/build/languagecodes
> copying languagecodes/iso639.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
> copying languagecodes/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
> copying languagecodes/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
> copying languagecodes/generate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
> copying languagecodes/synonyms.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
> running egg_info
> writing languagecodes.egg-info/PKG-INFO
> writing dependency_links to languagecodes.egg-info/dependency_links.txt
> writing namespace_packages to languagecodes.egg-info/namespace_packages.txt
> writing requirements to languagecodes.egg-info/requires.txt
> writing top-level names to languagecodes.egg-info/top_level.txt
> reading manifest file 'languagecodes.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'languagecodes.egg-info/SOURCES.txt'
> copying languagecodes/iso-639-3.tab -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
> copying languagecodes/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/languagecodes
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/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>>
> collected 3 items
> 
> tests/test_codes.py FF.                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ____________________________ CodesTest.test_alpha2 
> _____________________________
> 
> self = <tests.test_codes.CodesTest testMethod=test_alpha2>
> 
>     def test_alpha2(self):
>         self.assertIsNone(iso_639_alpha2(""))
>         self.assertIsNone(iso_639_alpha2("banana"))
>         self.assertIsNone(iso_639_alpha2("gub"))
> >       self.assertEquals(iso_639_alpha2("eng"), "en")
> E       AttributeError: 'CodesTest' object has no attribute 'assertEquals'. 
> Did you mean: 'assertEqual'?
> 
> tests/test_codes.py:22: AttributeError
> ____________________________ CodesTest.test_alpha3 
> _____________________________
> 
> self = <tests.test_codes.CodesTest testMethod=test_alpha3>
> 
>     def test_alpha3(self):
>         self.assertIsNone(iso_639_alpha3(""))
>         self.assertIsNone(iso_639_alpha3(None))
>         self.assertIsNone(iso_639_alpha3(6))
>         self.assertIsNone(iso_639_alpha3("banana"))
> >       self.assertEquals(iso_639_alpha3("gub"), "gub")
> E       AttributeError: 'CodesTest' object has no attribute 'assertEquals'. 
> Did you mean: 'assertEqual'?
> 
> tests/test_codes.py:13: AttributeError
> =========================== short test summary info 
> ============================
> FAILED tests/test_codes.py::CodesTest::test_alpha2 - AttributeError: 
> 'CodesTe...
> FAILED tests/test_codes.py::CodesTest::test_alpha3 - AttributeError: 
> 'CodesTe...
> ========================= 2 failed, 1 passed in 0.13s 
> ==========================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_languagecodes/build; python3.12 -m 
> pytest tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/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>>
> collected 3 items
> 
> tests/test_codes.py ...                                                  
> [100%]
> 
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py::CodesTest::test_alpha2
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py:22:
>  DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(iso_639_alpha2("eng"), "en")
> 
> .pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py::CodesTest::test_alpha3
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py:13:
>  DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(iso_639_alpha3("gub"), "gub")
> 
> .pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py::CodesTest::test_alpha3
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py:14:
>  DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(iso_639_alpha3("en"), "eng")
> 
> .pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py::CodesTest::test_alpha3
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_languagecodes/build/tests/test_codes.py:15:
>  DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(iso_639_alpha3("eng"), "eng")
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================== 3 passed, 4 warnings in 0.13s 
> =========================
> dh_auto_test: error: pybuild --test -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/python-languagecodes_1.1.1-2_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.

Reply via email to