Package: src:bdebstrap
Version: 0.6.0-1
Severity: serious
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12
With python3-defaults from experimental, the package fails to build:
[...]
Test: Run pylint on Python source code. ... Running following command:
/usr/bin/python3.12 -m pylint
--rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf --
/<<PKGBUILDDIR>>/bdebstrap tests /<<PKGBUILDDIR>>/setup.py
FAIL
test_flake8 (tests.test_shellcheck.ShellcheckTestCase.test_flake8)
Test: Run shellcheck on Shell source code. ... Running following command:
shellcheck /<<PKGBUILDDIR>>/hooks/disable-units
/<<PKGBUILDDIR>>/hooks/enable-units
ok
======================================================================
FAIL: test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
Test: Run pylint on Python source code.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 74, in test_pylint
self.fail("\n".join(msgs))
AssertionError: pylint found issues:
************* Module setup
/<<PKGBUILDDIR>>/setup.py:26:0: E0401: Unable to import 'distutils.log'
(import-error)
/<<PKGBUILDDIR>>/setup.py:27:0: E0401: Unable to import
'distutils.command.build' (import-error)
/<<PKGBUILDDIR>>/setup.py:28:0: E0401: Unable to import
'distutils.command.clean' (import-error)
/<<PKGBUILDDIR>>/setup.py:57:4: C0116: Missing function or method
docstring (missing-function-docstring)
/<<PKGBUILDDIR>>/setup.py:54:0: R0903: Too few public methods (1/2)
(too-few-public-methods)
/<<PKGBUILDDIR>>/setup.py:65:4: C0116: Missing function or method
docstring (missing-function-docstring)
/<<PKGBUILDDIR>>/setup.py:62:0: R0903: Too few public methods (1/2)
(too-few-public-methods)
----------------------------------------------------------------------
Ran 61 tests in 5.767s
FAILED (failures=1)
E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1:
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest
discover -v -s /<<PKGBUILDDIR>>
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned
exit code 13