Hi Felix,

I am CCing Jonathan as he did the backport.

Le dim. 6 sept. 2020 à 12:21, Felix Lechner
<felix.lech...@lease-up.com> a écrit :
>
> Thanks for packaging an attractive new tool for Debian! I ran bashtop
> recently (from backports) and received this error message:
>
>     % bashtop
>     Error: Missing python3 psutil module!
>
> The program works fine, but the relatively strong error message seems
> inconsistent with the maintainer's decision to merely recommend
> python3-psutil. Please require the missing module or soften the
> message.
>

If you have the other tools for data collection, bashtop doesn't
require python3-psutil with Linux but it requires it with kFreeBSD and
Hurd (though untested :-). I agree the dependencies of bashtop can be
improved.

I just realized python3-psutil is enabled by default. To temporarily
fix that you can disable python3-psutil in your config file
($HOME/.config/bashtop).

To fix the package, we have two possibilities. The first one is to
patch bashtop to disable python3-psutil by default and the usage of
python3-psutil is up to the users. The second option is to switch the
dependency on python3-psutil from "recommend" to "require", but we
will have to backport a newer version of python3-psutil as upstream
declares that psutil >= 5.7.0 is needed (in Buster we have psutil
5.5.1 and in testing we have 5.7.2).

bpytop, the successor of bashtop and already in the NEW queue, also
requires psutil >= 5.7.0. So, if we want bpytop in buster-backports,
we will have to backport psutil anyway.

Any preference?

Best,
Dylan

Reply via email to