Skip to content

Python: Set PIP_BREAK_SYSTEM_PACKAGES

Ahmon Dancy requested to merge bookwork-break-ab65 into main

During build.PhasePrivileged set PIP_BREAK_SYSTEM_PACKAGES=1 in the
environment. This is equivalent to always passing
--break-system-packages to pip install. This works around image
building problems on Debian Bookworm. Older versions of pip which
don't understand this environment variable simply ignore it.

Bug: T346090

Merge request reports