FS#74301 - [autorandr] dependency deprecation

Attached to Project: Community Packages
Opened by Tarqi Kazan (Tarqi) - Friday, 01 April 2022, 22:45 GMT
Last edited by David Runge (dvzrv) - Thursday, 28 April 2022, 07:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running autorandr gives a deprecation warning:

/usr/bin/autorandr:49: 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

This was fixed upstream:

https://github.com/phillipberndt/autorandr/issues/266
https://github.com/phillipberndt/autorandr/pull/267/commits/ae3091547bf19618df47d108c92b0cd0bef0317e

So "python-packaging" needs to be installed as a dependency.

Additional info:
* autorandr 1.12.1-1
* see above

Steps to reproduce:
* call autorandr without "python-packaging" installed
* install "python-packaging" and call autorandr
This task depends upon

Closed by  David Runge (dvzrv)
Thursday, 28 April 2022, 07:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with autorandr 1.12.1-2
Comment by Tarqi Kazan (Tarqi) - Friday, 08 April 2022, 20:51 GMT
Addendum: It might noted that the warning breaks scripting, so please add the mentioned dependency. Thanks.

Loading...