DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12.

Bug #1988267 reported by Stefan Ubbink
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
autorandr (Debian)
Fix Released
Unknown
autorandr (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

autorandr in Ubuntu 22.04 displays a DeprecationWarning when it is run:

/usr/bin/autorandr:42: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.version import LooseVersion as Version

I would expect that this would be solved before the distutils package will be removed from python3

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: autorandr 1.11-1
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Wed Aug 31 09:18:37 2022
InstallationDate: Installed on 2018-03-08 (1636 days ago)
InstallationMedia: Xubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
PackageArchitecture: all
SourcePackage: autorandr
UpgradeStatus: Upgraded to jammy on 2022-08-24 (7 days ago)

Revision history for this message
Stefan Ubbink (subbink) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

Marking confirmed since I found a corresponding bug report in Debian.

tags: added: kinetic
Changed in autorandr (Debian):
status: Unknown → Confirmed
Changed in autorandr (Debian):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in autorandr (Ubuntu):
status: New → Confirmed
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.