[Debian-med-packaging] Bug#1060973: python-pbcore: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Tue Jan 16 19:42:03 GMT 2024
Source: python-pbcore
Version: 2.1.2+dfsg-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240115 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 '/<<PKGBUILDDIR>>'
> debian/rules:55: warning: overriding recipe for target 'override_dh_auto_clean'
> debian/rules:28: warning: ignoring old recipe for target 'override_dh_auto_clean'
> # we need to exclude tests requiring pbtestdata which is not packaged
> mkdir -p /tmp/tests_avoid
> mv `grep -l pbtestdata tests/*.py` /tmp/tests_avoid
> # for whatever reason this test is failing as well - just skip it for the moment
> mv tests/test_pbdataset_filters.py /tmp/tests_avoid
> PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="{interpreter} setup.py test" \
> dh_auto_test
> I: pybuild base:305: python3.12 setup.py test
> /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)
> running pytest
> /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/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
> !!
>
> ********************************************************************************
> Please avoid running ``setup.py`` and ``easy_install``.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://github.com/pypa/setuptools/issues/917 for details.
> ********************************************************************************
>
> !!
> self.initialize_options()
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
>
> ********************************************************************************
> Please avoid running ``setup.py`` directly.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
> ********************************************************************************
>
> !!
> self.initialize_options()
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/bin/python3.12: No module named pip
> error: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmphhrtsj71', '--quiet', 'astroid<=2.17.0-dev0,>=2.15.4']' returned non-zero exit status 1.
> E: pybuild pybuild:391: test: plugin custom failed with: exit code=1: python3.12 setup.py test
> I: pybuild base:305: python3.11 setup.py test
> /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)
> running pytest
> /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/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
> !!
>
> ********************************************************************************
> Please avoid running ``setup.py`` and ``easy_install``.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://github.com/pypa/setuptools/issues/917 for details.
> ********************************************************************************
>
> !!
> self.initialize_options()
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
>
> ********************************************************************************
> Please avoid running ``setup.py`` directly.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
>
> See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
> ********************************************************************************
>
> !!
> self.initialize_options()
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/bin/python3.11: No module named pip
> error: Command '['/usr/bin/python3.11', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmphsn3rhem', '--quiet', 'astroid<=2.17.0-dev0,>=2.15.4']' returned non-zero exit status 1.
> E: pybuild pybuild:391: test: plugin custom failed with: exit code=1: python3.11 setup.py test
> 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/2024/01/15/python-pbcore_2.1.2+dfsg-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lucas@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.
More information about the Debian-med-packaging
mailing list