GNU bug report logs -
#55874
[PATCH] Add timewarrior 1.4.3
Previous Next
Reported by: Zac Berkowitz <zac.berkowitz <at> gmail.com>
Date: Thu, 9 Jun 2022 15:12:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #50 received at 55874 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Zac Berkowitz schreef op vr 10-06-2022 om 10:04 [-0400]:
> The python scripts in ext/ are completely optional according to the
> README in that same directory. Like taskwarrior, timewarrior can
> execute python scripts as hooks in response to various commands, but
> they're not necessary for base use.
> Maybe this is why debian adds the python requirement? So hooks just
> work out of the box? How does guix deal with optional dependencies
> like this?
>
If it increases the closure size a lot and does not provide much extra
functionality, the extra dependency (and the components that require
that dependency) is removed. (Alternatively the ext/ scripts can be
changed to use the 'python' in $PATH instead of a baked-in 'python',
though such things are avoided where feasible for robustness).
Even if they are optional, adding python might be required such that
the _correct_ python is used when cross-compiling. As a test, you
could try running "guix gc --references" on the timewarrior store item
-- if the output contains python, the ext/... is installed with python.
Probably most people would have python anyway, so I don't think it has
to be removed.
Looking at the output of "guix gc --references", it does indeed use
python from somewhere.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.