Hi Philipp, On 1/16/19 12:51 AM, Philipp Kern wrote: > Am 07.01.2019 um 19:30 schrieb Darshaka Pathirana: >> * Package name : kthresher >> Version : 1.3.1 >> Upstream Author : Rackspace US, Inc. >> * URL : https://github.com/rackerlabs/kthresher >> * License : Apache >> Programming Lang: Python >> Description : Purge Unused Kernels >> >> Tool to remove unused kernels that were installed automatically >> This tool removes those kernel packages marked as candidate for autoremoval. >> Those packages are generally installed via Unattended upgrade or >> meta-packages. By default the latest kernel and manual installations are >> marked to Never Auto Remove. > > it looks like this doesn't support Python 3 yet and I suspect that new > packages should. I'd suggest that instead of distutils' LooseVersion, > which was never meant for that, you use apt_pkg.version_compare. To be > fair it's not quite a Debian revision to parse but it's close enough > that the tokenization from our algorithm should work fine to sort kernel > versions. Thank you for your feedback (I have forwarded your comment to the upstream issue/PR[2]). Apart of the distutils.LooseVersion problem, there have been also some other things in kthresher with Python 3 problems. So yes, kthresher is currently lacking Python 3 support. But upstream is working on it[1][2] and a new release is on the way. [1] https://github.com/rackerlabs/kthresher/issues/53 [2] https://github.com/rackerlabs/kthresher/pull/61/ Regards, - Darsha
Attachment:
signature.asc
Description: OpenPGP digital signature