Hi Bill,

On 2/11/24 10:51, William Kenworthy wrote:

My questions (for gentoo) is this another gentoo only hack, or an upstream hard requirement and how can it be turned off.

BillK

This is PEP 668 in action.

https://peps.python.org/pep-0668/
https://packaging.python.org/en/latest/specifications/externally-managed-environments/#externally-managed-environments

While annoying the intent here is to stop users from shooting
themselves in the foot by breaking critical system packages.

As you've identified, virtual environments are the "solution"
to this "problem".

https://packaging.python.org/en/latest/specifications/virtual-environments/#virtual-environments

If you wish to go back to the old behaviour you can install mask
the EXTERNALLY_MANAGED file.

Cheers,

Matt

Reply via email to