All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
To: tools@kernel.org
Subject: [b4] Suggestion: make ezgb + git-bug optional dependencies
Date: Sun, 13 Sep 2026 09:15:30 +0200	[thread overview]
Message-ID: <87v78962r1.fsf@gentoo.org> (raw)


Hello,

I'd like to suggest that ezgb and git-bug become optional dependencies,
essentially like textual is an optional dependency today. The reason is
that by default "b4 bugs" prints:

    The TUI requires the textual library.
    Install it with: pip install b4[tui]

which gives me idea it's built around using the textual
dependency. git-bug also seems like a fairly large dependency for a
feature that doesn't really appear related to patch management in
public-inbox archives, and that it's about a different workflow entirely
(tracking bugs).

I took over packaging of b4 in Gentoo and found one unit test that
failed because it couldn't import ezgb._cli (this was
src/tests/test_packaging.py::test_public_modules_import_without_textual).
To fix this test, I've packaged git-bug and ezgb, and am about to update
the b4-0.16.0 package spec to require ezgb. In the process, I got the
idea that maybe it would make sense to have these dependencies be
optional.

All the best,
-- Thomas

             reply	other threads:[~2026-09-13  7:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-13  7:15 Thomas Bracht Laumann Jespersen [this message]
2026-09-16 14:28 ` [b4] Suggestion: make ezgb + git-bug optional dependencies Konstantin Ryabitsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v78962r1.fsf@gentoo.org \
    --to=laumann@gentoo.org \
    --cc=tools@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.