From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20889: python Tkinter Date: Sun, 05 Jul 2015 12:16:39 +0200 Message-ID: <87fv52rjso.fsf@gnu.org> References: <55972A09.9020508@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBgyw-0007Wf-Qq for bug-guix@gnu.org; Sun, 05 Jul 2015 06:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBgys-0007dh-G0 for bug-guix@gnu.org; Sun, 05 Jul 2015 06:17:06 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:38701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBgys-0007db-D5 for bug-guix@gnu.org; Sun, 05 Jul 2015 06:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZBgys-0008Hw-6O for bug-guix@gnu.org; Sun, 05 Jul 2015 06:17:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <55972A09.9020508@gmail.com> (Cyril Roelandt's message of "Sat, 04 Jul 2015 02:34:17 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Cyril Roelandt Cc: 20889@debbugs.gnu.org, Federico Beffa Cyril Roelandt skribis: > On 06/24/2015 09:14 AM, Federico Beffa wrote: >> The python package does not provide Tkinter which is part of the >> Python Standard Library >> https://docs.python.org/3/library/tkinter.html?highlight=3Dtkinter#modul= e-tkinter >>=20 > > I think we need to add tcl and tk to the inputs, and add the > corresponding "-I" and "-L" flags to the configure flags. The issue is > that tk depends on Python (through libx11, which depends on libxcb, > which depends on Python), so we end up with a circular dependency > leading to what I reported in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20967 . > > I think we should: > - rename the Python package to "python-without-tkinter" or > "python-minimal" and use that as a dependency in xorg.scm; > - define a "python" package that would inherit the "minimal Python" > package and add the dependency on tcl/tk to it. How frequently do Python packages rely on the availability of Tkinter? I=E2=80=99m asking because it might be that we could keep the default Python without Tk, and only use the Tk-enabled Python for the few packages that need it, if it=E2=80=99s rare enough. WDYT? Ludo=E2=80=99.