From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id HSdaK4lIuWDOQAAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 23:24:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uMoLJolIuWAkYAAAB5/wlQ (envelope-from ) for ; Thu, 03 Jun 2021 21:24:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B4F9BB46D for ; Thu, 3 Jun 2021 23:24:24 +0200 (CEST) Received: from localhost ([::1]:36796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loupD-0003iQ-9z for larch@yhetil.org; Thu, 03 Jun 2021 17:24:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loup5-0003iI-GX for help-guix@gnu.org; Thu, 03 Jun 2021 17:24:15 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:48494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loup3-0005lN-G9 for help-guix@gnu.org; Thu, 03 Jun 2021 17:24:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=csuFf1sJ3V9XAMcXa+8TxkgRTUszWicVpQ6agE862xU=; h=date:in-reply-to: subject:cc:to:from:references; b=ge2WJzzQy9KcNVWE5ZJR4PwdDLsDE3DnqXw9M ibMxH5u5R+4eIu3uD2WHEisrvdOIMX5LF3N0zGUR3+pKZdpuRMK2eKYGyf5std+CVLZaVx DWEIB4hJ5+LDvtExtjAUl9IOEI7pvnqwVENPSZLmmWvArKnr27WJP9Bq+lO4TqmLyTcHeU YaGHRSHiIeK3tZukWuCb7sOgcf4aCROmsNVmH9HDr8hQ+fjCmOTJPsXvfXQF6mHoNKA4O+ vngGYbbzFpRJMiGNK1Tjgemrd+2fXrKQRHLBAPqTLLuCBD+u639Tj8AjLznXQdccwh0rgt XjSGXMHw97TtLX62pLRtOSNMw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a81a77bf (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Thu, 3 Jun 2021 21:24:09 +0000 (UTC) References: <87lf7qk64m.fsf@beadling.co.uk> From: Tobias Geerinckx-Rice To: Phil Cc: help-guix@gnu.org Subject: Re: Shebang and python packages In-reply-to: <87lf7qk64m.fsf@beadling.co.uk> BIMI-Selector: v=BIMI1; s=default; Date: Thu, 03 Jun 2021 23:24:52 +0200 Message-ID: <87sg1y8wuz.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622755465; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=csuFf1sJ3V9XAMcXa+8TxkgRTUszWicVpQ6agE862xU=; b=i1YjJOdpJ9lQcDCnqZ0J19Fi4OBVJkfkBhfNVUjhFrDvBSBiWqiszlAW/SP7PMB8pjVCmB G2ryXFkdJEb7nTzO6DIyADRb9GuCXO4fVhNJPiLQ3qTgr07m2EbmlKcioWpV6LhIcbNTAv irkBjjMKPd+agqr3KgBp5srRnsN06OAxHXLXjEJ6tr4tCfrlsfcgK8FGN4u4w03y3e+9ZJ 3MbmvjCQlHBGR0DWUNkAa3smAyMXhh1eojRipXSSw/FrhpHqGUD3WeNx6xHc+VESI8Fhg5 5tzX7fGYNhyay3cco2vAIj7804hTgWwwpmt9zX0sqmJ/5MrMjAehhCHBgZ7Dsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622755465; a=rsa-sha256; cv=none; b=E05ErWUL0jNySMxcitTAlfeQc6gFCxZIQCB/mPIWPuByFyCIjN50NTF1zeKE9vfOOD0EfG ka91/qQae0wMR9iIi0PHpmNyjLqeT0SE+1Hdc6IjWqCQMqcviN8RXv+WkP4l6nT+cSp562 +Z0d/rvhTFOYkHMLOtuUxh00IWQ1nptu1IBFmS5DKChh92ElMKm8XCGQYnebfZggVqsyON VVilvpid/h8xo0+X8G1D5NVVsSRkR5+VT+FHIZC/y1fKk7/AsCjqtg8wbXXKu++OqS6dc+ fMxYUnVs996obAu1TSR2Cb50/2O3S4bDawSAdjkixFtaKZz/Cku+XPlzN94G8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=ge2WJzzQ; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=ge2WJzzQ; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B4F9BB46D X-Spam-Score: -4.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: QrMi7Fpw4Mnc --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Phil, Phil =E5=86=99=E9=81=93=EF=BC=9A > I tend to build manifests containing my python app, and python > itself to run the app. Originally I thought this was necessary=20 > to decouple the > app from a specific version of python, but assuming I'm right=20 > about > the patching of shebangs, this seems to be misguided - as any=20 > entry points > within the app will have been hardcoded to use a version of=20 > python at > build time, irrespective of the python version in the manifest? If all shebangs and similar entry points have been properly=20 patched, why would you need to bundle =E2=80=98Python itself to run the=20 app=E2=80=99 at all? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYLlIpA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15vlsBAPmtpqWaLvRzVwnmp8fvzn6JZy0hHrmApxc7xVwP TmFbAPwKKluPOR1Ozo2/rGi+EWf6KtSVaKt+hU3S384WTfaPAg== =Zwke -----END PGP SIGNATURE----- --=-=-=--