[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PEP 668 -- Graceful cooperation between external and Python package
From: |
Liliana Marie Prikler |
Subject: |
Re: PEP 668 -- Graceful cooperation between external and Python package managers |
Date: |
Sun, 12 Sep 2021 12:34:06 +0200 |
User-agent: |
Evolution 3.34.2 |
Hi,
Am Samstag, den 11.09.2021, 22:36 -0400 schrieb Maxim Cournoyer:
> IIUC, PEP 668 is about *warning* a pip user when installing a package
> would shadow a system one; it does so by reading a EXTERNALLY-MANAGED
> file in the Python library site-packages directory.
>
> So simply put, all we have to do to enable this future warning in pip
> is to install an EXTERNALLY-MANAGED file as a phase in our
> python-build-system.
Imho I don't think Guix needs to do anything to address PEP 668. PEP
668 concerns traditional distros, in which pip and the distro package
manager may both write to the same location (that location typically
being /usr/lib). IIUC it does not concern Nix or Guix, whose store
paths should already not be written to by pip.
Regards