From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MFToOEB8WWcGkwAA62LTzQ:P1 (envelope-from ) for ; Wed, 11 Dec 2024 11:49:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MFToOEB8WWcGkwAA62LTzQ (envelope-from ) for ; Wed, 11 Dec 2024 12:49:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fXHcMviT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733917760; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cLArnW8wkZ8IQxE8TP0qlYYvr7kFt7A7lkG98d++9Po=; b=Iq4no0zC7NX7CmRnlWHLkKKJIxs9mKzciF9uILy2jt2+kU9721mT+HDR2CdmTREXJJx0Vd Gi3+HMxNqly5Kd4oHWejnqdg9e2aTUGZSIuKuoOXyDjCr1p7bcZSigFT3nGhUgGzYE0xXC QuUh1mpmKYNAzySO9r1eVaY/bRjVxN0+KWIiqThuke6ZM98WYFTQA37S7LwTR5SN3i0xht +u51p6Vm+DmhK0gkfHkLXf6lvah/XT9IeqvEg2uQyzaij4iMyk0ueqzcMs0VeEo9T8bobA jGGD/fw81nVtFvu0TpPU5tQEdZMqAbeCXD44TG682Lq84F66TUr2tNvj99xPQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fXHcMviT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733917760; a=rsa-sha256; cv=none; b=sZj1uWjzL0nrHEPSWWUt+XXd2Hvgay3SWRuCXQWvPhfbwychrIKWfR+NIgSVueJWqPtwh6 TDm3XlXXeDS0S/trCvZjuP6ZDowTPoCz1jAEBUUCN/US1CWBS+QajHu/adrJYymYSJgxBq 58Py+dn+oY67Qb19hRXgvP3ygTkl4mRxTSolPmDkH9rXXs9vGPWSiTrxgyhfD3cokfl+2w yCFYOn3R7Dsra9DaFP2ooCvyW73+WUy20QCcci84J0G7fXTwCovmMdZOSyKPmhm5hetahd W0mngRfjq3xemcDUdaSOzMvJva+kDL/9F9HMgqUYo0VJcwhECcVoSs/73Hofuw== 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 D3F047B997 for ; Wed, 11 Dec 2024 12:49:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLLDF-0006GB-FD; Wed, 11 Dec 2024 06:49:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLLDC-0006Fc-BX for bug-guix@gnu.org; Wed, 11 Dec 2024 06:49:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLLDC-00020a-3N for bug-guix@gnu.org; Wed, 11 Dec 2024 06:49:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=cLArnW8wkZ8IQxE8TP0qlYYvr7kFt7A7lkG98d++9Po=; b=fXHcMviTcejTQcWhBDfTpCM7L05qtse5H/+9bCwFrtxDDVz5aUwoX7mnaRlcnnM1u81KOGtGwsITR0KXNQ0hrUPmcechLBcjnGLPmJ2pspWp3T0xW2o4nUMXmRuscQrvlMjsBnHgBINY4vUeXtqbPzl7Q7Yhxz+nYnF3Q5DjUdvEOAX778/yQ5FbCvuxvuuRvQ+Ltdgd6D6i1RK8DbEH4RiCI4ALBwjx2VaxmnkZsO64JM6HhpD9A8HhYTbhnTXa9gsikWBnd/b2b+IuTJz9QoZPes9ezC71CDV3fOcJzb1sJ9tc20FnEHhBGVqBWiGgynniqqo87XbUzgkprFwLWg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLLDB-0001fG-LL for bug-guix@gnu.org; Wed, 11 Dec 2024 06:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73816: python-django's manage.py tries to use a hard-coded python executable Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Dec 2024 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73816 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier Cc: 73816@debbugs.gnu.org Received: via spool by 73816-submit@debbugs.gnu.org id=B73816.17339177236347 (code B ref 73816); Wed, 11 Dec 2024 11:49:01 +0000 Received: (at 73816) by debbugs.gnu.org; 11 Dec 2024 11:48:43 +0000 Received: from localhost ([127.0.0.1]:33273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLLCt-0001eI-A0 for submit@debbugs.gnu.org; Wed, 11 Dec 2024 06:48:43 -0500 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:36977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLLCr-0001dx-MK for 73816@debbugs.gnu.org; Wed, 11 Dec 2024 06:48:42 -0500 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id A1C282020E; Wed, 11 Dec 2024 12:48:35 +0100 (CET) X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]) by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028) with ESMTP id HfquAsKBSs5E; Wed, 11 Dec 2024 12:48:34 +0100 (CET) Received: from silvi (212-51-128-25.fiber7.init7.net [212.51.128.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA; Wed, 11 Dec 2024 12:48:34 +0100 (CET) Date: Wed, 11 Dec 2024 12:48:31 +0100 From: Gabriel Wicki Message-ID: References: <877c87zfz4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877c87zfz4.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.79 X-Spam-Score: -2.79 X-Migadu-Queue-Id: D3F047B997 X-TUID: FXpK44CwCZsI Hi! Thanks for your input! On Tue, Dec 10, 2024 at 04:59:27PM +0100, Simon Tournier wrote: > Now, if the purpose of ’django-admin startproject foobar’ is to only > create generic configuration that does not depends on any Django or > Python version, then maybe it could be considered as wrong. :-) I think this is actually the case! The `startproject' script initializes a more or less empty project including said `manage.py' script. Now when starting and developing a Django project, all these files will end up in VCS, might be packaged somewhat later on (if at all) and executed on a different system, which may or may not have Guix available. Apart from that, hard-coding that script without any guarantee whatsoever that this path exists in the system that will run the code will more likely result in a failure than any kind of success. If you have any idea on how to patch that and could point me in that direction, I'll gladly send in a patch or two!