Skip to content

Commit 2f3fac3

Browse files
committed
PEP 668 fix
1 parent 0bcd818 commit 2f3fac3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cloudbuild.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ steps:
3434
apt-get install -y nodejs
3535
3636
# Generate chapters, run tests (installs Python/Node deps, starts server)
37-
./tools/scripts/run_and_test_website.sh
37+
# PIP_BREAK_SYSTEM_PACKAGES=1 is required on Ubuntu 24.04 (PEP 668) since
38+
# we're intentionally installing into the system Python in a throwaway container.
39+
PIP_BREAK_SYSTEM_PACKAGES=1 ./tools/scripts/run_and_test_website.sh
3840
3941
# Enable Ubuntu universe repository (required for fonts and pdftk)
4042
apt-get install -y software-properties-common

0 commit comments

Comments
 (0)