Bug#1010039: autorandr: python deprecation warnings

2022-09-14 Thread Vincent Bernat
On Fri, 22 Apr 2022 16:52:35 -0700 Don Armstrong  
wrote:


> % autorandr 
> /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

Thanks for the report!

Looks like upstream has fixed this, so I just need to upgrade to the
newest version.


Hey Don!

Any plan for that?

Thanks!



Bug#1010039: autorandr: python deprecation warnings

2022-04-22 Thread gregor herrmann
On Fri, 22 Apr 2022 16:52:35 -0700, Don Armstrong wrote:

> On Sat, 23 Apr 2022, gregor herrmann wrote:
> > Looks like autorandr needs an update for compatibility with future
> > python versions:
> Looks like upstream has fixed this, so I just need to upgrade to the
> newest version.

Excellent, thanks for looking into this so quickly, and glad there's
a simple fix available apparently :)

Cheers,
gregor 

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   


signature.asc
Description: Digital Signature


Bug#1010039: autorandr: python deprecation warnings

2022-04-22 Thread Don Armstrong
Control: tag -1 fixed-upstream
Control: forwarded -1 https://github.com/phillipberndt/autorandr/issues/266

On Sat, 23 Apr 2022, gregor herrmann wrote:
> Looks like autorandr needs an update for compatibility with future
> python versions:
> 
> % autorandr 
> /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

Thanks for the report!

Looks like upstream has fixed this, so I just need to upgrade to the
newest version.

-- 
Don Armstrong  https://www.donarmstrong.com

After the first battle of Sto Lat, I formulated a policy which has
stood me in good stead in other battles. It is this: if an enemy has
an impregnable stronghold, see he stays there.
 -- Terry Pratchett _Jingo_ p265



Bug#1010039: autorandr: python deprecation warnings

2022-04-22 Thread gregor herrmann
Package: autorandr
Version: 1.11-1
Severity: minor

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Looks like autorandr needs an update for compatibility with future
python versions:

% autorandr 
/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


Cheers,
gregor

-BEGIN PGP SIGNATURE-

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmJjK/5fFIAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYVZA//S+jLJTwbI+zhjGnQwIHwk5BsST0ejRzgZpyzehH4F7y2NLIeSmf+p7O+
BKq/I539SWy1q3UhMYJtwBGeEe49Yn9u3nRSjMsUqn4Q4hxveKV5lTxq7l22tZgU
QYK+awYhUlAHqvXxlAdRPe5VVqTZeL4zJzBKYnhn62vHPMeFiLIL/8yntHXg9W91
xnm4xskrnsH69MujNkg0xn+6omrcb3m41S2kXgeC+w7AX+jDMAunLajFvpkY0puw
ayCirAM6DPSe3dF/miw1uGJm/rqQxUySfY8YVv9NVunKZb6LINNTT1B8+hcM746c
VxvRLijwGzq8uics/OlYnGKMzLT1Wv8W/qzgZfxPB6uNdzalIpAjN1F1PuvuXykH
KqrBMeO4Po+J75C3wlvhnHPbswKjA628JQ9b34PZfFQcyd90BOYAlTXgTobJtoUw
oWZoZPbzyaAsUYfkHYXGCJlC0dTSIKDyzlUYHT0PwVZUEpX1L9mzju43tFlhuGnS
NqtrieRVrjqdMpWjZhrKUQ1dGC6X+1hsXfn9ZAVhoX9aXBREayRVwm9yFzd4Tpse
r3lDH/NhKkd9EhViBDJ9fGwJiT/lFZPEAxGtLGDIk0RPhX2lQjXtO+/mpiGg+dPA
Er/TnkHTi+1uD8oUrsY3P8A3HFi64fKnEkaPZvU2OVkv1carlDI=
=pR2U
-END PGP SIGNATURE-