Received: (at 73700) by debbugs.gnu.org; 8 Oct 2024 10:46:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 08 06:46:20 2024 Received: from localhost ([127.0.0.1]:51241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sy7jP-0006Th-Pt for submit <at> debbugs.gnu.org; Tue, 08 Oct 2024 06:46:20 -0400 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:58407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gabriel@HIDDEN>) id 1sy7jM-0006TD-Sv for 73700 <at> debbugs.gnu.org; Tue, 08 Oct 2024 06:46:17 -0400 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id 9DF9020321 for <73700 <at> debbugs.gnu.org>; Tue, 8 Oct 2024 12:46:00 +0200 (CEST) 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 R2nBO3JPSZFB for <73700 <at> debbugs.gnu.org>; Tue, 8 Oct 2024 12:45:59 +0200 (CEST) Received: from blackbox (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 for <73700 <at> debbugs.gnu.org>; Tue, 8 Oct 2024 12:45:59 +0200 (CEST) Date: Tue, 8 Oct 2024 12:45:56 +0200 From: Gabriel Wicki <gabriel@HIDDEN> To: 73700 <at> debbugs.gnu.org Subject: Re: bug#73700: Acknowledgement (python-django executable unable to find 'django' module) Message-ID: <mbslo2q2453a2u6k4ardgd6cd37nuz33rf5qooakb3cy6au7ci@wnnqbyogg2rq> References: <cj65yiuwzqkh656gta2krqqith5t7inqvdmmnjtabxk4jbcp37@rzf35zdsowgz> <handler.73700.B.172837714932754.ack <at> debbugs.gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <handler.73700.B.172837714932754.ack <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73700 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) The following is an obvious, simple fix. I am not sure how others regard the issue at hand i would summarize as usability vs. disk-space. IMHO usability - or shipping broken executables - should be prioritized before saving some hundred megabytes. From 5601bbf93baf65e1f6902bf678acb9dddb9e98f1 Mon Sep 17 00:00:00 2001 Message-ID: <5601bbf93baf65e1f6902bf678acb9dddb9e98f1.1728384174.git.gabriel@HIDDEN> From: Gabriel Wicki <gabriel@HIDDEN> Date: Tue, 8 Oct 2024 12:41:14 +0200 Subject: [PATCH] gnu: python-django: Fix broken django-admin executable. * gnu/packages/django.scm (python-django) [phases]: Un-delete 'wrap phase. Change-Id: If8c3c7f7396e7865a7c0ea662845b228984a4789 --- gnu/packages/django.scm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 4404c8368d..d0e331e0aa 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -98,13 +98,7 @@ (define-public python-django-4.2 ;; Tests expect PYTHONPATH to contain the root directory. (setenv "PYTHONPATH" "..") (apply invoke "python" "runtests.py" test-flags)) - (format #t "test suite not run~%")))) - ;; XXX: The 'wrap' phase adds native inputs as runtime dependencies, - ;; see <https://bugs.gnu.org/25235>. The django-admin script typically - ;; runs in an environment that has Django and its dependencies on - ;; PYTHONPATH, so just disable the wrapper to reduce the size from - ;; ~710 MiB to ~203 MiB. - (delete 'wrap)))) + (format #t "test suite not run~%"))))))) ;; TODO: Install extras/django_bash_completion. (native-inputs (list tzdata-for-tests base-commit: d44beb9b4ad836781928a0c5667e94c0d6df13f0 -- 2.45.2
bug-guix@HIDDEN
:bug#73700
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Oct 2024 08:45:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 08 04:45:49 2024 Received: from localhost ([127.0.0.1]:50869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sy5qm-0008WC-Sn for submit <at> debbugs.gnu.org; Tue, 08 Oct 2024 04:45:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:41766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gabriel@HIDDEN>) id 1sy5ql-0008W3-7d for submit <at> debbugs.gnu.org; Tue, 08 Oct 2024 04:45:47 -0400 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 <gabriel@HIDDEN>) id 1sy5qa-0008HH-0y for bug-guix@HIDDEN; Tue, 08 Oct 2024 04:45:38 -0400 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <gabriel@HIDDEN>) id 1sy5qW-0002xU-VZ for bug-guix@HIDDEN; Tue, 08 Oct 2024 04:45:34 -0400 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id AAE7F20321 for <bug-guix@HIDDEN>; Tue, 8 Oct 2024 10:45:27 +0200 (CEST) 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 JmYf9kafIAwy for <bug-guix@HIDDEN>; Tue, 8 Oct 2024 10:45:26 +0200 (CEST) Received: from blackbox (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 for <bug-guix@HIDDEN>; Tue, 8 Oct 2024 10:45:26 +0200 (CEST) Date: Tue, 8 Oct 2024 10:45:23 +0200 From: Gabriel Wicki <gabriel@HIDDEN> To: bug-guix@HIDDEN Subject: python-django executable unable to find 'django' module Message-ID: <cj65yiuwzqkh656gta2krqqith5t7inqvdmmnjtabxk4jbcp37@rzf35zdsowgz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: permerror client-ip=129.132.148.196; envelope-from=gabriel@HIDDEN; helo=cotopaxi.ee.ethz.ch 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Running guix shell python-django -- django-admin throws a "ModuleNotFoundError: No module named 'django'".
Gabriel Wicki <gabriel@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#73700
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.