From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 11:52:56 2018 Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 16:52:56 +0000 Received: from localhost ([127.0.0.1]:39937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elHLb-0003Lf-RZ for submit@debbugs.gnu.org; Mon, 12 Feb 2018 11:52:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elHLa-0003LT-62 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 11:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elHLU-0000up-Ay for submit@debbugs.gnu.org; Mon, 12 Feb 2018 11:52:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elHLU-0000uf-8Y for submit@debbugs.gnu.org; Mon, 12 Feb 2018 11:52:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elHLQ-0001YK-OD for bug-guix@gnu.org; Mon, 12 Feb 2018 11:52:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elHLQ-0000rV-3b for bug-guix@gnu.org; Mon, 12 Feb 2018 11:52:44 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elHLQ-0000rP-0D for bug-guix@gnu.org; Mon, 12 Feb 2018 11:52:44 -0500 Received: from [2a01:e35:2ec2:e580:7d5f:f616:fc6f:3970] (port=41730 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1elHLP-0007Dh-EH for bug-guix@gnu.org; Mon, 12 Feb 2018 11:52:43 -0500 From: Mathieu Lirzin To: bug-guix@gnu.org Subject: No =?utf-8?Q?=E2=80=9C=2Eguix-profile=2Fbin=2Fpython=E2=80=9D?= after =?utf-8?Q?=E2=80=98guix?= package -i =?utf-8?Q?python=E2=80=99?= Date: Mon, 12 Feb 2018 17:52:41 +0100 Message-ID: <87po5a5ew6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, I think it would work better if when installing python@3, a =E2=80=98python= =E2=80=99 executable would be available in the PATH. Maybe there is a technical reason for not doing so, but I find its absence rather confusing. Thanks for considering it. --=20 Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 12:23:19 2018 Received: (at 30437) by debbugs.gnu.org; 12 Feb 2018 17:23:19 +0000 Received: from localhost ([127.0.0.1]:39951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elHp1-00042f-0p for submit@debbugs.gnu.org; Mon, 12 Feb 2018 12:23:19 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:56560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elHoz-00042X-EY for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 12:23:17 -0500 Received: from localhost (77.118.241.95.wireless.dyn.drei.com [77.118.241.95]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 790E933602A0; Mon, 12 Feb 2018 18:23:15 +0100 (CET) Date: Mon, 12 Feb 2018 18:23:07 +0100 From: Danny Milosavljevic To: Mathieu Lirzin Subject: Re: bug#30437: No =?utf-8?Q?=E2=80=9C.guix-profile/bin/python?= =?utf-8?Q?=E2=80=9D?= after =?utf-8?Q?=E2=80=98guix?= package -i =?utf-8?Q?python=E2=80=99?= Message-ID: <20180212182307.7c0982ee@scratchpost.org> In-Reply-To: <87po5a5ew6.fsf@gnu.org> References: <87po5a5ew6.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30437 Cc: 30437@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Mathieu, On Mon, 12 Feb 2018 17:52:41 +0100 Mathieu Lirzin wrote: > I think it would work better if when installing python@3, a =E2=80=98pyth= on=E2=80=99 > executable would be available in the PATH. Maybe there is a technical > reason for not doing so, but I find its absence rather confusing. For backward compatibility, the 'python' executable always has to be Python= 2. A lot of old scripts specify just "/usr/bin/env python" in the shebang. On the other hand if your script supports Python 3 you know it. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 13:30:02 2018 Received: (at 30437) by debbugs.gnu.org; 12 Feb 2018 18:30:02 +0000 Received: from localhost ([127.0.0.1]:40002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elIrZ-0005YU-Gq for submit@debbugs.gnu.org; Mon, 12 Feb 2018 13:30:01 -0500 Received: from flashner.co.il ([178.62.234.194]:42572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elIrY-0005Xt-4g for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 13:30:00 -0500 Received: from localhost (46-117-130-5.bb.netvision.net.il [46.117.130.5]) by flashner.co.il (Postfix) with ESMTPSA id A6FCD4010F; Mon, 12 Feb 2018 18:29:53 +0000 (UTC) Date: Mon, 12 Feb 2018 20:29:52 +0200 From: Efraim Flashner To: Danny Milosavljevic Subject: Re: bug#30437: No =?utf-8?B?4oCcLmd1aXgt?= =?utf-8?Q?profile=2Fbin=2Fpython=E2=80=9D_after_=E2=80=98guix_package_-i_?= =?utf-8?B?cHl0aG9u4oCZ?= Message-ID: <20180212182952.GB21970@macbook41> References: <87po5a5ew6.fsf@gnu.org> <20180212182307.7c0982ee@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline In-Reply-To: <20180212182307.7c0982ee@scratchpost.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30437 Cc: 30437@debbugs.gnu.org, Mathieu Lirzin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --5I6of5zJg18YgZEa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2018 at 06:23:07PM +0100, Danny Milosavljevic wrote: > Hi Mathieu, >=20 > On Mon, 12 Feb 2018 17:52:41 +0100 > Mathieu Lirzin wrote: >=20 > > I think it would work better if when installing python@3, a =E2=80=98py= thon=E2=80=99 > > executable would be available in the PATH. Maybe there is a technical > > reason for not doing so, but I find its absence rather confusing. >=20 > For backward compatibility, the 'python' executable always has to be Pyth= on 2. >=20 > A lot of old scripts specify just "/usr/bin/env python" in the shebang. >=20 > On the other hand if your script supports Python 3 you know it. >=20 We do also have the 'python-wrapper' package which uses python3 as python --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --5I6of5zJg18YgZEa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlqB3R0ACgkQQarn3Mo9 g1E6KxAAsX5TGEjO2Gq6BIIGaUbR60fgyIXpXiPU9VeoESox2cV2oSNBYpv92YMw yYUWXeyJZjliQ6YiXb7D7yI6Tep2TgJVZ2Rbi2pzYP0Py1dPtb/asK5hJnKViXtV MOsq4qWWjjf+Uny48YN8qg6uZoC+DgN4PFYGRgQV6vtIfrGbjguLVqymVKy/J/h9 D66hmPA9GadI5sLIB8p58HEitP6FwXq9QFkg0Nn9XZepbM6IoQr7qZGkig0RgeC5 til/QNmIa6KyoPKcmSUjRCAjQUFqsoJ9Z+iOqibZRI6S/kOsN/LNhgsAQxFxOD1p rCYSmIxZbDfqrZqCSnF/1o/JjRBfxbgicX92hV4VCmc5GrqvbGx0r0L2r0gep08J uqb+KLNxZqPzVGMI7p/HbcTfwHINniqM8+OKD1VJU95E0rqsJUhBFiR8Ac2vpGJq K2N4kOzt2bd4+qazjaAawFhwVHMABbePrLvkcm6g3YWCv79yb7X0MgsnL0ZDROw/ Da3OfTZ5OXspE5PZqql8lhK/1fL87K3NRHl7XmpQEXzsxzp+8v5cbRPtjrUb2dzs I6r53ZOCqn6CoHcBZQQgTFaitRKZ5rRon43fkaxEa6Wul5/p32/VBN47ILQRrGlL UvanoX96DECilYhPcdRJiHXKB5J0H8rfXOrX3XIXzFJY7RNHa00= =cE7k -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 14:01:21 2018 Received: (at 30437-done) by debbugs.gnu.org; 12 Feb 2018 19:01:21 +0000 Received: from localhost ([127.0.0.1]:40019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJLs-0006IO-SN for submit@debbugs.gnu.org; Mon, 12 Feb 2018 14:01:21 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJLq-0006IF-JJ for 30437-done@debbugs.gnu.org; Mon, 12 Feb 2018 14:01:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1518462060; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; l=958; bh=tFvCIuU9WwTwMSsr93HC9IfXyU1JByjjztwtKj4JUhY=; b=bUaI1SB/0vD9Jea1jBMMyBhCAoDeqMk01+exE1VEEF+jtbWmyeubV9GEZYV6ruJG g/muxd4FE1Miru+k8p58pPyjMX8GsgS3/f9fHzAeZCXowxq+SKk9YjGyOzRhvKlqFVf xVves9/1DsGERyVYt/tm/quNEmKqEuXhhRVM/nVo= Received: from localhost (port-92-200-47-193.dynamic.qsc.de [92.200.47.193]) by mx.zohomail.com with SMTPS id 1518462060297248.50819546875857; Mon, 12 Feb 2018 11:01:00 -0800 (PST) References: <87po5a5ew6.fsf@gnu.org> <20180212182307.7c0982ee@scratchpost.org> <20180212182952.GB21970@macbook41> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus To: 30437-done@debbugs.gnu.org Subject: Re: bug#30437: No =?utf-8?Q?=E2=80=9C=2Eguix-profile=2Fbin=2Fpyth?= =?utf-8?Q?on=E2=80=9D?= after =?utf-8?Q?=E2=80=98guix?= package -i =?utf-8?Q?python=E2=80=99?= In-reply-to: <20180212182952.GB21970@macbook41> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 12 Feb 2018 20:00:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <878tbykp7a.fsf@elephly.net> X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30437-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Efraim Flashner writes: > On Mon, Feb 12, 2018 at 06:23:07PM +0100, Danny Milosavljevic wrote: >> Hi Mathieu, >>=20 >> On Mon, 12 Feb 2018 17:52:41 +0100 >> Mathieu Lirzin wrote: >>=20 >> > I think it would work better if when installing python@3, a =E2=80=98p= ython=E2=80=99 >> > executable would be available in the PATH. Maybe there is a technical >> > reason for not doing so, but I find its absence rather confusing. >>=20 >> For backward compatibility, the 'python' executable always has to be Pyt= hon 2. >>=20 >> A lot of old scripts specify just "/usr/bin/env python" in the shebang. >>=20 >> On the other hand if your script supports Python 3 you know it. >>=20 > > We do also have the 'python-wrapper' package which uses python3 as > python Closing because it=E2=80=99s not a bug. --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 14:38:55 2018 Received: (at 30437) by debbugs.gnu.org; 12 Feb 2018 19:38:55 +0000 Received: from localhost ([127.0.0.1]:40053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJwF-00079t-Fv for submit@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJwD-00079U-Ng for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elJw7-00057g-OB for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elJw7-00057W-JC; Mon, 12 Feb 2018 14:38:47 -0500 Received: from [2a01:e35:2ec2:e580:7d5f:f616:fc6f:3970] (port=42444 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1elJw7-0004J1-4M; Mon, 12 Feb 2018 14:38:47 -0500 From: Mathieu Lirzin To: Danny Milosavljevic Subject: Re: bug#30437: No =?utf-8?Q?=E2=80=9C=2Eguix-profile=2Fbin=2Fpyth?= =?utf-8?Q?on=E2=80=9D?= after =?utf-8?Q?=E2=80=98guix?= package -i =?utf-8?Q?python=E2=80=99?= References: <87po5a5ew6.fsf@gnu.org> <20180212182307.7c0982ee@scratchpost.org> Date: Mon, 12 Feb 2018 20:38:44 +0100 In-Reply-To: <20180212182307.7c0982ee@scratchpost.org> (Danny Milosavljevic's message of "Mon, 12 Feb 2018 18:23:07 +0100") Message-ID: <87lgfy577f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30437 Cc: 30437@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, Danny Milosavljevic writes: > On Mon, 12 Feb 2018 17:52:41 +0100 > Mathieu Lirzin wrote: > >> I think it would work better if when installing python@3, a =E2=80=98pyt= hon=E2=80=99 >> executable would be available in the PATH. Maybe there is a technical >> reason for not doing so, but I find its absence rather confusing. > > For backward compatibility, the 'python' executable always has to be Pyth= on 2. > > A lot of old scripts specify just "/usr/bin/env python" in the shebang. > > On the other hand if your script supports Python 3 you know it. Hum, then I don't understand why we aren't applying this argument to every interperter (Perl, Guile, ...) which introduce backward incompatible changes? --=20 Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 14:56:05 2018 Received: (at 30437) by debbugs.gnu.org; 12 Feb 2018 19:56:05 +0000 Received: from localhost ([127.0.0.1]:40071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elKCq-0007Yi-P4 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 14:56:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elKCp-0007YE-Do for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 14:56:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elKCj-0000ml-Ie for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 14:55:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elKCj-0000md-F7 for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 14:55:57 -0500 Received: from [2a01:e35:2ec2:e580:7d5f:f616:fc6f:3970] (port=42456 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1elKCi-0000sl-Lu for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 14:55:57 -0500 From: Mathieu Lirzin To: 30437@debbugs.gnu.org Subject: Re: bug#30437: closed (Re: bug#30437: No =?utf-8?Q?=E2=80=9C=2Egu?= =?utf-8?Q?ix-profile=2Fbin=2Fpython=E2=80=9D?= after =?utf-8?Q?=E2=80=98g?= =?utf-8?Q?uix?= package -i =?utf-8?Q?python=E2=80=99=29?= References: <878tbykp7a.fsf@elephly.net> <87po5a5ew6.fsf@gnu.org> Date: Mon, 12 Feb 2018 20:55:54 +0100 In-Reply-To: (GNU bug Tracking System's message of "Mon, 12 Feb 2018 19:02:03 +0000") Message-ID: <87h8qm56et.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30437 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) help-debbugs@gnu.org (GNU bug Tracking System) writes: > From: Ricardo Wurmus > Subject: Re: bug#30437: No =E2=80=9C.guix-profile/bin/python=E2=80=9D aft= er =E2=80=98guix package -i python=E2=80=99 > To: 30437-done@debbugs.gnu.org > Date: Mon, 12 Feb 2018 20:00:57 +0100 (38 minutes, 1 second ago) > User-agent: mu4e 0.9.18; emacs 25.3.1 > > > Efraim Flashner writes: > >> On Mon, Feb 12, 2018 at 06:23:07PM +0100, Danny Milosavljevic wrote: >>> Hi Mathieu, >>>=20 >>> On Mon, 12 Feb 2018 17:52:41 +0100 >>> Mathieu Lirzin wrote: >>>=20 >>> > I think it would work better if when installing python@3, a =E2=80=98= python=E2=80=99 >>> > executable would be available in the PATH. Maybe there is a technical >>> > reason for not doing so, but I find its absence rather confusing. >>>=20 >>> For backward compatibility, the 'python' executable always has to be Py= thon 2. >>>=20 >>> A lot of old scripts specify just "/usr/bin/env python" in the shebang. >>>=20 >>> On the other hand if your script supports Python 3 you know it. >>>=20 >> >> We do also have the 'python-wrapper' package which uses python3 as >> python It is nice to have a =E2=80=98python-wrapper=E2=80=99 package as a workarou= nd, but this doesn't explain why the =E2=80=98python=E2=80=99 package shouldn't do it au= tomatically. Doing so would be far more convenient for casual users. > Closing because it=E2=80=99s not a bug. IMHO that was a bit quick to close. I still consider this as a wishlist bug. --=20 Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 18:15:28 2018 Received: (at 30437) by debbugs.gnu.org; 12 Feb 2018 23:15:29 +0000 Received: from localhost ([127.0.0.1]:40184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elNJo-0005Zw-Mr for submit@debbugs.gnu.org; Mon, 12 Feb 2018 18:15:28 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elNJm-0005Zn-N4 for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 18:15:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1518477295; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; l=1083; bh=5eAN7L68zRyXoUABbHswogpFFZiNIetepL6wwqrIX7w=; b=OCyktZKqGkeIv2/VN2rqK3KDo3Rag2SaALrvppfJyksfpD/UPbfHkV/YJAbiBGvR ZhUXAF/4aIeOV5wrj+e3f1S6yY9gZeysED6Gzke/UNsA9gql4QuB4N2jPqX7Aev/+0h rZzhDVX0LjwTCLJpMZ2NK3p5RtfpkUeYjsa5VJY8= Received: from localhost (port-92-200-47-193.dynamic.qsc.de [92.200.47.193]) by mx.zohomail.com with SMTPS id 1518477294983653.1578528066043; Mon, 12 Feb 2018 15:14:54 -0800 (PST) References: <87po5a5ew6.fsf@gnu.org> <20180212182307.7c0982ee@scratchpost.org> <87lgfy577f.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus To: Mathieu Lirzin Subject: Re: bug#30437: No =?utf-8?Q?=E2=80=9C=2Eguix-profile=2Fbin=2Fpyth?= =?utf-8?Q?on=E2=80=9D?= after =?utf-8?Q?=E2=80=98guix?= package -i =?utf-8?Q?python=E2=80=99?= In-reply-to: <87lgfy577f.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 13 Feb 2018 00:14:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <871shpls0k.fsf@elephly.net> X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30437 Cc: Danny Milosavljevic , 30437@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Mathieu Lirzin writes: > Hi, > > Danny Milosavljevic writes: > >> On Mon, 12 Feb 2018 17:52:41 +0100 >> Mathieu Lirzin wrote: >> >>> I think it would work better if when installing python@3, a =E2=80=98py= thon=E2=80=99 >>> executable would be available in the PATH. Maybe there is a technical >>> reason for not doing so, but I find its absence rather confusing. >> >> For backward compatibility, the 'python' executable always has to be Pyt= hon 2. >> >> A lot of old scripts specify just "/usr/bin/env python" in the shebang. >> >> On the other hand if your script supports Python 3 you know it. > > Hum, then I don't understand why we aren't applying this argument to > every interperter (Perl, Guile, ...) which introduce backward > incompatible changes? As far as I know, the Python 3 package does not provide the =E2=80=9Cpython= =E2=80=9D binary. That=E2=80=99s upstream=E2=80=99s decision. --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 19:45:54 2018 Received: (at 30437) by debbugs.gnu.org; 13 Feb 2018 00:45:54 +0000 Received: from localhost ([127.0.0.1]:40274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elOjK-00028e-Bh for submit@debbugs.gnu.org; Mon, 12 Feb 2018 19:45:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elOjH-0001zi-GN for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 19:45:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elOjA-0001mV-Vc for 30437@debbugs.gnu.org; Mon, 12 Feb 2018 19:45:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elOjA-0001mP-SG; Mon, 12 Feb 2018 19:45:44 -0500 Received: from [2a01:e35:2ec2:e580:36a1:317b:80de:6ee0] (port=55970 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1elOjA-0001rO-CQ; Mon, 12 Feb 2018 19:45:44 -0500 From: Mathieu Lirzin To: Ricardo Wurmus Subject: Re: bug#30437: No =?utf-8?Q?=E2=80=9C=2Eguix-profile=2Fbin=2Fpyth?= =?utf-8?Q?on=E2=80=9D?= after =?utf-8?Q?=E2=80=98guix?= package -i =?utf-8?Q?python=E2=80=99?= References: <87po5a5ew6.fsf@gnu.org> <20180212182307.7c0982ee@scratchpost.org> <87lgfy577f.fsf@gnu.org> <871shpls0k.fsf@elephly.net> Date: Tue, 13 Feb 2018 01:45:42 +0100 In-Reply-To: <871shpls0k.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 13 Feb 2018 00:14:51 +0100") Message-ID: <87zi4d4szt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30437 Cc: Danny Milosavljevic , 30437@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ricardo Wurmus writes: > Mathieu Lirzin writes: > >> Danny Milosavljevic writes: >> >>> On Mon, 12 Feb 2018 17:52:41 +0100 >>> Mathieu Lirzin wrote: >>> >>>> I think it would work better if when installing python@3, a =E2=80=98p= ython=E2=80=99 >>>> executable would be available in the PATH. Maybe there is a technical >>>> reason for not doing so, but I find its absence rather confusing. >>> >>> For backward compatibility, the 'python' executable always has to be Py= thon 2. >>> >>> A lot of old scripts specify just "/usr/bin/env python" in the shebang. >>> >>> On the other hand if your script supports Python 3 you know it. >> >> Hum, then I don't understand why we aren't applying this argument to >> every interperter (Perl, Guile, ...) which introduce backward >> incompatible changes? > > As far as I know, the Python 3 package does not provide the =E2=80=9Cpyth= on=E2=80=9D > binary. That=E2=80=99s upstream=E2=80=99s decision. Indeed your are right, they provide no configure option to enable such thing as they don't encourage downstream to use =E2=80=98python=E2=80=99 as= an alias to =E2=80=98python3=E2=80=99 yet. After some research this is discussed in PE= P-0394. [1] As a consequence it seems reasonable for Guix to not deviate from upstream recommandation, even if the shebang issue described by PEP-0394 are mitigated by the functional package management paradigm. Thanks. [1] https://www.python.org/dev/peps/pep-0394/ --=20 Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37 From unknown Sat Jun 21 10:43:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Mar 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator