unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Kehayias <john.kehayias@protonmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Possible to separate out tk from python?
Date: Sun, 17 Dec 2023 06:22:19 +0000	[thread overview]
Message-ID: <87zfy9qrfq.fsf@protonmail.com> (raw)

Hi Guix,

Quick(?) question if someone happens to know: can we separate out the tk dependency from the python package, for instance by making the tk output of python a separate package?

I'm asking because I've realized that it is through tk that python, and thus a good chunk of all packages, depend on things like libx11 and xorgproto. In updating xorgproto for xorg-server-xwayland update, this causes python to be rebuilt. I saw the same when ungrafting libx11 but didn't look close enough to realize it is through tk.

(As an aside, in using python as a user, it is easy to miss the python:tk output when you need it. And without searching I'm guessing many fewer packages depend on python:tk than the default output.)

I don't know enough about how python is built (and then used in building) off the top of my head to know if this is possible. But if it was, I think it could untangle lots of the package graph.

Thanks in advance!
John



             reply	other threads:[~2023-12-17  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-17  6:22 John Kehayias [this message]
2023-12-17  9:25 ` Possible to separate out tk from python? Efraim Flashner

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87zfy9qrfq.fsf@protonmail.com \
    --to=john.kehayias@protonmail.com \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).