[llvm] [GitHub][docker] Add python3 venv package to CI container (PR #161024)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 27 14:28:55 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Baranov Victor (vbvictor)
<details>
<summary>Changes</summary>
I'm trying to make `pr-clang-format.yml` job run natively on `ci-ubuntu-24.04` container.
As it appears, It already has `clang-format-21.1.0`, `python3.12` installed, but `python3.12` needs `venv` to work properly, and Ubuntu asks for this package to be installed in the system to create venv.
FYI I hacked test-run with `--break-system-dependencies` and clang-format job runs a lot faster https://github.com/llvm/llvm-project/actions/runs/18064896361/job/51406365488#logs (skipping 1min long `clang-format` installation). Just don't look at "Initialize containers" taking 6min, it usually takes 15-20sec
---
Full diff: https://github.com/llvm/llvm-project/pull/161024.diff
1 Files Affected:
- (modified) .github/workflows/containers/github-action-ci/Dockerfile (+1)
``````````diff
diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index 1d3f5f9c35d7f..dc0c9cabc7f01 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -62,6 +62,7 @@ RUN apt-get update && \
# Having a symlink from python to python3 enables code sharing between
# the Linux and Windows pipelines.
python3-pip \
+ python3-venv \
file \
tzdata \
python-is-python3 && \
``````````
</details>
https://github.com/llvm/llvm-project/pull/161024
More information about the llvm-commits
mailing list