Skip to content
Python PEPs 668 and 370 document external package management and user site-packages

Python PEPs 668 and 370 document external package management and user site-packages

First seen 24 Nov 2026, 03:48 UTC •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 24, 2026 at 03:49 UTC
  • •PEP 668 proposes marking Python installations as externally managed to prevent conflicts with OS package managers.
  • •PEP 668 is described as historical; the canonical spec is maintained on the PyPA specs page.
  • •PEP 370 proposes a per-user site-packages directory for local package installation without administrator access.
  • •Neither PEP describes a vulnerability, attack, or exploitation activity.

Two Python Enhancement Proposals were published on the peps.python.org site, dated 2026-11-23 and 2026-11-24. PEP 668 proposes a mechanism for marking a Python interpreter as using an external package manager, and recommends that distributions mark installations as externally managed and guide users toward virtual environments. PEP 668 is described on the page as a historical document, with the canonical spec now maintained on the PyPA specs page. PEP 370 proposes a per-user site-packages directory so users can install Python packages locally without administrator involvement. PEP 370 states it does not aim to replace virtual environment tools or implement isolated installations. Neither article describes a security vulnerability, attack, or exploitation. The articles are standards documents rather than news reporting, and no CVEs, threat actors, or affected systems are named in them. The security implications noted in PEP 668 concern package-manager conflicts and file ownership rather than an active threat.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-11-23
PEP 370 page published
The peps.python.org page for PEP 370 proposing a per-user site-packages directory is dated 2026-11-23.
www.python.org
2026-11-24
PEP 668 page published
The peps.python.org page for PEP 668 on marking interpreters as using an external package manager is dated 2026-11-24.
peps.python.org

More articles in this cluster (2)

Following this threat?

Track Debian in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Does PEP 668 affect my Python installation?
PEP 668 proposes that distributions mark interpreters as externally managed, which would block global pip installs on those systems. The articles do not state which distributions have adopted it.
Is there an active security threat here?
No. The articles describe package-management standards and do not report any vulnerability, exploitation, or attack.
Where is the current version of the external-management spec?
PEP 668 states that the up-to-date canonical spec, Externally Managed Environments, is maintained on the PyPA specs page.