[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix's python has pip's user dir in its loadpath
From: |
Maxim Cournoyer |
Subject: |
Re: Guix's python has pip's user dir in its loadpath |
Date: |
Fri, 07 Jul 2023 09:32:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
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
- Re: Guix's python has pip's user dir in its loadpath, Wojtek Kosior, 2023/07/01
- Re: Guix's python has pip's user dir in its loadpath, Maxim Cournoyer, 2023/07/01
- Re: Guix's python has pip's user dir in its loadpath, John Kehayias, 2023/07/05
- Re: Guix's python has pip's user dir in its loadpath, Maxim Cournoyer, 2023/07/06
- Re: Guix's python has pip's user dir in its loadpath, Wojtek Kosior, 2023/07/06
- Re: Guix's python has pip's user dir in its loadpath,
Maxim Cournoyer <=
- Re: Guix's python has pip's user dir in its loadpath, Wojtek Kosior, 2023/07/07
- Re: Guix's python has pip's user dir in its loadpath, Maxim Cournoyer, 2023/07/08
- Re: Guix's python has pip's user dir in its loadpath, Wojtek Kosior, 2023/07/11