From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Wojtek Kosior <koszko@koszko.org>
Cc: "John Kehayias" <john.kehayias@protonmail.com>,
宋文武 <iyzsong@envs.net>,
edk@beaver-labs.com, guix-devel@gnu.org
Subject: Re: Guix's python has pip's user dir in its loadpath
Date: Fri, 07 Jul 2023 09:32:39 -0400 [thread overview]
Message-ID: <87bkgnzw20.fsf@gmail.com> (raw)
In-Reply-To: <20230706232835.343c6cfe.koszko@koszko.org> (Wojtek Kosior's message of "Thu, 6 Jul 2023 23:28:35 +0200")
Hi Wojtek,
Wojtek Kosior <koszko@koszko.org> writes:
>> > But we'll be rebuilding the Python world anyway, so now is a chance to
>> > try out some changes like that, though maybe it is a bit much with
>> > what we are trying already. See <https://issues.guix.gnu.org/63139>
>>
>> It's a simple change, I guess we could try it at the same time, if
>> someone volunteers to do it!
>
> I just saw this message and hurried myself up to test the patch to
> python-build-system that I made. Unfortunately, it turns out the
> "PYTHONNOUSERSITE=1" env var breaks pip which tries to install wheels to
> the system site directory and fails due to a read-only filesystem.
I'm not sure I follow; why would PYTHONNOUSERSITE affect pip? I thought
it should only appear in wrappers of Python executables, not be set in a
profile's environment (thus not affecting pip) ?
Could you share the diff of the patch you tried so far?
--
Thanks,
Maxim
next prev parent reply other threads:[~2023-07-07 13:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 6:42 Guix's python has pip's user dir in its loadpath edk
2023-06-29 10:22 ` 宋文武
2023-07-01 3:13 ` Maxim Cournoyer
2023-07-01 11:32 ` Wojtek Kosior via Development of GNU Guix and the GNU System distribution.
2023-07-01 15:57 ` Maxim Cournoyer
2023-07-05 20:29 ` John Kehayias
2023-07-06 15:35 ` Maxim Cournoyer
2023-07-06 21:28 ` Wojtek Kosior via Development of GNU Guix and the GNU System distribution.
2023-07-07 13:32 ` Maxim Cournoyer [this message]
2023-07-07 14:44 ` Wojtek Kosior via Development of GNU Guix and the GNU System distribution.
2023-07-08 5:08 ` Maxim Cournoyer
2023-07-11 18:21 ` Wojtek Kosior via Development of GNU Guix and the GNU System distribution.
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=87bkgnzw20.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=edk@beaver-labs.com \
--cc=guix-devel@gnu.org \
--cc=iyzsong@envs.net \
--cc=john.kehayias@protonmail.com \
--cc=koszko@koszko.org \
/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).