unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: "Ludovic Courtès" <ludo@gnu.org>, Rutherther <rutherther@protonmail.com>
Cc: 73304@debbugs.gnu.org, Josselin Poiret <dev@jpoiret.xyz>,
	Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: bug#73304: Python in relocatable guix pack leads to wrong sys.path
Date: Wed, 02 Oct 2024 13:59:56 +0200	[thread overview]
Message-ID: <m1jzeq4sw3.fsf@fastmail.net> (raw)
In-Reply-To: <m15xqbqb3w.fsf@fastmail.net>

Konrad Hinsen <konrad.hinsen@fastmail.net> writes:

> This problem clearly looks like it's caused by our sitecustomize.py.
> One indicator is "When I add both python and a python package": if there
> is no additional package, only python by itself, our sitecustomize
> doesn't do anything.

I have changed my mind. In the sys.path outputs shown, there are no
paths from add-on packages. It's just the Python standard library.
Maybe our sitecustomize.py is not run at all, but if it is, it didn't do
anything to sys.path. There must be a bug somewhere else.

Cheers,
  Konrad.




  reply	other threads:[~2024-10-02 12:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-16 19:23 bug#73304: Python in relocatable guix pack leads to wrong sys.path Rutherther via Bug reports for GNU Guix
2024-09-16 19:28 ` Rutherther via Bug reports for GNU Guix
2024-09-30 21:08 ` Ludovic Courtès
2024-10-01 19:39   ` Rutherther via Bug reports for GNU Guix
2024-10-02  6:20   ` Konrad Hinsen
2024-10-02 11:59     ` Konrad Hinsen [this message]
2024-10-06  8:29       ` Konrad Hinsen
2024-10-14 11:11         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1jzeq4sw3.fsf@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=73304@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=ludo@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=rutherther@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).