[Bug 2051997] [NEW] bdebstrap fails to build with python3-defaults 3.12

Launchpad Bug Tracker 2051997 at bugs.launchpad.net
Wed Feb 7 00:17:24 UTC 2024


You have been subscribed to a public bug by Vladimir Petko (vpa1977):

When building bdebstrap with python3-default 3.12 the following error occurs
------
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)

------

due to removal of distutils in python 3.12

** Affects: bdebstrap (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: bdebstrap (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse
-- 
bdebstrap fails to build with python3-defaults 3.12
https://bugs.launchpad.net/bugs/2051997
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list