X-Loop: help-debbugs@HIDDEN Subject: bug#73700: python-django executable unable to find 'django' module Resent-From: Gabriel Wicki <gabriel@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 08 Oct 2024 08:46:02 +0000 Resent-Message-ID: <handler.73700.B.172837714932754 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 73700 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73700 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.172837714932754 (code B ref -1); Tue, 08 Oct 2024 08:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2024 08:45:49 +0000 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> 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-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'".
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Gabriel Wicki <gabriel@HIDDEN> Subject: bug#73700: Acknowledgement (python-django executable unable to find 'django' module) Message-ID: <handler.73700.B.172837714932754.ack <at> debbugs.gnu.org> References: <cj65yiuwzqkh656gta2krqqith5t7inqvdmmnjtabxk4jbcp37@rzf35zdsowgz> X-Gnu-PR-Message: ack 73700 X-Gnu-PR-Package: guix Reply-To: 73700 <at> debbugs.gnu.org Date: Tue, 08 Oct 2024 08:46:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 73700 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 73700: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73700 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#73700: Acknowledgement (python-django executable unable to find 'django' module) Resent-From: Gabriel Wicki <gabriel@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 08 Oct 2024 10:47:03 +0000 Resent-Message-ID: <handler.73700.B73700.172838438024909 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 73700 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73700 <at> debbugs.gnu.org Received: via spool by 73700-submit <at> debbugs.gnu.org id=B73700.172838438024909 (code B ref 73700); Tue, 08 Oct 2024 10:47:03 +0000 Received: (at 73700) by debbugs.gnu.org; 8 Oct 2024 10:46:20 +0000 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> 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-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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.