FTBFS on devel due to deprecated module usage

Bug #2104175 reported by Max Gilmour
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubertooth (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The `distutils` Python module was deprecated in Python 3.10, then removed in Python 3.12; see here: https://docs.python.org/3/whatsnew/3.12.html

This causes a FTBFS due to the missing module:

  File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/specan_ui/setup.py", line 13, in <module>
    from distutils.core import setup
ModuleNotFoundError: No module named 'distutils'

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubertooth - 2018.12.R1-5.2ubuntu1

---------------
ubertooth (2018.12.R1-5.2ubuntu1) plucky; urgency=medium

  * Replace deprecated distutils Python module with setuptools. (LP: #2104175)
  * debian/control: Add setuptools to Build-Depends.
  * debian/rules: Pass upstream package version to specan_ui CMakeLists.

 -- Max Gilmour <email address hidden> Wed, 19 Mar 2025 10:03:14 -0700

Changed in ubertooth (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.