Re: Prevent pip from breaking the system by adopting PEP 668

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 5/17/23 11:47, Martin Rys wrote:
Some time ago, PEP 668[1] enabled distributions to mark the python
installation as externally managed by a package manager, thus
preventing pip from breaking the system by either installing packages
to the system or locally in the home folder.

...

[1] https://peps.python.org/pep-0668/
...

A good rationale - question on packaging for things that fall outside the system repos.

have several packages where in the install section of PKGBUILD it does something like:

  pipopts="--isolated --ignore-installed --no-deps"
  pip $pipopts install --root=$pkgdir dist/*.whl

Will this continue to work or is there some change needed to accommodate this change?

I didn't see "--root" discussed in reference [1]

thanks

gene



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux