From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sDcNJBZFuWBJOwAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 23:09:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mOc4HxZFuWBcXQAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 21:09:42 +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 0071222C66 for ; Thu, 3 Jun 2021 23:09:42 +0200 (CEST) Received: from localhost ([::1]:52710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1louaz-0003EX-2O for larch@yhetil.org; Thu, 03 Jun 2021 17:09:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1louaf-0003Cd-Fa for help-guix@gnu.org; Thu, 03 Jun 2021 17:09:21 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:56095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1louab-0003pR-GS for help-guix@gnu.org; Thu, 03 Jun 2021 17:09:20 -0400 Received: by mail-wm1-x331.google.com with SMTP id g204so4177479wmf.5 for ; Thu, 03 Jun 2021 14:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:message-id:date:mime-version; bh=UWPINsAWtobSUsjTjZgB0KUKkeB44XDZLQzV8hw9lEQ=; b=fTdp8VRV61tm1HNMKd16PE34T5oQ9sqBad4GyuqTbSpVxs2nJ6WQKCZkXaiDXVDAmj 16yH6VrE+KqhAJeAQuPfNTvNk8BfK8OexGh7WgrCG5opXyMwobx6TnLgcGqgLB5OUG3R 4NtMVO92meOzbmaL3o/ktxCJkvz1Bb+WkgMigX/o5EKr5ERTeGXpDJ0XBRfkQbqmExmx lUPmZKkC06cOpz4yvqnw0vDLF39StBCNGXYZ+Ts7zWgF4HgRJEqYjTz/gUWe8scB3j8O Nnln6aEhLMAjvMmRIqgrd/HArUqCxo24q5dl+6MFhP/jt8JIs470EpEp+n61+rJa5D+5 m4lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=UWPINsAWtobSUsjTjZgB0KUKkeB44XDZLQzV8hw9lEQ=; b=fEtjFSAHqlhOe/SZrNPjK+I6NXtwL3hD4Tas5swA1nCioCfcymEJ/3fkWTy9DhWyW9 C4QGaNmCsa5AtW0qJJeVoUL+CmOzo8h+4lMZLAn5uFVuPLljCctRnVdGG6VbI6HHEM5M aygmy4Ul/ridOOst6sD6Syf6V0UY8uc8LVpS7ngnhCELuad8FrcRyJxC4yi9hRUv5evw KMcMFSllWpGWprLY4TCDkGIM3oEdejco+Jg6v9w1GGQuUarXMpbVm3Z7B+Ocw9gjCw8v +JF9XNw5z4lz1u/lpJcqEyx6Z+duOq440T97NKcJDgWUybX8PzH9w9zb+4vTdc3nBmBg IUsw== X-Gm-Message-State: AOAM531meeucbsHYrLadoUdG4NBpPIBEIJ0PC0B1mXcll6uhydWfRQ4v O+k6K2DpIG1F5Mg1fxCmfBLOtMBe0gAULwgVjrg= X-Google-Smtp-Source: ABdhPJykMZnbTvsrF/HHR804KAzCTvatKO2u4MpR4mSqvO1BfsE1zk0ehbFdSFNXcbG+im/UVmZm/w== X-Received: by 2002:a7b:c099:: with SMTP id r25mr394700wmh.48.1622754555122; Thu, 03 Jun 2021 14:09:15 -0700 (PDT) Received: from xps13 (host-92-6-104-170.as13285.net. [92.6.104.170]) by smtp.gmail.com with ESMTPSA id j1sm3806371wmi.44.2021.06.03.14.09.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 14:09:14 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: help-guix@gnu.org Subject: Shebang and python packages Message-ID: <87lf7qk64m.fsf@beadling.co.uk> Date: Thu, 03 Jun 2021 22:09:13 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::331; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x331.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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=1622754582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UWPINsAWtobSUsjTjZgB0KUKkeB44XDZLQzV8hw9lEQ=; b=cWh5fpRjUaidTtZoWMoiZdp3IGsDbYqa4EvBLC8vJOFpKPUveMyUp/XQKGDM8G6EB4x4wF 787qvaCcKOouhyxcKkdj/ouk2X6Z28o0plrKrDHldWTYeysstrFTh5nUsgS2q8R6lRRr/I xoNY8fLaw178wO7Uu1lvOute7vJjMt3ds0m+hU5lnhTGPXbEZqiMScmvt7er3dkbG9EL8+ bIriPHE0EjtiX4bxDG+T+A2bqL4FFaO4FuZ4SJTuNV3SdoMuOd0LTEkUmUfCITkcWW+Ks5 GzdgmxX0sUI8qpdhdnV8cuGgH8t/Sq+LdjdWP6nHfTX6RyxKbmYPeRpTET/4DQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622754582; a=rsa-sha256; cv=none; b=EWPi9BJF7kRBhOh9W/iyFh/CHSTg/wh+DuN8/H0DAOKdg3ZKnGs9IFi7mvNTBU9EWLvl5C hHNOLhhD0MnznENsqxod7cEUzFO98FdKHP/1mSUlytcXbgwU794zLe/TO0EiNvrfTXTfdN LctFbZLYU6miz9UQKbqyAoiyXzrYxnoRksTkoKq0xYVjTCGWuLAfxtrkt15eE0zXI4uuLz FwzXdjBk0mrVvL3dRTIV1E8MYOshtzGnMhDhUhVHqnI9rRDGtvERPDZEdjylqbDmJfyCXi cb1mK1wbk1vNQCpEqpISP+E08B3Q7KuZi6DAoQldfCBA17rgnEgl0n0Z8I9AcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=fTdp8VRV; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=fTdp8VRV; dmarc=none; 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: 0071222C66 X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: nBk010g/kLFF Hi all, It seems to be convention not to include python itself as a propagated-input in python packages? However the default-python version is included as a native-input for the python-build-system - this means any shebangs are hardcoded to whatever the current version of python may be. Given this hardcoding, why isn't it also convention to package the version of python that has been used to patch the shebangs as part of the package? I tend to build manifests containing my python app, and python itself to run the app. Originally I thought this was necessary to decouple the app from a specific version of python, but assuming I'm right about the patching of shebangs, this seems to be misguided - as any entry points within the app will have been hardcoded to use a version of python at build time, irrespective of the python version in the manifest? Can anyone clarify best practice and reasoning behind it? Thanks, Phil.