Skip to content

install-system-deps: add python3 (fix bookworm publish jobs)#243

Merged
gmarzot merged 1 commit into
mainfrom
hotfix/proxygen-python3-dep
May 30, 2026
Merged

install-system-deps: add python3 (fix bookworm publish jobs)#243
gmarzot merged 1 commit into
mainfrom
hotfix/proxygen-python3-dep

Conversation

@gmarzot
Copy link
Copy Markdown
Collaborator

@gmarzot gmarzot commented May 30, 2026

Problem

The publish (bookworm-amd64) and publish (bookworm-arm64) jobs fail at the Configure step:

```
CMake Error at /cache/_deps/proxygen-src/CMakeLists.txt:66 (message):
python is required for the proxygen build
```

proxygen's configure runs find_program(PROXYGEN_PYTHON python3) and fatal-errors when no python3 is on PATH. Until recently, python3 arrived transitively via libboost-all-dev. Narrowing the install to the specific Boost components the build actually links (#233) dropped that transitive dependency.

The bookworm publish targets build inside a minimal debian:bookworm container whose base deps don't include python3, so Configure dies before the build starts. The hosted ubuntu-22.04 runners ship python3 preinstalled, which is why they kept passing and masked the gap.

Fix

Add python3 explicitly to the Ubuntu/Debian and Fedora installs in standalone/install-system-deps.sh. It's a build-time tool requirement (alongside gperf, already present), not a runtime link dependency.


This change is Reviewable

proxygen's CMake configure runs find_program(PROXYGEN_PYTHON python3)
and fatal-errors if absent ("python is required for the proxygen
build"). python3 was previously satisfied transitively by
libboost-all-dev; narrowing to specific Boost components dropped it,
breaking Configure on the minimal debian:bookworm publish containers
(amd64 + arm64). Hosted ubuntu-22.04 runners ship python3, so they
were unaffected and masked the gap.

Add python3 explicitly to both the Ubuntu/Debian and Fedora installs.
@gmarzot gmarzot merged commit fe7dd39 into main May 30, 2026
6 checks passed
@gmarzot gmarzot deleted the hotfix/proxygen-python3-dep branch May 30, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants